source: rtems/c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.in @ 08b5f55

4.104.114.84.95
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 20:31:49

Patch from Ralf Corsepius <corsepiu@…>:

A bug in acpolish made it into rtems-rc-19990709-0.diff, which
unfortunately affects all Makefile.ins:

  • The maintainer mode conditional was erroniously applied to the dependencies of "Makefile".

In case you already checked in rtems-rc-19990709-0.diff to CVS you have
to check in all Makefile.ins again after applying the patch below :).

Please apply the patch below as follows:

patch -p1 < rtems-rc-19990709-1.diff
tools/update/rtems-polish.sh -ac

Note: There is no need to rerun your tests if you have used
--enable-maintainer-mode to configure RTEMS, because this patch converts
all Makefile.ins to the same settings as used for
--enable-maintainer-mode.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4#  build and install libbsp
5#
6
7@SET_MAKE@
8srcdir = @srcdir@
9top_srcdir = @top_srcdir@
10top_builddir = ../../../..
11subdir = libbsp/sh/gensh1/wrapup
12
13RTEMS_ROOT = @RTEMS_ROOT@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18BSP_PIECES = startup scitab
19GENERIC_PIECES =
20
21# pieces to pick up out of libcpu/sh
22CPU_PIECES = sh7032/null sh7032/clock sh7032/console sh7032/timer
23
24# bummer; have to use $foreach since % pattern subst rules only replace 1x
25OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
26    $(foreach piece, $(CPU_PIECES), \
27    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(notdir $(piece)).rel) \
28    $(foreach piece, $(GENERIC_PIECES), \
29    ../../../../$(piece)/$(ARCH)/$(piece).rel)
30
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.