source: rtems/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in @ c8d9183

4.104.114.84.95
Last change on this file since c8d9183 was c8d9183, checked in by Joel Sherrill <joel.sherrill@…>, on 07/02/99 at 18:57:11

Patch from Ralf Corsepius <corsepiu@…> that splits
boot_card() and main() into separate files to ease configuration
of other packages. This was a big step in the way to build TCL,
ncurses, and zlib for RTEMS.

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