summaryrefslogtreecommitdiff
path: root/redis2-nginx-module-0.15/config
blob: bd0c3a948d5faf732ecbffb9a0aec8521d3186c9 (plain)
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
ngx_addon_name=ngx_http_redis2_module

REDIS2_SRCS="                                                               \
            $ngx_addon_dir/src/ngx_http_redis2_module.c                     \
            $ngx_addon_dir/src/ngx_http_redis2_handler.c                    \
            $ngx_addon_dir/src/ngx_http_redis2_reply.c                      \
            $ngx_addon_dir/src/ngx_http_redis2_util.c                       \
            "

REDIS2_DEPS="                                                               \
            $ngx_addon_dir/src/ddebug.h                                     \
            $ngx_addon_dir/src/ngx_http_redis2_module.h                     \
            $ngx_addon_dir/src/ngx_http_redis2_handler.h                    \
            $ngx_addon_dir/src/ngx_http_redis2_reply.h                      \
            $ngx_addon_dir/src/ngx_http_redis2_util.h                       \
            "

if [ -n "$ngx_module_link" ]; then
    ngx_module_type=HTTP
    ngx_module_name=$ngx_addon_name
    ngx_module_srcs="$REDIS2_SRCS"
    ngx_module_deps="$REDIS2_DEPS"

    . auto/module
else
    HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
    NGX_ADDON_SRCS="$NGX_ADDON_SRCS $REDIS2_SRCS"
    NGX_ADDON_DEPS="$NGX_ADDON_DEPS $REDIS2_DEPS"
fi