source: rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in @ e1d8abb

4.104.114.84.95
Last change on this file since e1d8abb was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on 09/07/99 at 13:45:03

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

  • 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 = i386/pc386/wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16# We only build the Network library if HAS_NETWORKING was defined
17NETWORK_yes_V = dec21140 ne2000 wd8003 3c509
18NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
19
20BSP_PIECES = startup clock console timer $(NETWORK)
21GENERIC_PIECES =
22
23# bummer; have to use $foreach since % pattern subst rules only replace 1x
24OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
25    $(foreach piece, $(GENERIC_PIECES), \
26    ../../../$(piece)/$(ARCH)/$(piece).rel)
27LIB = $(ARCH)/libbsp.a
28
29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
30include $(RTEMS_ROOT)/make/lib.cfg
31
32INSTALL = @INSTALL@
33INSTALL_CHANGE = @INSTALL_CHANGE@
34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
35
36INSTALLDIRS = $(PROJECT_RELEASE)/BootImgs
37
38$(INSTALLDIRS):
39        @$(mkinstalldirs) $(INSTALLDIRS)
40
41#
42# (OPTIONAL) Add local stuff here using +=
43#
44
45DEFINES +=
46CPPFLAGS +=
47CFLAGS +=
48
49LD_PATHS +=
50LD_LIBS +=
51LDFLAGS +=
52
53#
54# Add your list of files to delete here.  The config files
55#  already know how to delete some stuff, so you may want
56#  to just run 'make clean' first to see what gets missed.
57#  'make clobber' already includes 'make clean'
58#
59
60CLEAN_ADDITIONS +=
61CLOBBER_ADDITIONS +=
62
63$(LIB): ${OBJS}
64        $(make-library)
65
66all: preinstall ${ARCH} $(SRCS) $(LIB)
67        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
68
69# HACK:
70# we create here a directory specific to the PC386 BSP to store the BootImage
71# files so they can be easily found
72preinstall: $(INSTALLDIRS)
73        $(mkinstalldirs) $(INSTALLDIRS)
74
75$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
76        $(INSTALL_DATA) $< $@
77
78Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
79        cd $(top_builddir) \
80         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.