Changeset 1006 for trunk/config.w32


Ignore:
Timestamp:
2012-07-19T17:11:16+02:00 (21 months ago)
Author:
moo
Message:

fix win32 build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.w32

    r1004 r1006  
    55 
    66if (PHP_XCACHE != "no") { 
     7    EXTENSION("xcache", "xcache.c", null, "/I " + configure_module_dirname); 
    78    // {{{ check for xcache-constant  
    89    ARG_ENABLE("xcache-constant", "XCache: Handle new constants made by php compiler (e.g.: for __halt_compiler)", "yes"); 
     
    1213    // }}} 
    1314 
    14     var xcache_sources = " \ 
    15 util/xc_stack.c \ 
    16 util/xc_trace.c \ 
    17 xcache.c \ 
    18 xcache/xc_const_string.c \ 
    19 xcache/xc_compatibility.c \ 
    20 xcache/xc_lock.c \ 
    21 xcache/xc_mem.c \ 
    22 xcache/xc_opcode_spec.c \ 
    23 xcache/xc_processor.c \ 
    24 xcache/xc_sandbox.c \ 
    25 xcache/xc_shm.c \ 
    26 xcache/xc_shm_mmap.c \ 
    27 xcache/xc_utils.c \ 
    28 "; 
     15    ADD_SOURCES(configure_module_dirname + "/util", " \ 
     16xc_stack.c \ 
     17xc_trace.c \ 
     18", "xcache"); 
     19 
     20    ADD_SOURCES(configure_module_dirname + "/xcache", " \ 
     21xc_const_string.c \ 
     22xc_compatibility.c \ 
     23xc_lock.c \ 
     24xc_mem.c \ 
     25xc_opcode_spec.c \ 
     26xc_processor.c \ 
     27xc_sandbox.c \ 
     28xc_shm.c \ 
     29xc_shm_mmap.c \ 
     30xc_utils.c \ 
     31", "xcache"); 
     32 
    2933    // {{{ add sources on enabled 
    3034    ARG_ENABLE("xcache-optimizer",    "(N/A)", "no"); 
     
    4549        var withval = eval("PHP_XCACHE_" + uname); 
    4650        if (withval != "no") { 
    47             xcache_sources += " mod_" + name + "/xc_" + name + ".c"; 
     51            ADD_SOURCES(configure_module_dirname + "/mod_" + name, "xc_" + name + ".c", "xcache"); 
    4852            XCACHE_MODULES += " " + name; 
    4953            STDOUT.WriteLine("Enabling XCache Module: " + name); 
     
    8084    if (PHP_XCACHE_TEST != "no") { 
    8185        ADD_FLAG("XCACHE_ENABLE_TEST", "-DXCACHE_ENABLE_TEST"); 
    82         xcache_sources += " xcache/xc_malloc.c"; 
     86        ADD_SOURCES(configure_module_dirname + "/xcache", "xc_malloc.c", "xcache"); 
    8387        AC_DEFINE("HAVE_XCACHE_TEST", 1, "Define to enable XCache self test"); 
    8488    } 
     
    9397    } 
    9498    // }}} 
    95     // {{{ create extension 
    96     EXTENSION("xcache", xcache_sources); 
     99    // {{{ get ccrule 
    97100    var srcdir = configure_module_dirname; 
    98101    // it's a bit harder to get builddir 
Note: See TracChangeset for help on using the changeset viewer.