mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
21 lines
394 B
Bash
Executable File
21 lines
394 B
Bash
Executable File
#! /bin/sh
|
|
|
|
STD='make -f Makefile.am LEX=flex YACC="bison -y" srcdir=.'
|
|
|
|
(cd Zend && eval "$STD zend-parser.c zend-scanner.c zend-scanner-cc.cc")
|
|
|
|
files="Makefile ext/standard/Makefile"
|
|
sh build/fastgen.sh . yes $files
|
|
|
|
cat > config_vars.mk <<EOF
|
|
LEX=flex
|
|
YACC=bison -y
|
|
EOF
|
|
|
|
make configuration-parser.c configuration-scanner.c
|
|
(cd ext/standard && make parsedate.c)
|
|
|
|
rm config_vars.mk $files
|
|
|
|
|