make PHP_SAPI dynamic based on execution mode
[hiphop-php.git] / hphp / runtime / base / zend / Makefile
blob6944d37d7cfd1223d4a777e4cd73ce4a2f1f373c
2 # This Makefile is only needed to run when zend_ini.x or zend_ini.y is modified
4 PROJECT_ROOT = ../../../..
6 zend_ini.lex.yy.cpp: zend_ini.x zend_ini.tab.cpp
7 @echo "Generating scanner code..."
8 $(V)flex -Pini_ -w -i -o$@ $<
10 zend_ini.tab.cpp: zend_ini.y
11 @echo "Generating parser code..."
12 $(V)bison -pini_ -d -o$@ $<
14 include $(PROJECT_ROOT)/src/rules.mk