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

4.104.114.84.95
Last change on this file since 9a4a887 was 9a4a887, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2002 at 5:42:52 AM

2002-08-11 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • erc32sonic/Makefile.am: Use .$(OBJEXT) instead of .o.
    • gnatsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • timer/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.0 KB
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)/%.$(OBJEXT))
13
14S_FILES = boardinit.S
15S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
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
33bsplib_DATA = linkcmds
34
35$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
36        $(INSTALL_DATA) $< $@
37
38TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
39
40all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
41
42.PRECIOUS: $(PGM)
43
44EXTRA_DIST = linkcmds setvec.c spurious.c boardinit.S
45
46include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.