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

4.104.114.84.95
Last change on this file since ed46b47 was 7e642ba, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 19:27:13

Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = .
9
10ACLOCAL = aclocal
11AUTOCONF = autoconf
12ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
13ACLOCAL_AMFLAGS = -I @RTEMS_TOPdir@/aclocal
14
15RTEMS_ROOT = @RTEMS_ROOT@
16PROJECT_ROOT = @PROJECT_ROOT@
17
18VPATH = @srcdir@
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(RTEMS_ROOT)/make/directory.cfg
22
23INSTALL_CHANGE = @INSTALL_CHANGE@
24mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
25
26INSTALLDIRS = $(PROJECT_ROOT)/@RTEMS_BSP@/lib
27
28$(INSTALLDIRS):
29        @$(mkinstalldirs) $(INSTALLDIRS)
30
31# shmdr is a portable shared memory MPCI layer
32# We only build it if HAS_MP was defined
33@HAS_MP_TRUE@MP_DRIVERS = shmdr
34
35SUBDIRS = $(MP_DRIVERS)
36
37# If we are building a "real" BSP, then we need to descend into the
38# appropriate CPU specific directory.  The bare BSP is a special
39# case which can be built for any CPU and it resides at the same
40# level as the CPUs.  If we are building the bare BSP, then descend
41# into that directory.
42
43SUBDIRS += @RTEMS_LIBBSP_CPU_SUBDIR@
44
45preinstall:
46        @$(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/lib
47        @if test "@RTEMS_BSP@" = "bare"; then \
48          $(INSTALL_CHANGE) -m 644 \
49            $(srcdir)/bare/bsp_specs \
50            $(PROJECT_ROOT)/@RTEMS_BSP@/lib; \
51        else \
52          $(INSTALL_CHANGE) -m 644 \
53            $(srcdir)/$(RTEMS_CPU)/${RTEMS_BSP_FAMILY}/bsp_specs \
54            $(PROJECT_ROOT)/@RTEMS_BSP@/lib; \
55        fi
56
57# HACK: Don't let them fail here
58dist:
59distdir:
60
61Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
62        cd $(top_builddir) \
63         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
64
65$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
66        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
67
68config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
69        $(SHELL) ./config.status --recheck
70$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4)
71        cd $(srcdir) && $(AUTOCONF)
Note: See TracBrowser for help on using the repository browser.