summaryrefslogtreecommitdiff
path: root/gdb/testsuite/Makefile.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-01-09 18:50:28 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-01-09 18:50:28 +0000
commit31f3d63a87cdf7854b4a38f9cbff614eb8f16d28 (patch)
tree71bf6da11cc562e54dde203bb2f6bd60c6ea9efe /gdb/testsuite/Makefile.in
parent86569dfb39a63f9672406628a0b8f9962fc8008c (diff)
downloadgdb-31f3d63a87cdf7854b4a38f9cbff614eb8f16d28.tar.gz
* 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/testsuite/Makefile.in')
-rw-r--r--gdb/testsuite/Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index f7f610ae1f5..29079d4b84f 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 \