source: rtems/c/src/lib/libbsp/i386/pc386/startup/Makefile.in @ 8e0dcade

4.104.114.84.95
Last change on this file since 8e0dcade was 8e0dcade, checked in by Joel Sherrill <joel.sherrill@…>, on 06/15/99 at 22:01:04

Patch from Rosimildo DaSilva? <rdasilva@…> to make C++
exceptions work on the pc386 BSP with i386-elf. This patch also
included changes to the i386-rtemself egcs configuration.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../../../..
9subdir = c/src/lib/libbsp/i386/pc386/startup
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
17
18PGM=${ARCH}/startup.rel
19
20# C source names, if any, go here -- minus the .c
21C_PIECES=bsplibc bsppost bspstart exit irq irq_init main sbrk i386-stub i386-stub-glue uart pcibios
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=ldsegs irq_asm
29S_FILES=$(S_PIECES:%=%.S)
30S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
31
32SRCS=$(srcdir)/linkcmds $(C_FILES) $(H_FILES) $(S_FILES)
33OBJS=$(C_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
42# USE_INIT_FINI tells main.c what C++ help we need.
43
44DEFINES  += -DUSE_INIT_FINI
45CPPFLAGS +=
46CFLAGS   +=
47
48LD_PATHS  +=
49LD_LIBS   +=
50LDFLAGS   +=
51
52#
53# Add your list of files to delete here.  The config files
54#  already know how to delete some stuff, so you may want
55#  to just run 'make clean' first to see what gets missed.
56#  'make clobber' already includes 'make clean'
57#
58
59CLEAN_ADDITIONS +=
60CLOBBER_ADDITIONS +=
61
62${PGM}: ${SRCS} ${OBJS}
63        $(make-rel)
64all:    ${ARCH} $(SRCS) $(PGM)
65        $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
66
67# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
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.