source: rtems/c/src/lib/libbsp/powerpc/ppcn_60x/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 11/22/99 at 19:27:13

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.8 KB
Line 
1#
2#  $Id:
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/ppcn_60x/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
19C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main bootcard \
20    bsplibc bsppost gnatinstallhandler
21C_FILES = $(C_PIECES:%=%.c)
22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
23
24H_FILES =
25
26# Assembly source names, if any, go here -- minus the .S
27S_PIECES = bsptrap
28S_FILES = $(S_PIECES:%=%.S)
29S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
30
31SRCS = linkcmds $(C_FILES) $(H_FILES) $(S_FILES)
32OBJS = $(C_O_FILES) $(S_O_FILES)
33
34include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
35include $(RTEMS_ROOT)/make/leaf.cfg
36
37INSTALL_CHANGE = @INSTALL_CHANGE@
38mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
39
40INSTALLDIRS = $(PROJECT_RELEASE)/lib
41
42$(INSTALLDIRS):
43        @$(mkinstalldirs) $(INSTALLDIRS)
44
45# Files expected to be from the shared directory:
46#  sbrk bootcard main bsplibc bsppost
47STARTUP_C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main \
48    bootcard bsplibc bsppost
49
50#
51# (OPTIONAL) Add local stuff here using +=
52#
53
54DEFINES +=
55CPPFLAGS +=
56CFLAGS +=
57
58LD_PATHS +=
59LD_LIBS +=
60LDFLAGS +=
61
62#
63# Add your list of files to delete here.  The config files
64#  already know how to delete some stuff, so you may want
65#  to just run 'make clean' first to see what gets missed.
66#  'make clobber' already includes 'make clean'
67#
68
69CLEAN_ADDITIONS +=
70CLOBBER_ADDITIONS +=
71
72$(PGM): ${OBJS}
73        $(make-rel)
74
75all: ${ARCH} $(SRCS) $(PGM)
76        $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
77
78Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
79        cd $(top_builddir) \
80         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.