aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-09 18:50:28 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-09 18:50:28 +0000
commit696d5a5b8440861f2e53015652b37388ef6d4283 (patch)
treeae513d4a60a51a3944bcbfe26a6aa820b7951341 /gdb
parent372613e32ffa3a4de7cb5c8cdd0f023860f679a4 (diff)
downloadgdb-696d5a5b8440861f2e53015652b37388ef6d4283.zip
gdb-696d5a5b8440861f2e53015652b37388ef6d4283.tar.gz
gdb-696d5a5b8440861f2e53015652b37388ef6d4283.tar.bz2
* Makefile.in (ALL_SUBDIRS): New variable.
(subdirs, clean, distclean): Use it. * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for regenerating Makefile, since it is generated from the top level. * gdb.asm/Makefile.in: Likewise. * gdb.base/Makefile.in: Likewise. * gdb.c++/Makefile.in: Likewise. * gdb.disasm/Makefile.in: Likewise. * gdb.java/Makefile.in: Likewise. * gdb.mi/Makefile.in: Likewise. * gdb.threads/Makefile.in: Likewise. * gdb.trace/Makefile.in: Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog15
-rw-r--r--gdb/testsuite/Makefile.in12
-rw-r--r--gdb/testsuite/gdb.arch/Makefile.in15
-rw-r--r--gdb/testsuite/gdb.asm/Makefile.in27
-rw-r--r--gdb/testsuite/gdb.base/Makefile.in15
-rw-r--r--gdb/testsuite/gdb.c++/Makefile.in15
-rw-r--r--gdb/testsuite/gdb.disasm/Makefile.in9
-rw-r--r--gdb/testsuite/gdb.java/Makefile.in9
-rw-r--r--gdb/testsuite/gdb.mi/Makefile.in13
-rw-r--r--gdb/testsuite/gdb.threads/Makefile.in22
-rw-r--r--gdb/testsuite/gdb.trace/Makefile.in11
11 files changed, 43 insertions, 120 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 47e8f76..cd3c27c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,18 @@
+2003-01-09 Daniel Jacobowitz <drow@mvista.com>
+
+ * Makefile.in (ALL_SUBDIRS): New variable.
+ (subdirs, clean, distclean): Use it.
+ * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
+ regenerating Makefile, since it is generated from the top level.
+ * gdb.asm/Makefile.in: Likewise.
+ * gdb.base/Makefile.in: Likewise.
+ * gdb.c++/Makefile.in: Likewise.
+ * gdb.disasm/Makefile.in: Likewise.
+ * gdb.java/Makefile.in: Likewise.
+ * gdb.mi/Makefile.in: Likewise.
+ * gdb.threads/Makefile.in: Likewise.
+ * gdb.trace/Makefile.in: Likewise.
+
2003-01-09 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index f7f610a..29079d4 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -35,6 +35,8 @@ SHELL = @SHELL@
EXEEXT = @EXEEXT@
SUBDIRS = @subdirs@
RPATH_ENVVAR = @RPATH_ENVVAR@
+ALL_SUBDIRS = gdb.arch gdb.asm gdb.base gdb.c++ gdb.disasm gdb.java gdb.mi \
+ gdb.threads gdb.trace $(SUBDIRS)
EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \
echo $${rootme}/../../expect/expect ; \
@@ -145,7 +147,7 @@ subdir_do: force
force:;
subdirs:
- for dir in ${SUBDIRS} ; \
+ for dir in ${ALL_SUBDIRS} ; \
do \
echo "$$dir:" ; \
if [ -d $$dir ] ; then \
@@ -157,8 +159,8 @@ subdirs:
clean mostlyclean:
-rm -f *~ core *.o a.out xgdb *.x *.grt
- if [ x"${SUBDIRS}" != x ] ; then \
- for dir in ${SUBDIRS}; \
+ if [ x"${ALL_SUBDIRS}" != x ] ; then \
+ for dir in ${ALL_SUBDIRS}; \
do \
echo "$$dir:"; \
if [ -d $$dir ]; then \
@@ -171,8 +173,8 @@ distclean maintainer-clean realclean: clean
-rm -f *~ core
-rm -f Makefile config.status *-init.exp
-rm -fr *.log summary detail *.plog *.sum *.psum site.*
- if [ x"${SUBDIRS}" != x ] ; then \
- for dir in ${SUBDIRS}; \
+ if [ x"${ALL_SUBDIRS}" != x ] ; then \
+ for dir in ${ALL_SUBDIRS}; \
do \
echo "$$dir:"; \
if [ -d $$dir ]; then \
diff --git a/gdb/testsuite/gdb.arch/Makefile.in b/gdb/testsuite/gdb.arch/Makefile.in
index f2dc1a9..2b6f494 100644
--- a/gdb/testsuite/gdb.arch/Makefile.in
+++ b/gdb/testsuite/gdb.arch/Makefile.in
@@ -5,16 +5,8 @@ EXECUTABLES = altivec-abi altivec-regs
MISCELLANEOUS =
-all:
- @echo "Nothing to be done for all..."
-
-info:
-install-info:
-dvi:
-install:
-uninstall: force
-installcheck:
-check:
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f *~ *.o a.out *.x *.ci *.tmp
@@ -26,6 +18,3 @@ distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-rm -f *-init.exp
-rm -fr *.log summary detail *.plog *.sum *.psum site.*
-
-Makefile : $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
diff --git a/gdb/testsuite/gdb.asm/Makefile.in b/gdb/testsuite/gdb.asm/Makefile.in
index 05ed656..d1c71b4 100644
--- a/gdb/testsuite/gdb.asm/Makefile.in
+++ b/gdb/testsuite/gdb.asm/Makefile.in
@@ -2,35 +2,18 @@ VPATH = @srcdir@
srcdir = @srcdir@
EXECUTABLES =
+MISCELLANEOUS = arch.inc
-# uuencoded format to avoid SCCS/RCS problems with binary files.
-CROSS_EXECUTABLES =
-
-all:
- @echo "Nothing to be done for all..."
-
-info:
-install-info:
-dvi:
-install:
-uninstall: force
-installcheck:
-check:
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
- -rm -f *~ *.o a.out xgdb *.x $(CROSS_EXECUTABLES) *.ci *.tmp
+ -rm -f *~ *.o a.out *.x *.ci *.tmp
-rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES)
- -rm -f twice-tmp.c
+ -rm -f $(MISCELLANEOUS)
distclean maintainer-clean realclean: clean
-rm -f *~ core
-rm -f Makefile config.status config.log
- -rm -f arch.inc
-rm -f *-init.exp
-rm -fr *.log summary detail *.plog *.sum *.psum site.*
-
-Makefile : $(srcdir)/Makefile.in config.status
- $(SHELL) ./config.status
-
-config.status: $(srcdir)/configure
- $(SHELL) ./config.status --recheck
diff --git a/gdb/testsuite/gdb.base/Makefile.in b/gdb/testsuite/gdb.base/Makefile.in
index c878f15..e59f57b 100644
--- a/gdb/testsuite/gdb.base/Makefile.in
+++ b/gdb/testsuite/gdb.base/Makefile.in
@@ -17,16 +17,8 @@ EXECUTABLES = all-types annota1 bitfields break \
MISCELLANEOUS = coremmap.data ../foobar.baz \
shr1.sl shr2.sl solib_sl.sl solib1.sl solib2.sl
-all:
- @echo "Nothing to be done for all..."
-
-info:
-install-info:
-dvi:
-install:
-uninstall: force
-installcheck:
-check:
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f *~ *.o a.out xgdb *.x *.ci *.tmp
@@ -38,6 +30,3 @@ distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-rm -f *-init.exp
-rm -fr *.log summary detail *.plog *.sum *.psum site.*
-
-Makefile : $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
diff --git a/gdb/testsuite/gdb.c++/Makefile.in b/gdb/testsuite/gdb.c++/Makefile.in
index 8267259..8f4a90e 100644
--- a/gdb/testsuite/gdb.c++/Makefile.in
+++ b/gdb/testsuite/gdb.c++/Makefile.in
@@ -5,16 +5,8 @@ EXECUTABLES = ambiguous annota2 anon-union cplusfuncs cttiadd \
derivation inherit local member-ptr method misc \
overload ovldbreak ref-typ ref-typ2 templates userdef virtfunc namespace ref-types
-all:
- @echo "Nothing to be done for all..."
-
-info:
-install-info:
-dvi:
-install:
-uninstall: force
-installcheck:
-check:
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f *~ *.o *.ci
@@ -22,6 +14,3 @@ clean mostlyclean:
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-
-Makefile: $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
diff --git a/gdb/testsuite/gdb.disasm/Makefile.in b/gdb/testsuite/gdb.disasm/Makefile.in
index 7bb5eef..7cb1b1e 100644
--- a/gdb/testsuite/gdb.disasm/Makefile.in
+++ b/gdb/testsuite/gdb.disasm/Makefile.in
@@ -1,18 +1,13 @@
-#### host, target, and site specific Makefile frags come in here.
-
VPATH = @srcdir@
srcdir = @srcdir@
.PHONY: all clean mostlyclean distclean realclean
-all:
- @echo "Nothing to be done for all..."
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f *.o *.diff *~ *.bad core h8300s hppa mn10200 mn10300 sh3
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-
-Makefile: $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
diff --git a/gdb/testsuite/gdb.java/Makefile.in b/gdb/testsuite/gdb.java/Makefile.in
index 0954369..5072ee1 100644
--- a/gdb/testsuite/gdb.java/Makefile.in
+++ b/gdb/testsuite/gdb.java/Makefile.in
@@ -1,10 +1,8 @@
srcdir = @srcdir@
VPATH = @srcdir@
-all:
- @echo "Nothing to be done for all..."
-
-#### host, target, and site specific Makefile frags come in here.
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
.SUFFIXES: .java .class .o .exe .exp .check
@@ -21,6 +19,3 @@ clean mostlyclean:
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-
-Makefile: $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
diff --git a/gdb/testsuite/gdb.mi/Makefile.in b/gdb/testsuite/gdb.mi/Makefile.in
index 67a0f5d..7bd9d5a 100644
--- a/gdb/testsuite/gdb.mi/Makefile.in
+++ b/gdb/testsuite/gdb.mi/Makefile.in
@@ -5,20 +5,11 @@ PROGS = basics c_variable cpp_variable var-cmd
MISCELLANEOUS = testcmds
-all:
- @echo "Nothing to be done for all..."
-
-#### host, target, and site specific Makefile frags come in here.
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f *.ci *.o $(OBJS) $(PROGS) *~ core
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-
-Makefile: $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
-
-# Local variables:
-# change-log-default-name: "ChangeLog-mi"
-# End:
diff --git a/gdb/testsuite/gdb.threads/Makefile.in b/gdb/testsuite/gdb.threads/Makefile.in
index 34f22b5..6bd7279 100644
--- a/gdb/testsuite/gdb.threads/Makefile.in
+++ b/gdb/testsuite/gdb.threads/Makefile.in
@@ -3,29 +3,11 @@ srcdir = @srcdir@
EXECUTABLES = pthreads
-all:
- @echo "Nothing to be done for all..."
-
-info:
-install-info:
-dvi:
-install:
-uninstall: force
-installcheck:
-check:
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f *~ *.o a.out xgdb *.x *.ci *.tmp core* $(EXECUTABLES)
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log config.h
-
-Makefile : $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
-
-config.h: stamp-h ; @true
-stamp-h: config.in config.status
- CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/gdb/testsuite/gdb.trace/Makefile.in b/gdb/testsuite/gdb.trace/Makefile.in
index 601c9e1..b416c3b 100644
--- a/gdb/testsuite/gdb.trace/Makefile.in
+++ b/gdb/testsuite/gdb.trace/Makefile.in
@@ -1,12 +1,10 @@
-#### host, target, and site specific Makefile frags come in here.
-
VPATH = @srcdir@
srcdir = @srcdir@
.PHONY: all clean mostlyclean distclean realclean
-all:
- @echo "Nothing to be done for all..."
+all info install-info dvi install uninstall installcheck check:
+ @echo "Nothing to be done for $@..."
clean mostlyclean:
-rm -f actions circ collection limits
@@ -14,8 +12,3 @@ clean mostlyclean:
distclean maintainer-clean realclean: clean
-rm -f Makefile config.status config.log
-
-Makefile: $(srcdir)/Makefile.in $(srcdir)/configure.in
- $(SHELL) ./config.status --recheck
-
-