source: rtems/c/src/lib/libbsp/mips64orion/p4000/startup/Makefile.am @ 4e36a2f

4.104.114.84.95
Last change on this file since 4e36a2f was 4e36a2f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:27:02

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
12    setvec.c inittlb.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15S_FILES = idtmem.S idttlb.S
16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
17
18OBJS = $(C_O_FILES) $(S_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23#
24# (OPTIONAL) Add local stuff here using +=
25#
26
27$(PGM): $(OBJS)
28        $(make-rel)
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: $(ARCH) $(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.