source: rtems/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.am @ 0adfb213

Last change on this file since 0adfb213 was 0adfb213, checked in by Joel Sherrill <joel.sherrill@…>, on 05/31/00 at 15:01:48

Added -DUSE_INIT_FINI to all m68k and PowerPC BSPs.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11#
12# First and second generation use different Bridge chips :(
13#       Generation 1 --> 82378zb
14#       Generation 2 --> FPGA
15STARTUP_C_FILES = 82378zb.c FPGA.c
16
17C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
18    setvec.c Hwr_init.c spurious.c genpvec.c $(STARTUP_C_FILES) \
19    gnatinstallhandler.c
20C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
21
22OBJS = $(C_O_FILES)
23
24include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
25include $(top_srcdir)/../../../../../../automake/lib.am
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31# USE_INIT_FINI tells main.c what C++ help we need.
32AM_CPPFLAGS += -DUSE_INIT_FINI
33
34$(PGM): $(OBJS)
35        $(make-rel)
36
37$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
38        $(INSTALL_DATA) $< $@
39
40TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
41
42all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = 82378zb.c FPGA.c Hwr_init.c bspclean.c bspstart.c genpvec.c \
47    linkcmds setvec.c spurious.c vmeintr.c
48
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.