source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/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.3 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@:
7VPATH = @srcdir@:@srcdir@/../console:@srcdir@/../../../shared:
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11# C source names, if any, go here -- minus the .c
12C_PIECES=bootcard main bspstart bsppost bsplibc sbrk bspclean gnatinstallhandler
13C_FILES=$(C_PIECES:%=%.c)
14C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
15
16H_FILES=
17
18# Assembly source names, if any, go here -- minus the .s
19S_PIECES=consoleLib
20S_FILES=$(S_PIECES:%=%.S)
21S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
22
23SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
24OBJS=$(S_O_FILES) $(C_O_FILES) $(CC_O_FILES)
25
26include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
27include $(RTEMS_ROOT)/make/leaf.cfg
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33DEFINES  +=
34CPPFLAGS +=
35CFLAGS   +=
36
37LD_PATHS  +=
38LD_LIBS   +=
39LDFLAGS   +=
40
41#
42# Add your list of files to delete here.  The config files
43#  already know how to delete some stuff, so you may want
44#  to just run 'make clean' first to see what gets missed.
45#  'make clobber' already includes 'make clean'
46#
47
48CLEAN_ADDITIONS +=
49CLOBBER_ADDITIONS +=
50
51all:    ${ARCH} $(SRCS) $(OBJS)
52        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/lib
53        $(INSTALL_CHANGE) @srcdir@/linkcmds ${PROJECT_RELEASE}/lib
54
55${PROJECT_RELEASE}/lib/libbsp.a:
56        cd ../wrapup; $(MAKE)
Note: See TracBrowser for help on using the repository browser.