source: rtems/c/src/lib/libbsp/i386/i386ex/wrapup/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.4 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16BSP_PIECES = startup clock console timer $(NETWORK)
17GENERIC_PIECES =
18
19# We only build the Network library if HAS_NETWORKING was defined
20NETWORK_yes_V = network
21NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
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@
34
35#
36# (OPTIONAL) Add local stuff here using +=
37#
38
39DEFINES +=
40CPPFLAGS +=
41CFLAGS +=
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$(LIB): ${OBJS}
58        $(make-library)
59
60all: ${ARCH} $(SRCS) $(LIB)
61        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
62
63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
64        cd $(top_builddir) \
65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.