Skip to content

Commit e77178f

Browse files
committed
config: some refactoring.
1 parent 443753c commit e77178f

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

config

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
ngx_addon_name=ngx_http_headers_more_filter_module
2-
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_headers_more_filter_module"
3-
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_headers_more_filter_module.c $ngx_addon_dir/src/ngx_http_headers_more_headers_out.c $ngx_addon_dir/src/ngx_http_headers_more_headers_in.c $ngx_addon_dir/src/ngx_http_headers_more_util.c"
4-
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/src/ddebug.h $ngx_addon_dir/src/ngx_http_headers_more_filter_module.h $ngx_addon_dir/src/ngx_http_headers_more_headers_in.h $ngx_addon_dir/src/ngx_http_headers_more_headers_out.h $ngx_addon_dir/src/ngx_http_headers_more_headers_in.h $ngx_addon_dir/src/ngx_http_headers_more_util.h"
52

3+
HEADERS_MORE_SRCS=" \
4+
$ngx_addon_dir/src/ngx_http_headers_more_filter_module.c \
5+
$ngx_addon_dir/src/ngx_http_headers_more_headers_out.c \
6+
$ngx_addon_dir/src/ngx_http_headers_more_headers_in.c \
7+
$ngx_addon_dir/src/ngx_http_headers_more_util.c \
8+
"
9+
10+
HEADERS_MORE_DEPS=" \
11+
$ngx_addon_dir/src/ddebug.h \
12+
$ngx_addon_dir/src/ngx_http_headers_more_filter_module.h \
13+
$ngx_addon_dir/src/ngx_http_headers_more_headers_in.h \
14+
$ngx_addon_dir/src/ngx_http_headers_more_headers_out.h \
15+
$ngx_addon_dir/src/ngx_http_headers_more_headers_in.h \
16+
$ngx_addon_dir/src/ngx_http_headers_more_util.h \
17+
"
18+
19+
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name"
20+
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HEADERS_MORE_SRCS"
21+
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HEADERS_MORE_DEPS"

0 commit comments

Comments
 (0)