SUBDIRS = @subdirs@
-.NOEXPORT:
-MAKEOVERRIDES=
-
-
INCDIR = $(srcdir)/../include
CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
DEP = mkdep
else true; fi; \
done
+clean mostlyclean:
+ @rootme=`pwd` ; export rootme ; \
+ for dir in . ${SUBDIRS}; do \
+ if [ "$$dir" = "." ]; then \
+ true; \
+ elif [ -d $$dir ]; then \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+ else true; fi; \
+ done
+
distclean maintainer-clean realclean:
@rootme=`pwd` ; export rootme ; \
for dir in . ${SUBDIRS}; do \
###
###
+.NOEXPORT:
+MAKEOVERRIDES=
+
.PHONY: check installcheck
check:
installcheck:
# This is intended to be invoked in $srcdir as
# "make -f Makefile.in autoconf-common".
.PHONY: autoconf-common
-autoconf-common:
+autoconf-common autoheader-common:
for d in * ; \
do \
if [ -d $$d -a -f $$d/configure.in ] ; \
then \
echo "Running autoconf in $$d ..." ; \
(cd $$d && autoconf) ; \
+ if [ $* = autoheader-common ] ; \
+ then \
+ echo "Running autoheader in $$d ..." ; \
+ (cd $$d && autoheader) ; \
+ fi ; \
fi ; \
fi ; \
done
-autoconf-changelog:
+autoconf-changelog autoheader-changelog:
id="`id | sed -e 's/^[^(]*(\([^)]*\).*$$/\1/'`" ; \
name=`grep "^$$id:" /etc/passwd | cut -f 5 -d ':'` ; \
host="`hostname`" ; \
( echo "$$date $$name <$$id@$$host>" ; \
echo "" ; \
echo " * configure: Regenerated to track ../common/aclocal.m4 changes." ; \
+ if [ $* = autoheader-changelog ] ; \
+ then \
+ echo " * config.in: Ditto." ; \
+ fi ; \
echo "" ; \
cat $$d/ChangeLog \
) > $$d/new-ChangeLog ; \
fi ; \
done
-autoconf-install:
+autoconf-install autoheader-install:
for d in * ; \
do \
if [ -d $$d -a -f $$d/configure.in ] ; \