summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/prepare.cfg.example1
-rw-r--r--devel/prepare.mak10
-rwxr-xr-xdevel/run6
3 files changed, 6 insertions, 11 deletions
diff --git a/devel/prepare.cfg.example b/devel/prepare.cfg.example
index 0968403..78382d3 100644
--- a/devel/prepare.cfg.example
+++ b/devel/prepare.cfg.example
@@ -1,5 +1,4 @@
# copy this file as prepare.cfg before modifying
-PHP4_x_DIR=
PHP5_0_DIR=
PHP5_1_DIR=
PHP5_3_DIR=
diff --git a/devel/prepare.mak b/devel/prepare.mak
index 2f826c0..4f74ce7 100644
--- a/devel/prepare.mak
+++ b/devel/prepare.mak
@@ -17,7 +17,6 @@ clean_xc_const_string:
.PHONY: xc_const_string
xc_const_string: \
- xcache/xc_const_string_opcodes_php4.x.h \
xcache/xc_const_string_opcodes_php5.0.h \
xcache/xc_const_string_opcodes_php5.1.h \
xcache/xc_const_string_opcodes_php5.3.h \
@@ -34,15 +33,6 @@ xcache/xc_opcode_spec_def.h: ${EA_DIR}/opcodes.c
mv "$@".tmp "$@"
endif
-ifeq (${PHP4_x_DIR},)
-xcache/xc_const_string_opcodes_php4.x.h: dummy
- @echo "Skipped $@: PHP_4_x_DIR not set"
-else
-xcache/xc_const_string_opcodes_php4.x.h: ${PHP4_x_DIR}/Zend/zend_compile.h
- $(AWK) -f ./devel/gen_const_string_opcodes.awk < "$<" > "$@.tmp"
- mv "$@.tmp" "$@"
-endif
-
ifeq (${PHP5_0_DIR},)
xcache/xc_const_string_opcodes_php5.0.h: dummy
@echo "Skipped $@: PHP_5_0_DIR not set"
diff --git a/devel/run b/devel/run
index 85bfef2..5c93c5c 100755
--- a/devel/run
+++ b/devel/run
@@ -96,6 +96,12 @@ updatedeps() { # {{{1
esac
case "$dependency" in
+ *xc_const_string_opcodes_php*)
+ for dependency in xcache/xc_const_string_*.h; do
+ echo '$(srcdir)/'$dependency
+ done
+ ;;
+
/*) ;;
$sourceFile) ;;