source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in @ 748cdca9

4.104.114.84.95
Last change on this file since 748cdca9 was 7e642ba, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 19:27:13

Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

  • 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 = powerpc/mcp750/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
18NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
19
20BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) \
21    vectors
22GENERIC_PIECES =
23
24# bummer; have to use $foreach since % pattern subst rules only replace 1x
25OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) $(foreach \
26    piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/*.o)
27LIB = $(ARCH)/libbsp.a
28
29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
30include $(RTEMS_ROOT)/make/lib.cfg
31
32INSTALL_CHANGE = @INSTALL_CHANGE@
33
34#
35# (OPTIONAL) Add local stuff here using +=
36#
37
38DEFINES +=
39CPPFLAGS +=
40CFLAGS +=
41
42LD_PATHS +=
43LD_LIBS +=
44LDFLAGS +=
45
46#
47# Add your list of files to delete here.  The config files
48#  already know how to delete some stuff, so you may want
49#  to just run 'make clean' first to see what gets missed.
50#  'make clobber' already includes 'make clean'
51#
52
53CLEAN_ADDITIONS +=
54CLOBBER_ADDITIONS +=
55
56$(LIB): ${OBJS}
57        $(make-library)
58
59all: ${ARCH} $(SRCS) $(LIB)
60        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
61
62Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
63        cd $(top_builddir) \
64         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.