summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-07-16 02:42:55 +0000
committerXuefer <xuefer@gmail.com>2013-07-16 02:42:55 +0000
commitefab40dc18fe66a77d24dea703ed0eb3acdaf6e3 (patch)
tree0f049c4fb359d52e9a1aecdf62af047734c576b4 /devel
parent5931080a82e4aba43f22a4aac38a9989bb6a75de (diff)
downloadxcache-efab40dc18fe66a77d24dea703ed0eb3acdaf6e3.tar.gz
xcache-efab40dc18fe66a77d24dea703ed0eb3acdaf6e3.zip
adds opcode string for PHP5.2 seperately for easier compiling
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1325 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rw-r--r--devel/prepare.mak10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/prepare.mak b/devel/prepare.mak
index 2f826c0..141e4a0 100644
--- a/devel/prepare.mak
+++ b/devel/prepare.mak
@@ -20,6 +20,7 @@ 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.2.h \
xcache/xc_const_string_opcodes_php5.3.h \
xcache/xc_const_string_opcodes_php5.4.h \
xcache/xc_const_string_opcodes_php5.5.h \
@@ -61,6 +62,15 @@ xcache/xc_const_string_opcodes_php5.1.h: ${PHP5_1_DIR}/Zend/zend_vm_def.h
mv "$@.tmp" "$@"
endif
+ifeq (${PHP5_2_DIR},)
+xcache/xc_const_string_opcodes_php5.2.h: dummy
+ @echo "Skipped $@: PHP_5_2_DIR not set"
+else
+xcache/xc_const_string_opcodes_php5.2.h: ${PHP5_2_DIR}/Zend/zend_vm_def.h
+ $(AWK) -f ./devel/gen_const_string_opcodes.awk < "$<" > "$@.tmp"
+ mv "$@.tmp" "$@"
+endif
+
ifeq (${PHP5_3_DIR},)
xcache/xc_const_string_opcodes_php5.3.h: dummy
@echo "Skipped $@: PHP_5_3_DIR not set"