This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]