source: rtems/c/src/lib/libbsp/mips64orion/p4000/startup/Makefile.am @ 8638af24

4.104.114.84.95
Last change on this file since 8638af24 was 8638af24, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/03/03 at 13:43:54

2003-12-03 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add preinstallation dirstamp support.
  • console/Makefile.am: Cosmetics.
  • liblnk/Makefile.am: Cosmetics.
  • startup/Makefile.am: Cosmetics.
  • wrapup/Makefile.am: Cosmetics.
  • 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 inittlb.c gnatinstallhandler.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13S_FILES = idtmem.S idttlb.S
14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
15
16OBJS = $(C_O_FILES) $(S_O_FILES)
17
18include $(top_srcdir)/../../../../automake/compile.am
19include $(top_srcdir)/../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(PGM): $(OBJS)
26        $(make-rel)
27
28bsplib_DATA = linkcmds ghlinkcmds
29
30$(PROJECT_RELEASE)/lib/ghlinkcmds: ghlinkcmds
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
34        $(INSTALL_DATA) $< $@
35
36# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/ghlinkcmds \
38    $(PROJECT_RELEASE)/lib/linkcmds
39
40all-local: $(OBJS) $(PGM) $(TMPINSTALL_FILES)
41
42.PRECIOUS: $(PGM)
43
44EXTRA_DIST = bspclean.c bspstart.c ghlinkcmds idtmem.S idttlb.S inittlb.c \
45    linkcmds setvec.c
46
47include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.