php-src/genfiles

23 lines
605 B
Plaintext
Raw Normal View History

#! /bin/sh
2000-09-05 13:25:33 +08:00
STD='make -f Makefile.am LEX="flex -L" YACC="bison -y -l" srcdir=.'
(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")
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
cat > config_vars.mk <<EOF
LEX=flex -L
YACC=bison -y -l
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
f=ext/standard/url_scanner_ex.c
cp $f $f.orig
grep -v '#line ' $f.orig > $f