Changeset efab40d in git


Ignore:
Timestamp:
2013-07-16T02:42:55Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
98eb42c
Parents:
5931080
Message:

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

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile.frag.deps

    r5931080 refab40d  
    1313xcache/xc_allocator.lo $(builddir)/xcache/xc_allocator.lo: $(srcdir)/xcache/xc_allocator.h $(srcdir)/xcache/xc_shm.h
    1414xcache/xc_compatibility.lo $(builddir)/xcache/xc_compatibility.lo: $(srcdir)/xcache/xc_compatibility.h
    15 xcache/xc_const_string.lo $(builddir)/xcache/xc_const_string.lo: $(srcdir)/xcache.h $(srcdir)/xcache/xc_compatibility.h $(srcdir)/xcache/xc_const_string.h $(srcdir)/xcache/xc_const_string_opcodes_php4.x.h $(srcdir)/xcache/xc_const_string_opcodes_php5.0.h $(srcdir)/xcache/xc_const_string_opcodes_php5.1.h $(srcdir)/xcache/xc_const_string_opcodes_php5.3.h $(srcdir)/xcache/xc_const_string_opcodes_php5.4.h $(srcdir)/xcache/xc_const_string_opcodes_php5.5.h $(srcdir)/xcache/xc_const_string_opcodes_php6.x.h $(srcdir)/xcache/xc_lock.h $(srcdir)/xcache/xc_shm.h
     15xcache/xc_const_string.lo $(builddir)/xcache/xc_const_string.lo: $(srcdir)/xcache.h $(srcdir)/xcache/xc_compatibility.h $(srcdir)/xcache/xc_const_string.h $(srcdir)/xcache/xc_const_string_opcodes_php4.x.h $(srcdir)/xcache/xc_const_string_opcodes_php5.0.h $(srcdir)/xcache/xc_const_string_opcodes_php5.1.h $(srcdir)/xcache/xc_const_string_opcodes_php5.2.h $(srcdir)/xcache/xc_const_string_opcodes_php5.3.h $(srcdir)/xcache/xc_const_string_opcodes_php5.4.h $(srcdir)/xcache/xc_const_string_opcodes_php5.5.h $(srcdir)/xcache/xc_const_string_opcodes_php6.x.h $(srcdir)/xcache/xc_lock.h $(srcdir)/xcache/xc_shm.h
    1616xcache/xc_extension.lo $(builddir)/xcache/xc_extension.lo: $(srcdir)/util/xc_stack.h $(srcdir)/util/xc_trace.h $(srcdir)/xcache.h $(srcdir)/xcache/xc_compatibility.h $(srcdir)/xcache/xc_extension.h $(srcdir)/xcache/xc_lock.h $(srcdir)/xcache/xc_shm.h
    1717xcache/xc_ini.lo $(builddir)/xcache/xc_ini.lo: $(srcdir)/xcache/xc_ini.h
  • devel/prepare.mak

    r02eb6be refab40d  
    2121    xcache/xc_const_string_opcodes_php5.0.h \
    2222    xcache/xc_const_string_opcodes_php5.1.h \
     23    xcache/xc_const_string_opcodes_php5.2.h \
    2324    xcache/xc_const_string_opcodes_php5.3.h \
    2425    xcache/xc_const_string_opcodes_php5.4.h \
     
    5859else
    5960xcache/xc_const_string_opcodes_php5.1.h: ${PHP5_1_DIR}/Zend/zend_vm_def.h
     61    $(AWK) -f ./devel/gen_const_string_opcodes.awk < "$<" > "$@.tmp"
     62    mv "$@.tmp" "$@"
     63endif
     64
     65ifeq (${PHP5_2_DIR},)
     66xcache/xc_const_string_opcodes_php5.2.h: dummy
     67    @echo "Skipped $@: PHP_5_2_DIR not set"
     68else
     69xcache/xc_const_string_opcodes_php5.2.h: ${PHP5_2_DIR}/Zend/zend_vm_def.h
    6070    $(AWK) -f ./devel/gen_const_string_opcodes.awk < "$<" > "$@.tmp"
    6171    mv "$@.tmp" "$@"
  • xcache/xc_const_string.c

    r02eb6be refab40d  
    6868#elif defined(ZEND_ENGINE_2_4)
    6969#   include "xc_const_string_opcodes_php5.4.h"
     70#elif defined(ZEND_ENGINE_2_3)
     71#   include "xc_const_string_opcodes_php5.3.h"
    7072#elif defined(ZEND_ENGINE_2_2)
    71 #   include "xc_const_string_opcodes_php5.3.h"
     73#   include "xc_const_string_opcodes_php5.2.h"
    7274#elif defined(ZEND_ENGINE_2_1)
    7375#   include "xc_const_string_opcodes_php5.1.h"
Note: See TracChangeset for help on using the changeset viewer.