forked from openresty/memc-nginx-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
31 lines (27 loc) · 1.37 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
ngx_addon_name=ngx_http_memc_module
MEMC_SRCS=" \
$ngx_addon_dir/src/ngx_http_memc_module.c \
$ngx_addon_dir/src/ngx_http_memc_request.c \
$ngx_addon_dir/src/ngx_http_memc_response.c \
$ngx_addon_dir/src/ngx_http_memc_util.c \
$ngx_addon_dir/src/ngx_http_memc_handler.c \
"
MEMC_DEPS=" \
$ngx_addon_dir/src/ddebug.h \
$ngx_addon_dir/src/ngx_http_memc_module.h \
$ngx_addon_dir/src/ngx_http_memc_request.h \
$ngx_addon_dir/src/ngx_http_memc_response.h \
$ngx_addon_dir/src/ngx_http_memc_util.h \
$ngx_addon_dir/src/ngx_http_memc_handler.h \
"
if [ -n "$ngx_module_link" ]; then
ngx_module_type=HTTP
ngx_module_name=$ngx_addon_name
ngx_module_srcs="$MEMC_SRCS"
ngx_module_deps="$MEMC_DEPS"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $MEMC_SRCS"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $MEMC_DEPS"
fi