source: rtems/c/src/lib/libbsp/m68k/idp/startup/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 963 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c \
12    m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/lib.am
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24# USE_INIT_FINI tells main.c what C++ help we need.
25AM_CPPFLAGS += -DUSE_INIT_FINI
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
30$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
31        $(INSTALL_DATA) $< $@
32
33# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
34TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
35
36all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
37
38.PRECIOUS: $(PGM)
39
40EXTRA_DIST = bspstart.c linkcmds
41
42include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.