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

4.104.114.84.95
Last change on this file since 5fa14794 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
RevLine 
[7150f00f]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[d8ff793]7top_srcdir = @top_srcdir@
[5fa14794]8top_builddir = ..
9subdir = startup
[7150f00f]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]12PROJECT_ROOT = @PROJECT_ROOT@
13
[6693a68]14VPATH = \
15    @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
[d8ff793]16
[6693a68]17PGM = ${ARCH}/startup.rel
[7150f00f]18
19# C source names, if any, go here -- minus the .c
[6693a68]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)
[7150f00f]24
[6693a68]25H_FILES =
[7150f00f]26
[0162910]27# Assembly source names, if any, go here -- minus the .S
[6693a68]28S_PIECES = ldsegs irq_asm
29S_FILES = $(S_PIECES:%=%.S)
30S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
[7150f00f]31
[6693a68]32SRCS = $(srcdir)/linkcmds $(C_FILES) $(H_FILES) $(S_FILES)
33OBJS = $(C_O_FILES) $(S_O_FILES)
[7150f00f]34
[6693a68]35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[cb5bfe4]36include $(RTEMS_ROOT)/make/leaf.cfg
[7150f00f]37
[6693a68]38INSTALL_CHANGE = @INSTALL_CHANGE@
39mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
40
41INSTALLDIRS = $(PROJECT_RELEASE)/lib
42
43$(INSTALLDIRS):
44        @$(mkinstalldirs) $(INSTALLDIRS)
45
[7150f00f]46#
47# (OPTIONAL) Add local stuff here using +=
48#
49
[8e0dcade]50# USE_INIT_FINI tells main.c what C++ help we need.
51
[6693a68]52DEFINES += -DUSE_INIT_FINI
[7150f00f]53CPPFLAGS +=
[6693a68]54CFLAGS +=
[7150f00f]55
[6693a68]56LD_PATHS +=
57LD_LIBS +=
58LDFLAGS +=
[7150f00f]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
[7e642ba]70$(PGM): ${OBJS}
[7150f00f]71        $(make-rel)
[6693a68]72all: ${ARCH} $(SRCS) $(PGM)
[3a8915e]73        $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
[7150f00f]74
75# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
76
[08b5f55]77Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]78        cd $(top_builddir) \
79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.