source: rtems/c/src/lib/libbsp/i386/i386ex/startup/Makefile.in @ e2a2ec60

4.104.114.84.95
Last change on this file since e2a2ec60 was e2a2ec60, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 21, 1998 at 3:37:18 PM

Switch to using a shared main() for all of the embedded BSPs
based on the GNU tools. This usually involved correcting the
type of bsp_start(), bsp_cleanup(), adjusting the start code to
call the right start routine (the shared boot_card()), and then
removing code from bsp_start() which was performed in the new
boot_card()/main() path.

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