source: rtems/Makefile.am @ 789694a1

4.104.114.84.95
Last change on this file since 789694a1 was 9078e097, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/17/04 at 13:50:24

2004-02-17 Ralf Corsepius <corsepiu@…>

  • Makefile.am: DIST_SUBDIRS = $(SUBDIRS). Rework dist-hook.
  • configure.ac: Reflect changes to RTEMS_ENABLE_RTEMSBSP.
  • aclocal/enable-rtemsbsp.m4: Add support for --disable-rtemsbsp.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1#
2# top level directory for RTEMS build tree
3#
4##
5## $Id$
6##
7
8ACLOCAL_AMFLAGS = -I aclocal
9
10SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
11DIST_SUBDIRS = $(SUBDIRS)
12
13ACLOCAL_FILES =
14ACLOCAL_FILES += aclocal/bsp-alias.m4
15ACLOCAL_FILES += aclocal/canonical-target-name.m4
16ACLOCAL_FILES += aclocal/check-bsps.m4
17ACLOCAL_FILES += aclocal/check-custom-bsp.m4
18ACLOCAL_FILES += aclocal/enable-bare.m4
19ACLOCAL_FILES += aclocal/path-ksh.m4
20ACLOCAL_FILES += aclocal/project-root.m4
21ACLOCAL_FILES += aclocal/quoting.m4
22ACLOCAL_FILES += aclocal/rtems-cpu-subdirs.m4
23ACLOCAL_FILES += aclocal/tool-paths.m4
24
25noinst_SCRIPTS = bootstrap
26
27EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS)
28EXTRA_DIST += $(ACLOCAL_FILES)
29EXTRA_DIST += config-ml.in
30
31
32dist-hook:
33        @files=`(cd $(srcdir); find doc cpukit c scripts testsuites tools \
34           -name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
35        for i in $$files; do \
36          if test -f $(distdir)/$$i/configure.ac; then : ; \
37          else \
38            d=`dirname $(distdir)/$$i`; \
39            $(mkdir_p) $$d;\
40            echo "cp -pR $(srcdir)/$$i $(distdir)/$$i"; \
41            cp -pR $(srcdir)/$$i $(distdir)/$$i; \
42          fi; \
43        done
44        rm -f $(distdir)/scripts/setup.cache
45        rm -f $(distdir)/scripts/*/*.spec
46        rm -rf `find $(distdir) -name 'autom4te*'`
47        rm -rf `find $(distdir) -name CVS`
48        rm -f `find $(distdir) \( -name .cvsignore \
49          -o -name config.status \
50          -o -name config.log \)`
51        rm -f `find $(distdir) \( -name '*.bak' \
52          -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \
53          -o -name '*~' -o -name '.*~' -o -name '.#*' \)`
54        find $(distdir) -name '*.in' -print | while read a; do \
55          f=`echo $$a | sed 's,\.in$$,,'`; \
56          if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
57
58include $(top_srcdir)/automake/subdirs.am
59include $(top_srcdir)/automake/host.am
Note: See TracBrowser for help on using the repository browser.