(ENQUIRE, CROSS_TEST): New variables.
authorRichard Stallman <rms@gnu.org>
Wed, 22 Sep 1993 02:30:41 +0000 (02:30 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 22 Sep 1993 02:30:41 +0000 (02:30 +0000)
(all.cross): Use them.

From-SVN: r5382

gcc/Makefile.in

index 2c044eedadf8da2d8c450726329ef9c80108274c..955d7e77820113fed1507454be2a4a5e58d4332d 100644 (file)
@@ -209,6 +209,13 @@ LIBGCC2_INCLUDES =
 # Some targets override this to stmp-int-hdrs
 LIBGCC2_DEPS =
 
+# Enquire target (This is a variable so that a target can choose not to
+# build it.)
+ENQUIRE = enquire
+
+# Cross-test target (must also be overridable for a target)
+CROSS_TEST = cross-test
+
 # List of extra executables that should be compiled for this target machine
 # that are used for compiling from source code to object code.
 # The rules for compiling them should be in the t-* file for the machine.
@@ -477,7 +484,7 @@ all.internal: start.encap rest.encap
 # This is what to compile if making a cross-compiler.
 # Note that we can compile enquire using the cross-compiler just build,
 # although we can't run it on this machine.
-all.cross: native gcc-cross g++-cross specs $(LIBGCC) stmp-headers $(STMP_FIXPROTO) cross-test enquire $(EXTRA_PARTS)
+all.cross: native gcc-cross g++-cross specs $(LIBGCC) stmp-headers $(STMP_FIXPROTO) $(CROSS_TEST) $(ENQUIRE) $(EXTRA_PARTS)
 # This is what to compile if making gcc with a cross-compiler.
 all.build: native xgcc g++ $(EXTRA_PARTS)
 # This is what must be made before installing GCC and converting libraries.