source: rtems/c/src/lib/libbsp/powerpc/ppcn_60x/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.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspstart.c bspclean.c sbrk.c setvec.c spurious.c genpvec.c swap.c \
12    main.c bootcard.c bsplibc.c bsppost.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15S_FILES = bsptrap.S
16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
17
18OBJS = $(C_O_FILES) $(S_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23#FIXME: What is this?
24# Files expected to be from the shared directory:
25#  sbrk bootcard main bsplibc bsppost
26STARTUP_C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main \
27    bootcard bsplibc bsppost
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33$(PGM): $(OBJS)
34        $(make-rel)
35
36$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
37        $(INSTALL_DATA) $< $@
38
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
40
41all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
42
43.PRECIOUS: $(PGM)
44
45EXTRA_DIST = bspclean.c bspstart.c bsptrap.S genpvec.c linkcmds \
46    rtems-ctor.cc setvec.c spurious.c swap.c
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.