source: rtems-schedsim/Makefile.am @ 23f57af

Last change on this file since 23f57af was abb18dc, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 25, 2011 at 3:53:10 PM

Initial import.

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