Changeset 1325 for trunk


Ignore:
Timestamp:
2013-07-16T04:42:55+02:00 (13 months ago)
Author:
moo
Message:

adds opcode string for PHP5.2 seperately for easier compiling

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.frag.deps

    r1324 r1325  
    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 
  • trunk/devel/prepare.mak

    r1321 r1325  
    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" "$@" 
  • trunk/xcache/xc_const_string.c

    r1321 r1325  
    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.