aboutsummaryrefslogtreecommitdiff
path: root/readline/Makefile.in
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-16 17:35:23 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-16 17:35:23 +0000
commit84c8bac2706adf580cd881fcc1bfcc9f44b63f5f (patch)
tree156c4f3cd739aad603bb4ad58b33a7a208c2d569 /readline/Makefile.in
parent44af5659d7a674b5901a8a3baf1a9cca48a37f54 (diff)
downloadgdb-84c8bac2706adf580cd881fcc1bfcc9f44b63f5f.zip
gdb-84c8bac2706adf580cd881fcc1bfcc9f44b63f5f.tar.gz
gdb-84c8bac2706adf580cd881fcc1bfcc9f44b63f5f.tar.bz2
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.
Diffstat (limited to 'readline/Makefile.in')
-rw-r--r--readline/Makefile.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/readline/Makefile.in b/readline/Makefile.in
index 05762db..02269da 100644
--- a/readline/Makefile.in
+++ b/readline/Makefile.in
@@ -187,13 +187,25 @@ includes:
$(INSTALL_FILE) $(srcdir)/keymaps.h $(includedir)/readline/keymaps.h
$(INSTALL_FILE) $(srcdir)/chardefs.h $(includedir)/readline/chardefs.h
-clean mostlyclean:
- rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn
- rm -f *.aux *.pg *.toc
+local-clean:
+ rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn
+ rm -f *.aux *.pg *.toc
-distclean realclean: clean
+local-distclean: local-clean
rm -f Makefile config.status sysdep.h
+mostlyclean: local-clean
+ @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
+
+clean: local-clean
+ @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
+
+distclean: local-distclean
+ @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
+
+realclean: local-realclean
+ @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
+
$(DESTDIR)/libreadline.a: libreadline.a
# Copy the object files from a particular stage into a subdirectory.