This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[5.1] clean out gdb/gdbserver
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 18 Nov 2001 00:08:07 -0500
- Subject: [5.1] clean out gdb/gdbserver
FYI, I've committed the attatched.
It's a bit of a hack. Because GDBSERVER doesn't reliably build on all
systems it isn't included in SUBDIRS. As a consequence it isn't always
cleaned out (even though it is configured).
Andrew
2001-11-17 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (distclean): Explicitly delete Makefile et.al. in
gdbserver sub directory.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.107
diff -p -r1.107 Makefile.in
*** Makefile.in 2001/07/28 19:48:15 1.107
--- Makefile.in 2001/11/18 05:05:21
*************** clean mostlyclean: $(CONFIG_CLEAN)
*** 944,951 ****
--- 944,956 ----
# 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