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

Last change on this file since c580598 was 8b9aa32d, checked in by Joel Sherrill <joel.sherrill@…>, on 06/07/00 at 13:34:55

Added -DUSE_INIT_FINI so they should be able to run C++ tests.

  • Property mode set to 100644
File size: 1.0 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$(PGM): $(OBJS)
32        $(make-rel)
33
34$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
35        $(INSTALL_DATA) $< $@
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
38
39all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
40
41.PRECIOUS: $(PGM)
42
43EXTRA_DIST = 82378zb.c FPGA.c Hwr_init.c bspclean.c bspstart.c genpvec.c \
44    linkcmds setvec.c spurious.c vmeintr.c
45
46include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.