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

4.104.114.84.95
Last change on this file since bc2f04f was 5fa14794, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:31:16

Patch rtems-rc-20000104-11.diff from Ralf Corsepius <corsepiu@…>
that converts the i386 directory to automake.

NOTE: Ralf is unable to build any i386 BSPs. This was true before and
after this patch and appears (to Joel) to be a tool issue unrelated since
others can build i386 BSPs.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = startup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = \
15    @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
16
17PGM = ${ARCH}/startup.rel
18
19# C source names, if any, go here -- minus the .c
20C_PIECES = bsplibc bsppost bspstart exit irq irq_init bootcard main sbrk \
21    i386-stub i386-stub-glue uart pcibios 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 = 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
38INSTALL_CHANGE = @INSTALL_CHANGE@
39mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
40
41INSTALLDIRS = $(PROJECT_RELEASE)/lib
42
43$(INSTALLDIRS):
44        @$(mkinstalldirs) $(INSTALLDIRS)
45
46#
47# (OPTIONAL) Add local stuff here using +=
48#
49
50# USE_INIT_FINI tells main.c what C++ help we need.
51
52DEFINES += -DUSE_INIT_FINI
53CPPFLAGS +=
54CFLAGS +=
55
56LD_PATHS +=
57LD_LIBS +=
58LDFLAGS +=
59
60#
61# Add your list of files to delete here.  The config files
62#  already know how to delete some stuff, so you may want
63#  to just run 'make clean' first to see what gets missed.
64#  'make clobber' already includes 'make clean'
65#
66
67CLEAN_ADDITIONS +=
68CLOBBER_ADDITIONS +=
69
70$(PGM): ${OBJS}
71        $(make-rel)
72all: ${ARCH} $(SRCS) $(PGM)
73        $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
74
75# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
76
77Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
78        cd $(top_builddir) \
79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.