mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
#
|
|
# top level directory for RTEMS build tree
|
|
#
|
|
##
|
|
## $Id$
|
|
##
|
|
|
|
ACLOCAL_AMFLAGS = -I aclocal
|
|
|
|
SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
|
|
noinst_SCRIPTS = bootstrap
|
|
|
|
EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS)
|
|
EXTRA_DIST += config-ml.in
|
|
EXTRA_DIST += ampolish3
|
|
|
|
dist-hook:
|
|
@files=`(cd $(srcdir); find doc cpukit c 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 -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
|