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

4.104.114.84.95
Last change on this file since fcee56c0 was 196094eb, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14

Patch from Ralf Corsepius <corsepiu@…>:

This one is an enhancement to acpolish.

It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.

To apply:

cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen

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