source: rtems/c/src/lib/libbsp/m68k/gen68360/startup/Makefile.am @ f52111f

4.104.114.84.95
Last change on this file since f52111f was 695ccb21, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:48:26

2000-09-04 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am, console/Makefile.am, network/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Include compile.am
  • 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/compile.am
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26# USE_INIT_FINI tells main.c what C++ help we need.
27AM_CPPFLAGS += -DUSE_INIT_FINI
28
29$(PGM): $(OBJS)
30        $(make-rel)
31
32$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
33        $(INSTALL_DATA) $< $@
34
35$(PROJECT_RELEASE)/lib/linkcmds.prom: linkcmds.prom
36        $(INSTALL_DATA) $< $@
37
38$(PROJECT_RELEASE)/lib/linkcmds.bootp: linkcmds.bootp
39        $(INSTALL_DATA) $< $@
40
41# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
42TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
43    $(PROJECT_RELEASE)/lib/linkcmds.prom \
44    $(PROJECT_RELEASE)/lib/linkcmds.bootp
45
46all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
47
48.PRECIOUS: $(PGM)
49
50EXTRA_DIST = alloc360.c bspclean.c bspstart.c init68360.c linkcmds \
51    linkcmds.bootp linkcmds.prom
52
53include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.