source: rtems/c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.in @ e1d8abb

4.104.114.84.95
Last change on this file since e1d8abb was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 7, 1999 at 1:45:03 PM

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

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