source: rtems/c/src/lib/libbsp/i960/rxgen960/startup/Makefile.in @ 7e642ba

4.104.114.84.95
Last change on this file since 7e642ba was 7e642ba, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 22, 1999 at 7:27:13 PM

Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = i960/rxgen960/startup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/../../../shared
15
16PGM = ${ARCH}/startup.rel
17
18# C source names, if any, go here -- minus the .c
19#C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
20#    gnatinstallhandler
21C_PIECES = bspstart cntrltbl exit fault flttbl frmstr intrtbl kkprintf nmi \
22    nulsystbl prcb rom_cntrltbl rom_ibr rom_prcb sctns setvec systbl
23C_FILES = $(C_PIECES:%=%.c)
24C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
25
26S_PIECES = asmfault asmstub ihandler rxgen_romld
27S_FILES = $(S_PIECES:%=%.S)
28S_O_FILES = $(S_PIECES:%=${ARCH}/%.o)
29
30H_FILES =
31
32SRCS = $(C_FILES) $(S_FILES) $(H_FILES)
33OBJS = $(C_O_FILES) $(S_O_FILES)
34
35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
36include $(RTEMS_ROOT)/make/leaf.cfg
37
38INSTALL_CHANGE = @INSTALL_CHANGE@
39mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
40
41INSTALLDIRS = $(PROJECT_RELEASE)/lib
42
43$(INSTALLDIRS):
44        @$(mkinstalldirs) $(INSTALLDIRS)
45
46#
47# (OPTIONAL) Add local stuff here using +=
48#
49
50DEFINES +=
51CPPFLAGS +=
52CFLAGS +=
53
54LD_PATHS +=
55LD_LIBS +=
56LDFLAGS +=
57
58#
59# Add your list of files to delete here.  The config files
60#  already know how to delete some stuff, so you may want
61#  to just run 'make clean' first to see what gets missed.
62#  'make clobber' already includes 'make clean'
63#
64
65CLEAN_ADDITIONS +=
66CLOBBER_ADDITIONS +=
67
68$(PGM): ${OBJS}
69        $(make-rel)
70
71# XXX JRS look at the list of objects installed
72all: ${ARCH} $(SRCS) $(PGM)
73        $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
74        $(INSTALL_CHANGE) -m 644 $(OBJS) $(PROJECT_RELEASE)/lib
75
76# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
77install: all
78
79Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
80        cd $(top_builddir) \
81         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.