File: config

package info (click to toggle)
libnginx-mod-http-memc 0.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: ansic: 2,905; perl: 120; sh: 115; makefile: 9
file content (31 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (2)
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