-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathconfig.w32
More file actions
75 lines (64 loc) · 1.49 KB
/
config.w32
File metadata and controls
75 lines (64 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// vim:ft=javascript
var DS_EXT_NAME="ds";
var DS_EXT_DIR=configure_module_dirname + "/src";
var DS_EXT_API="php_ds.c";
var DS_EXT_FLAGS="/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /I" + configure_module_dirname;
function ds_src(dir, files) {
return ADD_SOURCES(
DS_EXT_DIR + dir,
files.join(" "),
DS_EXT_NAME
);
}
////////////////////////////////////
ARG_ENABLE("ds", "for extended data structure support", "no");
if (PHP_DS != "no") {
EXTENSION(DS_EXT_NAME, DS_EXT_API, PHP_DS_SHARED, DS_EXT_FLAGS);
ds_src("/",
[
"common.c"
]);
ds_src("/ds",
[
"ds_heap.c",
"ds_htable.c",
"ds_map.c",
"ds_seq.c",
"ds_set.c",
]);
ds_src("/php/objects",
[
"php_heap.c",
"php_map.c",
"php_pair.c",
"php_seq.c",
"php_set.c",
]);
ds_src("/php/iterators",
[
"php_heap_iterator.c",
"php_htable_iterator.c",
"php_map_iterator.c",
"php_seq_iterator.c",
"php_set_iterator.c",
]);
ds_src("/php/handlers",
[
"php_common_handlers.c",
"php_heap_handlers.c",
"php_map_handlers.c",
"php_pair_handlers.c",
"php_seq_handlers.c",
"php_set_handlers.c",
]);
ds_src("/php/classes",
[
"php_heap_ce.c",
"php_key_ce.c",
"php_map_ce.c",
"php_pair_ce.c",
"php_seq_ce.c",
"php_set_ce.c",
]);
ADD_EXTENSION_DEP('ds', 'spl');
}