Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin authored Apr 17, 2017
1 parent c3026e4 commit 15a6781
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions config
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
ngx_addon_name=ngx_http_execute_module

EXECUTE_SRCS=" \
$ngx_addon_dir/ngx_http_execute_module.c \
$ngx_addon_dir/ngx_process.c \
$ngx_addon_dir/ngx_result.c \
"

EXECUTE_DEPS=" \
$ngx_addon_dir/ngx_str.h \
$ngx_addon_dir/ngx_result.h \
"

if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_execute_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_execute_module.c $ngx_addon_dir/ngx_process.c $ngx_addon_dir/ngx_result.c"
ngx_module_deps="$EXECUTE_DEPS"
ngx_module_srcs="$EXECUTE_SRCS"

. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_execute_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_execute_module.c $ngx_addon_dir/ngx_process.c $ngx_addon_dir/ngx_result.c"
fi
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $EXECUTE_SRCS"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $EXECUTE_DEPS"
fi

0 comments on commit 15a6781

Please sign in to comment.