source: rtems/c/Makefile.am @ d6c83529

4.104.114.84.9
Last change on this file since d6c83529 was d6c83529, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 16, 1999 at 3:48:11 PM

Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@…> which does the following:

This is the configuration cleanup patch:

Main changes:

  • TARGET_ARCH removed
  • target.cfg.in moved to c/make/target.cfg.in (Only configured once for all BSPs of a target)
  • BARE_XXX variables appended to bsp.cfg.in
  • autogen renamed to bootstrap
  • removed stray variables from make/custom/*.cfg

To apply:

cd <source-tree>
rm c/src/make/target.cfg.in
cp autogen bootstrap
mkdir c/make
cp make/target.cfg.in c/make/target.cfg.in
rm make/target.cfg.in
rm autogen
patch -p1 < rtems-rc-19991105-1.diff

  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP
8## Esp. make clean and make distclean have unwanted side-effects
9## if RTEMS_BSP is not properly set up.
10
11RTEMS_BSP = $(RTEMS_BSP_LIST)
12## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be
13## triggered before $(RTEMS_BSP_LIST) subdirectories are made.
14SUBDIRS= \
15make \
16. \
17$(RTEMS_BSP)
18
19## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
20## this rule for invalid BSPs
21@RTEMS_BSP_LIST@: src/configure
22        @set fnord $(MAKEFLAGS); amf=$$2; \
23        test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
24          echo "Configuring RTEMS_BSP=$$i"; \
25          test -d $$i || mkdir $$i; \
26          ( cd $$i && \
27            RTEMS_BSP=$$i $(rtems_bsp_configure) \
28            && $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
29          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
30        done
31
32## Let all RTEMS' make targets depend on ${RTEMS_BSP}
33all-am: ${RTEMS_BSP}
34debug-am: ${RTEMS_BSP}
35profile-am: ${RTEMS_BSP}
36preinstall-am: ${RTEMS_BSP}
37depend-am: ${RTEMS_BSP}
38
39## Pull in extra files intro the distribution
40EXTRA_DIST = \
41ACKNOWLEDGEMENTS \
42README.DOS \
43REQUIRES \
44PROBLEMS \
45TESTED \
46README \
47UPDATE_HELP
48
49DIST_SUBDIRS = ${RTEMS_BSP}
50## -------------------------------------------------------
51include $(top_srcdir)/../automake/subdirs.am
52include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.