Mercurial > hg > graal-jvmci-8
comparison make/solaris/makefiles/buildtree.make @ 235:9c2ecc2ffb12 jdk7-b31
Merge
author | trims |
---|---|
date | Fri, 11 Jul 2008 01:14:44 -0700 |
parents | d1605aabd0a1 551f4309f476 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
197:de141433919f | 235:9c2ecc2ffb12 |
---|---|
338 JAVA_FLAG/64 = -d64 | 338 JAVA_FLAG/64 = -d64 |
339 | 339 |
340 WRONG_DATA_MODE_MSG = \ | 340 WRONG_DATA_MODE_MSG = \ |
341 echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." | 341 echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." |
342 | 342 |
343 test_gamma: $(BUILDTREE_MAKE) | 343 test_gamma: $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java |
344 @echo Creating $@ ... | 344 @echo Creating $@ ... |
345 $(QUIETLY) ( \ | 345 $(QUIETLY) ( \ |
346 echo '#!/bin/ksh'; \ | 346 echo '#!/bin/ksh'; \ |
347 $(BUILDTREE_COMMENT); \ | 347 $(BUILDTREE_COMMENT); \ |
348 echo '. ./env.ksh'; \ | 348 echo '. ./env.ksh'; \ |
349 echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ | 349 echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ |
350 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \ | 350 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \ |
351 echo "then"; \ | 351 echo "then"; \ |
352 echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ | 352 echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ |
353 echo "fi"; \ | 353 echo "fi"; \ |
354 echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \ | 354 echo "rm -f Queens.class"; \ |
355 echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \ | |
355 echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ | 356 echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ |
356 echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ | 357 echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ |
357 ) > $@ | 358 ) > $@ |
358 $(QUIETLY) chmod +x $@ | 359 $(QUIETLY) chmod +x $@ |
359 | 360 |