From cfb90a29f0536b00ba9e08143384d63d6b157ca3 Mon Sep 17 00:00:00 2001 From: "David J. MacKenzie" Date: Mon, 19 Sep 1994 14:38:21 +0000 Subject: [PATCH] Initial revision --- lib/am/subdirs.am | 39 +++++++++++++++++++++++++++++++++++++++ subdirs.am | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 lib/am/subdirs.am create mode 100644 subdirs.am diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am new file mode 100644 index 00000000..4c361d45 --- /dev/null +++ b/lib/am/subdirs.am @@ -0,0 +1,39 @@ +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all install install-info uninstall check tags TAGS info dvi: + for subdir in $(SUBDIRS); do \ + echo making $@ in $$dir ; \ + (cd $$subdir; $(MAKE) $@); \ + done + +mostlyclean: mostlyclean-recursive mostlyclean-local + +clean: clean-recursive clean-local + +distclean: distclean-recursive + $(MAKE) distclean-local + +realclean: realclean-recursive + $(MAKE) realclean-local + +mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive: + for subdir in $(SUBDIRS); do \ + (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`); \ + done + +mostlyclean-local: + rm -f *~ + +clean-local: mostlyclean-local + +distclean-local: clean-local + rm -f Makefile config.cache config.h config.log config.status stamp-h + +realclean-local: distclean-local diff --git a/subdirs.am b/subdirs.am new file mode 100644 index 00000000..4c361d45 --- /dev/null +++ b/subdirs.am @@ -0,0 +1,39 @@ +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all install install-info uninstall check tags TAGS info dvi: + for subdir in $(SUBDIRS); do \ + echo making $@ in $$dir ; \ + (cd $$subdir; $(MAKE) $@); \ + done + +mostlyclean: mostlyclean-recursive mostlyclean-local + +clean: clean-recursive clean-local + +distclean: distclean-recursive + $(MAKE) distclean-local + +realclean: realclean-recursive + $(MAKE) realclean-local + +mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive: + for subdir in $(SUBDIRS); do \ + (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`); \ + done + +mostlyclean-local: + rm -f *~ + +clean-local: mostlyclean-local + +distclean-local: clean-local + rm -f Makefile config.cache config.h config.log config.status stamp-h + +realclean-local: distclean-local -- 2.43.5