source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in @ 49da88c

4.104.114.84.95
Last change on this file since 49da88c was 49da88c, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 23, 1999 at 3:53:09 PM

Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@…>:

  • the PACKHEX etc problem
  • prevents the *.rels being removed inside the build-tree
  • a typo which only shows for when MP is activated
  • Alters some custom/*cfg files
  • Property mode set to 100644
File size: 1.5 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 =
23CPU_PIECES = clock
24
25# bummer; have to use $foreach since % pattern subst rules only replace 1x
26OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) $(foreach \
27    piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/*.o) $(foreach
28    piece, $(CPU_PIECES), ../../../../libcpu/powerpc/mpc750/$(piece)/$(ARCH)/*.o)
29LIB = $(ARCH)/libbsp.a
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/lib.cfg
33
34INSTALL_CHANGE = @INSTALL_CHANGE@
35
36#
37# (OPTIONAL) Add local stuff here using +=
38#
39
40DEFINES +=
41CPPFLAGS +=
42CFLAGS +=
43
44LD_PATHS +=
45LD_LIBS +=
46LDFLAGS +=
47
48#
49# Add your list of files to delete here.  The config files
50#  already know how to delete some stuff, so you may want
51#  to just run 'make clean' first to see what gets missed.
52#  'make clobber' already includes 'make clean'
53#
54
55CLEAN_ADDITIONS +=
56CLOBBER_ADDITIONS +=
57
58$(LIB): ${OBJS}
59        $(make-library)
60
61all: ${ARCH} $(SRCS) $(LIB)
62        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
63
64Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
65        cd $(top_builddir) \
66         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.