Arquivos
hhvm/hphp/runtime/tmp/script.mk
T
Jordan Delong 363d1bb20f Code move src/ -> hphp/
This change is mostly for FB internal organizational reasons.
Building is not effected beyond the fact that the target now
lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
2013-02-11 02:10:41 -08:00

13 linhas
363 B
Makefile

PROJECT_ROOT = $(HPHP_HOME)
include $(PROJECT_ROOT)/src/rules.mk
all :
echo "#/bin/sh" > run.sh
echo "export LD_LIBRARY_PATH=\`dirname \$${!#}\`:.:\$$HPHP_LIB" >> run.sh
for i in $(LIB_PATHS); do \
test "$$i" '!=' "$$HPHP_LIB" && echo "LD_LIBRARY_PATH=\$${LD_LIBRARY_PATH}:$$i" >> run.sh; \
done
echo "runtime/tmp/run \$${@:1:\$$((\$$#-1))}" >> run.sh