Fix for PR gdb/209, PR gdb/156:
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 2daf0d99f6bf07fedda2583df4dad78facc3dd80..691d66565154b47fd565d495744c97ab45892960 100644 (file)
@@ -970,8 +970,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
This page took 0.023809 seconds and 4 git commands to generate.