source: rtems/c/src/lib/libbsp/mips/p4000/startup/Makefile.am @ 914981ce

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

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

  • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • liblnk/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.2 KB
RevLine 
[df49c60]1##
[4e36a2f]2## $Id$
[df49c60]3##
[4e36a2f]4
5
6VPATH = @srcdir@:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
11    setvec.c inittlb.c gnatinstallhandler.c
[914981ce]12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[4e36a2f]13
14S_FILES = idtmem.S idttlb.S
[914981ce]15S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
[4e36a2f]16
17OBJS = $(C_O_FILES) $(S_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[fdab2b6]20include $(top_srcdir)/../../../../../../automake/compile.am
[4e36a2f]21include $(top_srcdir)/../../../../../../automake/lib.am
22
23#
24# (OPTIONAL) Add local stuff here using +=
25#
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
[972e2ac]30bsplib_DATA = linkcmds ghlinkcmds
31
[4e36a2f]32$(PROJECT_RELEASE)/lib/ghlinkcmds: ghlinkcmds
33        $(INSTALL_DATA) $< $@
34
35$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
36        $(INSTALL_DATA) $< $@
37
38# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/ghlinkcmds \
40    $(PROJECT_RELEASE)/lib/linkcmds
41
42all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = bspclean.c bspstart.c ghlinkcmds idtmem.S idttlb.S inittlb.c \
47    linkcmds setvec.c
48
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.