source: rtems/c/src/lib/libbsp/powerpc/papyrus/wrapup/Makefile.in @ b84176b

4.104.114.84.95
Last change on this file since b84176b was b84176b, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 3, 2000 at 3:36:18 PM

Do not explicitly list pieces from libcpu used.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/papyrus/wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16BSP_PIECES = startup dlentry flashentry
17# pieces to pick up out of libcpu/ppc
18# CPU_PIECES = ppc403/clock ppc403/timer ppc403/console ppc403/vectors \
19#     ppc403/ictrl
20CPU_PIECES =
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, $(CPU_PIECES), \
26    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(notdir $(piece)).rel) \
27    $(foreach piece, $(GENERIC_PIECES), \
28    ../../../$(piece)/$(ARCH)/$(piece).rel)
29LIB = $(ARCH)/libbsp.a
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/lib.cfg
33
34INSTALL = @INSTALL@
35INSTALL_CHANGE = @INSTALL_CHANGE@
36
37#
38# (OPTIONAL) Add local stuff here using +=
39#
40
41DEFINES +=
42CPPFLAGS +=
43CFLAGS +=
44
45LD_PATHS +=
46LD_LIBS +=
47LDFLAGS +=
48
49#
50# Add your list of files to delete here.  The config files
51#  already know how to delete some stuff, so you may want
52#  to just run 'make clean' first to see what gets missed.
53#  'make clobber' already includes 'make clean'
54#
55
56CLEAN_ADDITIONS +=
57CLOBBER_ADDITIONS +=
58
59$(LIB): ${OBJS}
60        $(make-library)
61
62all: ${ARCH} $(SRCS) $(LIB)
63        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
64
65install: all
66
67$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
68        $(INSTALL_DATA) $< $@
69
70Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
71        cd $(top_builddir) \
72         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.