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