source: rtems/c/src/lib/libbsp/sparc/erc32/startup/Makefile.am @ e13b2ec0

4.104.114.84.95
Last change on this file since e13b2ec0 was e13b2ec0, checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/02 at 22:04:48

2002-07-01 Joel Sherrill <joel@…>

  • startup/erc32mec.c: New file.
  • startup/Makefile.am: Reflect above.
  • include/erc32.h: Converted SCORE_EXTERN to extern.
  • tools/runtest.in: Lengthened timeout on test runs.
  • Property mode set to 100644
File size: 993 bytes
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c main.c bootcard.c sbrk.c \
11    setvec.c spurious.c erc32mec.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
14S_FILES = boardinit.S
15S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
16
17OBJS = $(C_O_FILES) $(S_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/compile.am
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23#
24# (OPTIONAL) Add local stuff here using +=
25#
26
27# USE_INIT_FINI tells main.c what C++ help we need.
28AM_CPPFLAGS += -DUSE_INIT_FINI
29
30$(PGM): $(OBJS)
31        $(make-rel)
32
33$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
34        $(INSTALL_DATA) $< $@
35
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
37
38all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
39
40.PRECIOUS: $(PGM)
41
42EXTRA_DIST = linkcmds setvec.c spurious.c boardinit.S
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.