[eb299afc] | 1 | # |
---|
| 2 | # top level directory for RTEMS build tree |
---|
| 3 | # |
---|
[811804fe] | 4 | ## |
---|
| 5 | ## $Id$ |
---|
| 6 | ## |
---|
[eb299afc] | 7 | |
---|
[feead226] | 8 | ACLOCAL_AMFLAGS = -I aclocal |
---|
[eb299afc] | 9 | |
---|
[0b22af6] | 10 | SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS) |
---|
[9078e097] | 11 | DIST_SUBDIRS = $(SUBDIRS) |
---|
[eb299afc] | 12 | |
---|
[df49c60] | 13 | noinst_SCRIPTS = bootstrap |
---|
| 14 | |
---|
[88c3c5e] | 15 | EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS) |
---|
[2994a4a0] | 16 | EXTRA_DIST += config-ml.in |
---|
[ad4af0d] | 17 | EXTRA_DIST += ampolish3 |
---|
[2994a4a0] | 18 | |
---|
| 19 | dist-hook: |
---|
[ba4b65ee] | 20 | @files=`(cd $(srcdir); find doc cpukit c testsuites tools \ |
---|
[9078e097] | 21 | -name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \ |
---|
| 22 | for i in $$files; do \ |
---|
| 23 | if test -f $(distdir)/$$i/configure.ac; then : ; \ |
---|
| 24 | else \ |
---|
| 25 | d=`dirname $(distdir)/$$i`; \ |
---|
| 26 | $(mkdir_p) $$d;\ |
---|
| 27 | echo "cp -pR $(srcdir)/$$i $(distdir)/$$i"; \ |
---|
| 28 | cp -pR $(srcdir)/$$i $(distdir)/$$i; \ |
---|
| 29 | fi; \ |
---|
| 30 | done |
---|
[2994a4a0] | 31 | rm -rf `find $(distdir) -name 'autom4te*'` |
---|
| 32 | rm -rf `find $(distdir) -name CVS` |
---|
| 33 | rm -f `find $(distdir) \( -name .cvsignore \ |
---|
| 34 | -o -name config.status \ |
---|
| 35 | -o -name config.log \)` |
---|
| 36 | rm -f `find $(distdir) \( -name '*.bak' \ |
---|
| 37 | -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \ |
---|
| 38 | -o -name '*~' -o -name '.*~' -o -name '.#*' \)` |
---|
| 39 | find $(distdir) -name '*.in' -print | while read a; do \ |
---|
| 40 | f=`echo $$a | sed 's,\.in$$,,'`; \ |
---|
| 41 | if test -f $$f; then echo "rm $$f"; rm $$f; fi; done |
---|
[eb299afc] | 42 | |
---|
| 43 | include $(top_srcdir)/automake/subdirs.am |
---|
[df49c60] | 44 | include $(top_srcdir)/automake/host.am |
---|