forked from cubicdaiya/ngx_dynamic_upstream
-
Notifications
You must be signed in to change notification settings - Fork 11
/
config
30 lines (26 loc) · 972 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
28
29
30
ngx_addon_name=" \
ngx_http_dynamic_upstream_module \
ngx_stream_dynamic_upstream_module \
"
DYNAMIC_UPSTREAM_SRCS=" \
$ngx_addon_dir/src/ngx_http_dynamic_upstream_module.cpp \
$ngx_addon_dir/src/ngx_dynamic_upstream_op.cpp \
"
DYNAMIC_UPSTREAM_DEPS=" \
$ngx_addon_dir/src/ngx_dynamic_upstream_module.h \
$ngx_addon_dir/src/ngx_dynamic_upstream_op.h \
"
CORE_INCS="$CORE_INCS $ngx_addon_dir/src"
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=$ngx_addon_name
ngx_module_incs=
ngx_module_deps="$DYNAMIC_UPSTREAM_DEPS"
ngx_module_srcs="$DYNAMIC_UPSTREAM_SRCS"
ngx_module_libs="-lstdc++ -lpthread"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $DYNAMIC_UPSTREAM_SRCS"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $DYNAMIC_UPSTREAM_DEPS"
fi