1999-10-05 22:12:43 +08:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
STD='make -f Makefile.am LEX=flex YACC="bison -y" srcdir=.'
|
|
|
|
|
1999-12-20 05:02:54 +08:00
|
|
|
(cd Zend && eval "$STD zend-parser.c zend-scanner.c zend-scanner-cc.cc")
|
1999-12-30 11:13:21 +08:00
|
|
|
|
2000-06-16 18:45:36 +08:00
|
|
|
files="Makefile main/Makefile ext/standard/Makefile"
|
1999-12-30 11:13:21 +08:00
|
|
|
sh build/fastgen.sh . yes $files
|
2000-06-16 18:45:36 +08:00
|
|
|
touch .deps main/.deps ext/standard/libs.mk
|
1999-12-30 11:13:21 +08:00
|
|
|
|
|
|
|
cat > config_vars.mk <<EOF
|
2000-09-04 05:07:10 +08:00
|
|
|
LEX=flex -L
|
|
|
|
YACC=bison -y -l
|
1999-12-30 11:13:21 +08:00
|
|
|
EOF
|
|
|
|
|
2000-06-16 18:45:36 +08:00
|
|
|
(cd main && make configuration-parser.c configuration-scanner.c)
|
1999-12-30 11:13:21 +08:00
|
|
|
(cd ext/standard && make parsedate.c)
|
|
|
|
|
2000-09-04 05:07:10 +08:00
|
|
|
# rm config_vars.mk .deps ext/standard/libs.mk $files
|
1999-12-30 11:13:21 +08:00
|
|
|
|
|
|
|
|