-
Notifications
You must be signed in to change notification settings - Fork 23
/
config
81 lines (65 loc) · 2.74 KB
/
config
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
76
77
78
79
80
81
ngx_addon_name=ngx_live_common
LIVE_COMMON_CORE_SRCS=" \
$ngx_addon_dir/src/ngx_buf_chain.c \
$ngx_addon_dir/src/ngx_buf_queue.c \
$ngx_addon_dir/src/ngx_buf_queue_stream.c \
$ngx_addon_dir/src/ngx_http_call.c \
$ngx_addon_dir/src/ngx_json_parser.c \
$ngx_addon_dir/src/ngx_json_pretty.c \
$ngx_addon_dir/src/ngx_lba.c \
$ngx_addon_dir/src/ngx_persist.c \
$ngx_addon_dir/src/ngx_persist_read.c \
$ngx_addon_dir/src/ngx_persist_write.c \
$ngx_addon_dir/src/ngx_mem_rstream.c \
"
LIVE_COMMON_HTTP_SRCS=" \
$ngx_addon_dir/src/ngx_http_api.c \
"
LIVE_COMMON_DEPS=" \
$ngx_addon_dir/src/ngx_buf_chain.h \
$ngx_addon_dir/src/ngx_buf_queue.h \
$ngx_addon_dir/src/ngx_buf_queue_stream.h \
$ngx_addon_dir/src/ngx_http_api.h \
$ngx_addon_dir/src/ngx_http_call.h \
$ngx_addon_dir/src/ngx_json_parser.h \
$ngx_addon_dir/src/ngx_json_pretty.h \
$ngx_addon_dir/src/ngx_json_str.h \
$ngx_addon_dir/src/ngx_ksmp.h \
$ngx_addon_dir/src/ngx_ksmp_errs_x.h \
$ngx_addon_dir/src/ngx_lba.h \
$ngx_addon_dir/src/ngx_live_kmp.h \
$ngx_addon_dir/src/ngx_persist.h \
$ngx_addon_dir/src/ngx_persist_read.h \
$ngx_addon_dir/src/ngx_persist_write.h \
$ngx_addon_dir/src/ngx_persist_format.h \
$ngx_addon_dir/src/ngx_mem_rstream.h \
$ngx_addon_dir/src/ngx_wstream.h \
"
LIVE_COMMON_INCS="$ngx_addon_dir/src"
if test -n "$ngx_module_link"; then
ngx_module_deps="$LIVE_COMMON_DEPS"
ngx_module_incs="$LIVE_COMMON_INCS"
ngx_module_libs=
if [ $ngx_module_link = DYNAMIC ] ; then
ngx_module_name="ngx_http_api_module"
ngx_module_srcs="$LIVE_COMMON_CORE_SRCS $LIVE_COMMON_HTTP_SRCS"
. auto/module
else
ngx_module_type=CORE
ngx_module_name=
ngx_module_srcs=$LIVE_COMMON_CORE_SRCS
. auto/module
ngx_module_deps=
ngx_module_incs=
ngx_module_type=HTTP
ngx_module_name=ngx_http_api_module
ngx_module_srcs=$LIVE_COMMON_HTTP_SRCS
. auto/module
fi
else
HTTP_MODULES="$HTTP_MODULES ngx_http_api_module"
NGX_ADDON_DEPS="$NGX_ADDON_SRCS $LIVE_COMMON_DEPS"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $LIVE_COMMON_CORE_SRCS $LIVE_COMMON_HTTP_SRCS"
CFLAGS="$CFLAGS -I$LIVE_COMMON_INCS"
fi
have=LIVE_COMMON . auto/have