aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
authorMike Werner <mtw@cygnus>1993-02-24 03:02:37 +0000
committerMike Werner <mtw@cygnus>1993-02-24 03:02:37 +0000
commit4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9 (patch)
treee7f42ba44c2a881c1eadafba7029942db98ad095 /binutils/Makefile.in
parentb12529c1ecdbe2d577349da96385341ae047afce (diff)
downloadgdb-4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9.zip
gdb-4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9.tar.gz
gdb-4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9.tar.bz2
* configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 29b0cfe..ede3e9d 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -144,7 +144,16 @@ OPCODES = $(OPCODEDIR)/libopcodes.a
#
## The rules
-all: $(ADDL_LIBS) $(PROGS)
+all: $(ADDL_LIBS) $(PROGS) testsuite
+
+testsuite:
+ echo "testsuite"; \
+ if [ -d testsuite ]; then \
+ (rootme=`pwd`/ ; export rootme ; \
+ rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
+ cd testsuite; $(MAKE) $(FLAGS_TO_PASS)); \
+ fi; \
+
check: all
/bin/sh $(srcdir)/sanity.sh .