summaryrefslogtreecommitdiff
path: root/genfiles
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-05-26 21:05:38 +0000
committerAndi Gutmans <andi@php.net>2002-05-26 21:05:38 +0000
commit779c11af21cf8a627b8f2f2edef9e9073c76ed94 (patch)
tree7f333fd789637f670ba1a462063c55ff8731ee15 /genfiles
parent25b78bc5bd624228e02ef46cba2c7211eb64f890 (diff)
downloadphp-git-779c11af21cf8a627b8f2f2edef9e9073c76ed94.tar.gz
- Update genfiles for new build system
Diffstat (limited to 'genfiles')
-rwxr-xr-xgenfiles17
1 files changed, 4 insertions, 13 deletions
diff --git a/genfiles b/genfiles
index 911a2fba2e..cde3b7dffe 100755
--- a/genfiles
+++ b/genfiles
@@ -1,21 +1,12 @@
#! /bin/sh
-STD='make -f Makefile.am LEX="flex -L" YACC="bison -y -l" srcdir=.'
+STD='make -f Makefile.frag LEX="flex -L" YACC="bison -y -l" srcdir=.'
-(cd Zend && eval "$STD zend_language_parser.c zend_language_scanner.c zend_ini_parser.c zend_ini_scanner.c")
+(eval "$STD Zend/zend_language_parser.c Zend/zend_language_scanner.c Zend/zend_ini_parser.c Zend/zend_ini_scanner.c")
-files="Makefile main/Makefile ext/standard/Makefile"
-sh build/fastgen.sh . yes no $files
-touch .deps main/.deps ext/standard/libs.mk
+YACC="bison -y -l"
-cat > config_vars.mk <<EOF
-LEX=flex -L
-YACC=bison -y -l
-EOF
-
-(cd ext/standard && make parsedate.c)
-
-rm config_vars.mk .deps ext/standard/libs.mk $files
+make ext/standard/parsedate.c
for f in ext/standard/url_scanner_ex.c ext/standard/var_unserializer.c; do
cp $f $f.orig