summaryrefslogtreecommitdiff
path: root/oldXMenu
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-06-14 17:17:21 -0700
committerGlenn Morris <rgm@gnu.org>2014-06-14 17:17:21 -0700
commit0e6929ecab39164b384c76884a7eac559a1fe9b9 (patch)
treea1c0f3548f81156c9c971d803b8d0c31e4dc1303 /oldXMenu
parent90de50e27049ae19492dd9843e50618ea4ed5d14 (diff)
Parallelize clean rules using GNU make features
* Makefile.in: (submake_template): New definition. (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs): New variables. (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean) (extraclean): Define using each subdirectory as a prequisite. * lib/Makefile.am (bootstrap-clean): * doc/emacs/Makefile.in (bootstrap-clean): * doc/lispintro/Makefile.in (bootstrap-clean): * doc/lispref/Makefile.in (bootstrap-clean): * doc/misc/Makefile.in (bootstrap-clean): * lib-src/Makefile.in (bootstrap-clean): * lwlib/Makefile.in (bootstrap-clean): * nextstep/Makefile.in (bootstrap-clean): * nt/Makefile.in (bootstrap-clean): * oldXMenu/Makefile.in (bootstrap-clean): New rules, for symmetry/simplicity. * lwlib/Makefile.in (mostlyclean, clean, distclean, maintainer-clean): * oldXMenu/Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags): Declare as PHONY.
Diffstat (limited to 'oldXMenu')
-rw-r--r--oldXMenu/ChangeLog6
-rw-r--r--oldXMenu/Makefile.in13
2 files changed, 14 insertions, 5 deletions
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog
index 906fe229a0..f3736cdacf 100644
--- a/oldXMenu/ChangeLog
+++ b/oldXMenu/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-15 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags):
+ Declare as PHONY.
+ (boostrap-clean): New.
+
2013-10-24 Glenn Morris <rgm@gnu.org>
* Makefile.in (abs_top_srcdir): New, set by configure.
diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in
index c1fdd8244e..537be826d1 100644
--- a/oldXMenu/Makefile.in
+++ b/oldXMenu/Makefile.in
@@ -134,14 +134,17 @@ XDestAssoc.o: XDestAssoc.c X10.h
XMakeAssoc.o: XMakeAssoc.c X10.h
insque.o: insque.c
-FRC.mostlyclean:
-mostlyclean: FRC.mostlyclean
+.PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
+
+mostlyclean:
rm -f libXMenu11.a ${OBJS} ${EXTRA}
+
clean: mostlyclean
-distclean: clean
+
+boostrap-clean maintainer-clean distclean: clean
rm -f Makefile
-maintainer-clean: distclean
+.PHONY: tags
tags:
$(TAGS) -t *.[ch]
-.PHONY: tags
+