source: rtems/c/src/lib/libbsp/powerpc/helas403/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 09/07/99 at 13:45:03

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.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/helas403/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
18CPU_PIECES = ppc403/clock ppc403/timer ppc403/console ppc403/vectors \
19    ppc403/ictrl
20GENERIC_PIECES =
21
22# bummer; have to use $foreach since % pattern subst rules only replace 1x
23OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
24    $(foreach piece, $(CPU_PIECES), \
25    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(notdir $(piece)).rel) \
26    $(foreach piece, $(GENERIC_PIECES), \
27    ../../../$(piece)/$(ARCH)/$(piece).rel)
28LIB = $(ARCH)/libbsp.a
29
30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
31include $(RTEMS_ROOT)/make/lib.cfg
32
33INSTALL = @INSTALL@
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
64install: all
65
66$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
67        $(INSTALL_DATA) $< $@
68
69Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
70        cd $(top_builddir) \
71         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.