source: rtems/c/src/lib/libbsp/powerpc/psim/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: 906 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
12    setvec.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/lib.am
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24$(PGM): $(OBJS)
25        $(make-rel)
26
27$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
28        $(INSTALL_DATA) $< $@
29
30$(PROJECT_RELEASE)/lib/device-tree: device-tree
31        $(INSTALL_DATA) $< $@
32
33TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
34    $(PROJECT_RELEASE)/lib/device-tree
35
36all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
37
38.PRECIOUS: $(PGM)
39
40EXTRA_DIST = bspclean.c bspstart.c device-tree linkcmds setvec.c
41
42include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.