source: rtems/c/Makefile.am @ 811804fe

4.104.114.84.9
Last change on this file since 811804fe was 811804fe, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 4, 1999 at 7:15:14 PM

Patch from Ralf Corsepius <corsepiu@…> to make fix bug
where wrapup left pieces out of the librtemsall.a.

  • 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= \
15. \
16$(RTEMS_BSP)
17
18## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
19## this rule for invalid BSPs
20@RTEMS_BSP_LIST@: src/configure
21        @set fnord $(MAKEFLAGS); amf=$$2; \
22        test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
23          echo "Configuring RTEMS_BSP=$$i"; \
24          test -d $$i || mkdir $$i; \
25          ( cd $$i && \
26            RTEMS_BSP=$$i $(rtems_bsp_configure) \
27            && $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
28          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
29        done
30
31## Let all RTEMS' make targets depend on ${RTEMS_BSP}
32all-am: ${RTEMS_BSP}
33debug-am: ${RTEMS_BSP}
34profile-am: ${RTEMS_BSP}
35preinstall-am: ${RTEMS_BSP}
36depend-am: ${RTEMS_BSP}
37
38## Pull in extra files intro the distribution
39EXTRA_DIST = \
40ACKNOWLEDGEMENTS \
41README.DOS \
42REQUIRES \
43PROBLEMS \
44TESTED \
45README \
46UPDATE_HELP
47
48DIST_SUBDIRS = ${RTEMS_BSP}
49## -------------------------------------------------------
50include $(top_srcdir)/../automake/subdirs.am
51include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.