1999-10-05 22:12:43 +08:00
|
|
|
#! /bin/sh
|
|
|
|
|
2002-05-27 22:07:41 +08:00
|
|
|
STD='make -f Makefile.frag LEX="flex -L" YACC="bison -y -l" srcdir=Zend builddir=Zend'
|
1999-10-05 22:12:43 +08:00
|
|
|
|
2002-05-27 05:05:38 +08:00
|
|
|
(eval "$STD Zend/zend_language_parser.c Zend/zend_language_scanner.c Zend/zend_ini_parser.c Zend/zend_ini_scanner.c")
|
1999-12-30 11:13:21 +08:00
|
|
|
|
2002-05-27 21:36:43 +08:00
|
|
|
set -x
|
2000-10-20 09:58:00 +08:00
|
|
|
|
2005-11-09 04:21:47 +08:00
|
|
|
CLEANUP_FILES=" \
|
|
|
|
ext/pdo/pdo_sql_parser.c \
|
|
|
|
ext/date/lib/parse_date.c \
|
|
|
|
ext/standard/url_scanner_ex.c \
|
|
|
|
ext/standard/var_unserializer.c \
|
|
|
|
"
|
|
|
|
|
|
|
|
for f in $CLEANUP_FILES; do
|
2002-01-04 21:10:26 +08:00
|
|
|
cp $f $f.orig
|
|
|
|
grep -v '#line ' $f.orig > $f
|
2002-02-19 23:58:31 +08:00
|
|
|
done
|
|
|
|
|