-
Notifications
You must be signed in to change notification settings - Fork 108
/
config
27 lines (24 loc) · 1.01 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
ngx_addon_name=ngx_dynamic_upstream_module
DYNAMIC_UPSTREAM_SRCS=" \
$ngx_addon_dir/src/ngx_dynamic_upstream_module.c \
$ngx_addon_dir/src/ngx_dynamic_upstream_op.c \
$ngx_addon_dir/src/ngx_inet_slab.c \
"
DYNAMIC_UPSTREAM_DEPS=" \
$ngx_addon_dir/src/ngx_dynamic_upstream_module.h \
$ngx_addon_dir/src/ngx_dynamic_upstream_op.h \
$ngx_addon_dir/src/ngx_inet_slab.h \
"
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=
. 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