source: rtems/c/src/lib/libbsp/powerpc/eth_comm/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.8 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/eth_comm/wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16# We only build the networking device driver if HAS_NETWORKING was defined
17NETWORKING_DRIVER_yes_V = network
18NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V)
19
20BSP_PIECES = startup start canbus console $(NETWORKING_DRIVER)
21# pieces to pick up out of libcpu/ppc
22# CPU_PIECES = mpc860/clock mpc860/timer mpc860/console-generic mpc860/vectors
23CPU_PIECES =
24GENERIC_PIECES =
25
26# bummer; have to use $foreach since % pattern subst rules only replace 1x
27OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
28    $(foreach piece, $(CPU_PIECES), \
29    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(notdir $(piece)).rel) \
30    $(foreach piece, $(GENERIC_PIECES), \
31    ../../../$(piece)/$(ARCH)/$(piece).rel)
32LIB = $(ARCH)/libbsp.a
33
34include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
35include $(RTEMS_ROOT)/make/lib.cfg
36
37INSTALL = @INSTALL@
38INSTALL_CHANGE = @INSTALL_CHANGE@
39
40#
41# (OPTIONAL) Add local stuff here using +=
42#
43
44DEFINES +=
45CPPFLAGS +=
46CFLAGS +=
47
48LD_PATHS +=
49LD_LIBS +=
50LDFLAGS +=
51
52#
53# Add your list of files to delete here.  The config files
54#  already know how to delete some stuff, so you may want
55#  to just run 'make clean' first to see what gets missed.
56#  'make clobber' already includes 'make clean'
57#
58
59CLEAN_ADDITIONS +=
60CLOBBER_ADDITIONS +=
61
62$(LIB): ${OBJS}
63        $(make-library)
64
65all: ${ARCH} $(SRCS) $(LIB)
66        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
67
68install: all
69
70$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
71        $(INSTALL_DATA) $< $@
72
73Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
74        cd $(top_builddir) \
75         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.