aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/Makefile.in
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/testsuite/Makefile.in
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/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 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 \