forked from xiaokai-wang/nginx-stream-upsync-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
27 lines (21 loc) · 691 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
ngx_addon_name=ngx_stream_upsync_module
ngx_feature_libs="-lm"
ngx_module_incs=$ngx_addon_dir/src
_STREAM_UPSYNC_SRCS="\
$ngx_addon_dir/src/ngx_stream_upsync_module.c \
$ngx_addon_dir/src/ngx_stream_json.c \
$ngx_addon_dir/src/ngx_stream_http_parser.c \
"
have=NGX_STREAM_UPSYNC . auto/have
if test -n "$ngx_module_link"; then
ngx_module_type=STREAM
ngx_module_name=$ngx_addon_name
ngx_module_srcs="$_STREAM_UPSYNC_SRCS"
ngx_module_libs=$ngx_feature_libs
. auto/module
else
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $_STREAM_UPSYNC_SRCS"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
CORE_INCS="$CORE_INCS $ngx_module_incs"
STREAM_MODULES="$STREAM_MODULES $ngx_addon_name"
fi