1999-10-05 22:12:43 +08:00
|
|
|
#! /bin/sh
|
|
|
|
|
2000-09-05 13:25:33 +08:00
|
|
|
STD='make -f Makefile.am LEX="flex -L" YACC="bison -y -l" srcdir=.'
|
1999-10-05 22:12:43 +08:00
|
|
|
|
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"
|
2000-09-28 02:59:44 +08:00
|
|
|
sh build/fastgen.sh . yes no $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:14:50 +08:00
|
|
|
rm config_vars.mk .deps ext/standard/libs.mk $files
|
2000-10-20 09:58:00 +08:00
|
|
|
|
2000-10-22 01:06:05 +08:00
|
|
|
f=ext/standard/url_scanner_ex.c
|
|
|
|
cp $f $f.orig
|
|
|
|
grep -v '#line ' $f.orig > $f
|