* Makefile.in (just-check): Remove. Move body to...
[deliverable/binutils-gdb.git] / gdb / testsuite / Makefile.in
index d763450e2ebc6548dd4d55cf795493483df9dbfc..b97f860c101cd9896c7532acb38309c3f3b47c26 100644 (file)
@@ -1,5 +1,6 @@
 # Makefile for regression testing the GNU debugger.
-# Copyright (C) 1992, 1993, 1994, 1995, 1999 Free Software Foundation, Inc.
+# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 2003, 2004,
+# 2005, 2007, 2008 Free Software Foundation, Inc.
 
 # This file is part of GDB.
 
@@ -22,17 +23,22 @@ srcdir = @srcdir@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 
-host_alias = @host_alias@
-target_alias = @target_alias@
+target_alias = @target_noncanonical@
 program_transform_name = @program_transform_name@
 build_canonical = @build@
 host_canonical = @host@
 target_canonical = @target@
-target_cpu = @gdb_target_cpu@
 
 SHELL = @SHELL@
+EXEEXT = @EXEEXT@
 SUBDIRS = @subdirs@
 RPATH_ENVVAR = @RPATH_ENVVAR@
+ALL_SUBDIRS = gdb.ada gdb.arch gdb.asm gdb.base gdb.cp gdb.disasm \
+       gdb.dwarf2 \
+       gdb.fortran gdb.server gdb.java gdb.mi \
+       gdb.objc gdb.opt gdb.pascal gdb.threads gdb.trace \
+       gdb.xml \
+       $(SUBDIRS)
 
 EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \
           echo $${rootme}/../../expect/expect ; \
@@ -49,7 +55,7 @@ RUNTEST_FOR_TARGET = `\
     if [ "$(host_canonical)" = "$(target_canonical)" ]; then \
       echo runtest; \
     else \
-      t='$(program_transform_name)'; echo runtest | sed -e '' $$t; \
+      t='$(program_transform_name)'; echo runtest | sed -e $$t; \
     fi; \
   fi`
 
@@ -65,10 +71,6 @@ TARGET_FLAGS_TO_PASS = \
         'CC=$$(CC_FOR_TARGET)' \
         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
         "CFLAGS=$(TESTSUITE_CFLAGS)" \
-        "CHILLFLAGS=$(CHILLFLAGS)" \
-        'CHILL=$$(CHILL_FOR_TARGET)' \
-        "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
-        "CHILL_LIB=$(CHILL_LIB)" \
         'CXX=$$(CXX_FOR_TARGET)' \
         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
         "CXXFLAGS=$(CXXFLAGS)" \
@@ -89,6 +91,10 @@ INFODIRS=doc
 info:
 install-info:
 dvi:
+pdf:
+install-pdf:
+html:
+install-html:
 
 install:
 
@@ -102,7 +108,6 @@ site.exp: ./config.status Makefile
        @echo "## these variables are automatically generated by make ##" > ./tmp0
        @echo "# Do not edit here. If you wish to override these values" >> ./tmp0
        @echo "# add them to the last section" >> ./tmp0
-       @echo "set host_alias $(host_alias)" >> ./tmp0
        @echo "set host_triplet ${host_canonical}" >> ./tmp0
        @echo "set target_alias $(target_alias)" >> ./tmp0
        @echo "set target_triplet ${target_canonical}" >> ./tmp0
@@ -117,12 +122,11 @@ site.exp: ./config.status Makefile
 
 installcheck:
 
-check: site.exp all just-check
-
-just-check:
+check: all site.exp
        rootme=`pwd`; export rootme; \
        srcdir=${srcdir} ; export srcdir ; \
        EXPECT=${EXPECT} ; export EXPECT ; \
+       EXEEXT=${EXEEXT} ; export EXEEXT ; \
         $(RPATH_ENVVAR)=$$rootme/../../expect:$$rootme/../../libstdc++:$$rootme/../../tk/unix:$$rootme/../../tcl/unix:$$rootme/../../bfd:$$rootme/../../opcodes:$$$(RPATH_ENVVAR); \
        export $(RPATH_ENVVAR); \
        if [ -f $${rootme}/../../expect/expect ] ; then  \
@@ -144,7 +148,7 @@ subdir_do: force
 force:;
 
 subdirs:
-       for dir in ${SUBDIRS} ; \
+       for dir in ${ALL_SUBDIRS} ; \
        do \
                echo "$$dir:" ; \
                if [ -d $$dir ] ; then \
@@ -156,8 +160,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 \
@@ -170,8 +174,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 \
@@ -180,7 +184,7 @@ distclean maintainer-clean realclean: clean
            done ; \
        else true; fi
 
-Makefile : Makefile.in config.status $(host_makefile_frag) $(target_makefile_frag)
+Makefile : Makefile.in config.status $(host_makefile_frag)
        $(SHELL) config.status
 
 config.status: configure
This page took 0.024822 seconds and 4 git commands to generate.