Mercurial > hg > graal-compiler
comparison make/linux/makefiles/buildtree.make @ 235:9c2ecc2ffb12 jdk7-b31
Merge
author | trims |
---|---|
date | Fri, 11 Jul 2008 01:14:44 -0700 |
parents | d1605aabd0a1 b21425229e0b |
children | 354d3184f6b2 |
comparison
equal
deleted
inserted
replaced
197:de141433919f | 235:9c2ecc2ffb12 |
---|---|
326 JAVA_FLAG/64 = -d64 | 326 JAVA_FLAG/64 = -d64 |
327 | 327 |
328 WRONG_DATA_MODE_MSG = \ | 328 WRONG_DATA_MODE_MSG = \ |
329 echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." | 329 echo "JAVA_HOME must point to $(DATA_MODE)bit JDK." |
330 | 330 |
331 test_gamma: $(BUILDTREE_MAKE) | 331 test_gamma: $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java |
332 @echo Creating $@ ... | 332 @echo Creating $@ ... |
333 $(QUIETLY) ( \ | 333 $(QUIETLY) ( \ |
334 echo '#!/bin/sh'; \ | 334 echo '#!/bin/sh'; \ |
335 $(BUILDTREE_COMMENT); \ | 335 $(BUILDTREE_COMMENT); \ |
336 echo '. ./env.sh'; \ | 336 echo '. ./env.sh'; \ |
337 echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ | 337 echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ |
338 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>1 > /dev/null"; \ | 338 echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \ |
339 echo "then"; \ | 339 echo "then"; \ |
340 echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ | 340 echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ |
341 echo "fi"; \ | 341 echo "fi"; \ |
342 echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \ | 342 echo "rm -f Queens.class"; \ |
343 echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \ | |
343 echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ | 344 echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ |
344 echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ | 345 echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ |
345 ) > $@ | 346 ) > $@ |
346 $(QUIETLY) chmod +x $@ | 347 $(QUIETLY) chmod +x $@ |
347 | 348 |