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