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
|
|
|
|
2000-11-03 07:05:32 +08:00
|
|
|
(cd Zend && eval "$STD zend_language_parser.c zend_language_scanner.c zend_language_scanner_cc.cc zend_ini_parser.c zend_ini_scanner.c zend_ini_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
|
|
|
|
|
|
|
|
(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
|