source: rtems/c/src/lib/libbsp/m68k/gen68360/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: 1.3 KB
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 = alloc360.c bspclean.c bsplibc.c bsppost.c m68kpretaskinghook.c \
12    bspstart.c init68360.c bootcard.c main.c sbrk.c setvec.c \
13    gnatinstallhandler.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25# USE_INIT_FINI tells main.c what C++ help we need.
26AM_CPPFLAGS += -DUSE_INIT_FINI
27
28$(PGM): $(OBJS)
29        $(make-rel)
30
31$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
32        $(INSTALL_DATA) $< $@
33
34$(PROJECT_RELEASE)/lib/linkcmds.prom: linkcmds.prom
35        $(INSTALL_DATA) $< $@
36
37$(PROJECT_RELEASE)/lib/linkcmds.bootp: linkcmds.bootp
38        $(INSTALL_DATA) $< $@
39
40# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
41TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
42    $(PROJECT_RELEASE)/lib/linkcmds.prom \
43    $(PROJECT_RELEASE)/lib/linkcmds.bootp
44
45all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
46
47.PRECIOUS: $(PGM)
48
49EXTRA_DIST = alloc360.c bspclean.c bspstart.c init68360.c linkcmds \
50    linkcmds.bootp linkcmds.prom
51
52include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.