empty gdb/gdbserver/*
authorAndrew Cagney <cagney@redhat.com>
Sun, 18 Nov 2001 05:08:36 +0000 (05:08 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 18 Nov 2001 05:08:36 +0000 (05:08 +0000)
gdb/ChangeLog
gdb/Makefile.in

index 9ee69d2..c282e6f 100644 (file)
@@ -1,5 +1,10 @@
 2001-11-17  Andrew Cagney  <ac131313@redhat.com>
 
+       * Makefile.in (distclean): Explicitly delete Makefile et.al. in
+       gdbserver sub directory.
+
+2001-11-17  Andrew Cagney  <ac131313@redhat.com>
+
        * README: Mention need for alloca().  Mention problems with
        alpha-dec-osf4.0e.  Clarify that comments refer to GDB 5.1.
 
index 80b8e9e..5132358 100644 (file)
@@ -944,8 +944,13 @@ clean mostlyclean: $(CONFIG_CLEAN)
 # I believe this is wrong; the makefile standards for distclean just
 # describe removing files; the only sort of "re-create a distribution"
 # functionality described is if the distributed files are unmodified.
+# NB: While GDBSERVER might be configured on native systems, it isn't
+# always included in SUBDIRS.  Remove the gdbserver files explictly.
 distclean: clean
        @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do 
+       rm -f gdbserver/config.status gdbserver/config.log
+       rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
+       rm -f gdbserver/Makefile gdbserver/config.cache
        rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
        rm -f y.output yacc.acts yacc.tmp y.tab.h
        rm -f config.log config.cache