php-src/genfiles

24 lines
583 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=.'
1999-12-20 05:02:54 +08:00
(cd Zend && eval "$STD zend-parser.c zend-scanner.c zend-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
2000-06-16 18:45:36 +08:00
(cd main && make configuration-parser.c configuration-scanner.c)
(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