diff --git a/make/linux/Queens.class b/make/linux/Queens.class deleted file mode 100644 index d4582a04411926caafaedea4a9f33463e83ba547..0000000000000000000000000000000000000000 Binary files a/make/linux/Queens.class and /dev/null differ diff --git a/make/linux/makefiles/buildtree.make b/make/linux/makefiles/buildtree.make index e0dc40ebffc32b7e3edf16133e4d9dc09c9d67f8..dc3dec784c75c5797a61a5c55591cd0e263bbb11 100644 --- a/make/linux/makefiles/buildtree.make +++ b/make/linux/makefiles/buildtree.make @@ -328,7 +328,7 @@ JAVA_FLAG/64 = -d64 WRONG_DATA_MODE_MSG = \ echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." -test_gamma: $(BUILDTREE_MAKE) +test_gamma: $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java @echo Creating $@ ... $(QUIETLY) ( \ echo '#!/bin/sh'; \ @@ -339,7 +339,8 @@ test_gamma: $(BUILDTREE_MAKE) echo "then"; \ echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ echo "fi"; \ - echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \ + echo "rm -f Queens.class"; \ + echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \ echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ ) > $@ diff --git a/make/solaris/Queens.class b/make/solaris/Queens.class deleted file mode 100644 index d4582a04411926caafaedea4a9f33463e83ba547..0000000000000000000000000000000000000000 Binary files a/make/solaris/Queens.class and /dev/null differ diff --git a/make/solaris/makefiles/buildtree.make b/make/solaris/makefiles/buildtree.make index 1fb22360dcab83bf2ada59ea25eee1a2e25515f4..5ce7b1ff31eef52f6ef5e5b1b8695291b375a65c 100644 --- a/make/solaris/makefiles/buildtree.make +++ b/make/solaris/makefiles/buildtree.make @@ -340,7 +340,7 @@ JAVA_FLAG/64 = -d64 WRONG_DATA_MODE_MSG = \ echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." -test_gamma: $(BUILDTREE_MAKE) +test_gamma: $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java @echo Creating $@ ... $(QUIETLY) ( \ echo '#!/bin/ksh'; \ @@ -351,7 +351,8 @@ test_gamma: $(BUILDTREE_MAKE) echo "then"; \ echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ echo "fi"; \ - echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \ + echo "rm -f Queens.class"; \ + echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \ echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ ) > $@