-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathconfig
58 lines (51 loc) · 1.76 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
ngx_addon_name="traffic-accounting-nginx-module"
TRAFFIC_ACCOUNTING_DEPS=" \
$ngx_addon_dir/src/ngx_traffic_accounting.h \
$ngx_addon_dir/src/ngx_traffic_accounting_module.h \
"
TRAFFIC_ACCOUNTING_SRCS=" \
$ngx_addon_dir/src/ngx_traffic_accounting_log.c \
$ngx_addon_dir/src/ngx_traffic_accounting_module.c \
$ngx_addon_dir/src/ngx_traffic_accounting_module_conf.c \
$ngx_addon_dir/src/ngx_traffic_accounting_period_metrics.c \
$ngx_addon_dir/src/ngx_traffic_accounting_statuses.c \
"
HTTP_ACCOUNTING_DEPS=" \
$ngx_addon_dir/src/http/ngx_http_accounting_module.h \
"
HTTP_ACCOUNTING_SRCS=" \
$ngx_addon_dir/src/http/ngx_http_accounting_module.c \
$ngx_addon_dir/src/http/ngx_http_accounting_statuses.c \
"
STREAM_ACCOUNTING_DEPS=" \
$ngx_addon_dir/src/stream/ngx_stream_accounting_module.h \
"
STREAM_ACCOUNTING_SRCS=" \
$ngx_addon_dir/src/stream/ngx_stream_accounting_module.c \
$ngx_addon_dir/src/stream/ngx_stream_accounting_statuses.c \
"
ngx_module_type=
ngx_module_name=
ngx_module_incs=$ngx_addon_dir
ngx_module_deps=$TRAFFIC_ACCOUNTING_DEPS
ngx_module_srcs=$TRAFFIC_ACCOUNTING_SRCS
ngx_module_libs=
if [ $HTTP != NO ]
then
ngx_module_type=HTTP
ngx_module_name="ngx_http_accounting_module"
ngx_module_deps="$ngx_module_deps $HTTP_ACCOUNTING_DEPS"
ngx_module_srcs="$ngx_module_srcs $HTTP_ACCOUNTING_SRCS"
fi
if [ $STREAM != NO ]
then
ngx_module_type=STREAM
if test -n "$ngx_module_name"; then
ngx_module_name="ngx_http_accounting_module ngx_stream_accounting_module"
else
ngx_module_name="ngx_stream_accounting_module"
fi
ngx_module_deps="$ngx_module_deps $STREAM_ACCOUNTING_DEPS"
ngx_module_srcs="$ngx_module_srcs $STREAM_ACCOUNTING_SRCS"
fi
. auto/module