source: rtems/c/src/lib/libbsp/a29k/portsw/startup/Makefile.am @ c0d13d0

4.104.114.84.95
Last change on this file since c0d13d0 was c0d13d0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 06:21:44

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

  • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../../shared
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
10    setvec.c gnatinstallhandler.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13OBJS = $(C_O_FILES)
14
15include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16include $(top_srcdir)/../../../../../../automake/compile.am
17include $(top_srcdir)/../../../../../../automake/lib.am
18
19#
20# (OPTIONAL) Add local stuff here using +=
21#
22
23$(PGM): $(OBJS)
24        $(make-rel)
25
26bsplib_DATA = linkcmds ramlink romlink
27
28$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
29        $(INSTALL_DATA) $< $@
30
31$(PROJECT_RELEASE)/lib/ramlink: ramlink
32        $(INSTALL_DATA) $< $@
33
34$(PROJECT_RELEASE)/lib/romlink: romlink
35        $(INSTALL_DATA) $< $@
36
37# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
38TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/ramlink
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
40TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/romlink
41
42all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = bspclean.c bspstart.c main.c ramlink romlink setvec.c
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.