forked from tony2001/ngx_http_pinba_module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
27 lines (23 loc) · 1006 Bytes
/
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
ngx_addon_name=ngx_http_pinba_module
HTTP_PINBA_MODULE_SRCS=" \
$ngx_addon_dir/src/ngx_http_pinba_module.c \
$ngx_addon_dir/src/pinba.pb-c.c \
$ngx_addon_dir/src/protobuf-c.c \
"
HTTP_PINBA_MODULE_DEPS=" \
$ngx_addon_dir/src/pinba.pb-c.h \
$ngx_addon_dir/src/protobuf-c.h \
$ngx_addon_dir/src/protobuf-c-private.h \
$ngx_addon_dir/src/uthash.h \
"
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=$ngx_addon_name
ngx_module_srcs="$HTTP_PINBA_MODULE_SRCS"
ngx_module_deps="$HTTP_PINBA_MODULE_DEPS"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HTTP_PINBA_MODULE_SRCS"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HTTP_PINBA_MODULE_DEPS"
fi