summaryrefslogblamecommitdiffstats
path: root/Makefile.am
blob: 50ced758de3c6090f5a1aa45efef0781bd61dc50 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                          


       
 
                            
 
                                                                 
                         
 
               
                                     

                                                 
                                            
                                       



                                             
                                      


                          
                                                                       
                              

                          
          










                                                                           












                                                                            
 
                                         
                                      
#
# top level directory for RTEMS build tree
#
##
## $Id$
##

ACLOCAL_AMFLAGS = -I aclocal

SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
DIST_SUBDIRS = $(SUBDIRS)

ACLOCAL_FILES =
ACLOCAL_FILES += aclocal/bsp-alias.m4
ACLOCAL_FILES += aclocal/canonical-target-name.m4
ACLOCAL_FILES += aclocal/check-bsps.m4
ACLOCAL_FILES += aclocal/check-custom-bsp.m4
ACLOCAL_FILES += aclocal/enable-bare.m4
ACLOCAL_FILES += aclocal/path-ksh.m4
ACLOCAL_FILES += aclocal/project-root.m4
ACLOCAL_FILES += aclocal/quoting.m4
ACLOCAL_FILES += aclocal/rtems-cpu-subdirs.m4
ACLOCAL_FILES += aclocal/tool-paths.m4

noinst_SCRIPTS = bootstrap

EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS)
EXTRA_DIST += $(ACLOCAL_FILES)
EXTRA_DIST += config-ml.in

dist-hook:
	@files=`(cd $(srcdir); find doc cpukit c scripts testsuites tools \
	   -name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
	for i in $$files; do \
	  if test -f $(distdir)/$$i/configure.ac; then : ; \
	  else \
	    d=`dirname $(distdir)/$$i`; \
	    $(mkdir_p) $$d;\
	    echo "cp -pR $(srcdir)/$$i $(distdir)/$$i"; \
	    cp -pR $(srcdir)/$$i $(distdir)/$$i; \
	  fi; \
	done
	rm -f $(distdir)/scripts/setup.cache
	rm -f $(distdir)/scripts/*/*.spec
	rm -rf `find $(distdir) -name 'autom4te*'`
	rm -rf `find $(distdir) -name CVS`
	rm -f `find $(distdir) \( -name .cvsignore \
	  -o -name config.status \
	  -o -name config.log \)`
	rm -f `find $(distdir) \( -name '*.bak' \
	  -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \
	  -o -name '*~' -o -name '.*~' -o -name '.#*' \)`
	find $(distdir) -name '*.in' -print | while read a; do \
	  f=`echo $$a | sed 's,\.in$$,,'`; \
	  if test -f $$f; then echo "rm $$f"; rm $$f; fi; done

include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/host.am