xref: /PHP-5.4/genfiles (revision 6c6f8314)
1#! /bin/sh
2
3STD='make -f Makefile.frag RE2C="re2c" RE2C_FLAGS="-i" YACC="bison -y -l" srcdir=Zend builddir=Zend top_srcdir=.'
4
5(eval "$STD Zend/zend_language_parser.c Zend/zend_language_scanner.c Zend/zend_ini_parser.c Zend/zend_ini_scanner.c")
6
7set -x
8
9CLEANUP_FILES=" \
10  ext/pdo/pdo_sql_parser.c \
11  ext/date/lib/parse_date.c \
12  ext/standard/url_scanner_ex.c \
13  ext/standard/var_unserializer.c \
14"
15
16for f in $CLEANUP_FILES; do
17  cp $f $f.orig
18  grep -v '#line ' $f.orig > $f
19done
20
21