source: rtems/c/src/lib/libbsp/Makefile.in @ 29e68b75

4.104.114.84.95
Last change on this file since 29e68b75 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.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = libbsp
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(RTEMS_ROOT)/make/directory.cfg
18
19INSTALL_CHANGE = @INSTALL_CHANGE@
20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
21
22INSTALLDIRS = $(PROJECT_ROOT)/@RTEMS_BSP@/lib
23
24$(INSTALLDIRS):
25        @$(mkinstalldirs) $(INSTALLDIRS)
26
27# shmdr is a portable shared memory MPCI layer
28# We only build it if HAS_MP was defined
29MP_DRIVERS_yes_V = shmdr
30MP_DRIVERS = $(MP_DRIVERS_$(HAS_MP)_V)
31
32SUB_DIRS = $(MP_DRIVERS)
33
34# If we are building a "real" BSP, then we need to descend into the
35# appropriate CPU specific directory.  The bare BSP is a special
36# case which can be built for any CPU and it resides at the same
37# level as the CPUs.  If we are building the bare BSP, then descend
38# into that directory.
39
40SUB_DIRS += @RTEMS_LIBBSP_CPU_SUBDIR@
41
42preinstall:
43        @$(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/lib
44        @if test "@RTEMS_BSP@" = "bare"; then \
45          $(INSTALL_CHANGE) -m 644 \
46            $(srcdir)/bare/bsp_specs \
47            $(PROJECT_ROOT)/@RTEMS_BSP@/lib; \
48        else \
49          $(INSTALL_CHANGE) -m 644 \
50            $(srcdir)/$(RTEMS_CPU)/${RTEMS_BSP_FAMILY}/bsp_specs \
51            $(PROJECT_ROOT)/@RTEMS_BSP@/lib; \
52        fi
53
54Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
55        cd $(top_builddir) \
56         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.