363d1bb20f
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.
19 linhas
461 B
Makefile
19 linhas
461 B
Makefile
|
|
PROJECT_ROOT = ../../..
|
|
|
|
export \
|
|
BISON_PKGDATADIR=$(realpath $(PROJECT_ROOT))/external-centos/bison/share/bison
|
|
|
|
all: lex.yy.cpp
|
|
$(MAKE) -C $(PROJECT_ROOT)/src/compiler/parser
|
|
$(MAKE) -C $(PROJECT_ROOT)/src/runtime/eval/parser
|
|
@php $(PROJECT_ROOT)/bin/license.php
|
|
|
|
.PHONY: lex.yy.cpp
|
|
lex.yy.cpp: hphp.x
|
|
@echo "Generating scanner code..."
|
|
$(V)$(EXT_DIR)/flex/bin/flex -i -f -Phphp -R -8 --bison-locations \
|
|
-o$@ $<
|
|
|
|
include $(PROJECT_ROOT)/src/rules.mk
|