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