Added all the rest of the project files. It doesn't work as an nginx module yet I need to find the error.
This commit is contained in:
27
config
Executable file
27
config
Executable file
@@ -0,0 +1,27 @@
|
||||
ngx_addon_name=ngx_http_webdav_module
|
||||
|
||||
HEADERS_MORE_SRCS="$ngx_addon_dir/ngx_http_webdav_module.c $ngx_addon_dir/ngx_http_webdav_utils.c"
|
||||
|
||||
HEADERS_MORE_DEPS="$ngx_addon_dir/ngx_http_webdav_module.h $ngx_addon_dir/ngx_http_webdav_utils.h"
|
||||
|
||||
if test -n "$ngx_module_link"; then
|
||||
ngx_module_type=HTTP_AUX_FILTER
|
||||
ngx_module_name=$ngx_addon_name
|
||||
ngx_module_incs=
|
||||
ngx_module_deps="$HEADERS_MORE_DEPS"
|
||||
ngx_module_srcs="$HEADERS_MORE_SRCS"
|
||||
|
||||
# nginx has robust builtin support for linking against
|
||||
# libxml2+libxslt. This is definitelty the right way to go if
|
||||
# building nginx with the xslt module, in which case libxslt will
|
||||
# be linked anyway. In other cases libxslt is just redundant.
|
||||
# If that's a big deal, libxml2 can be linked directly:
|
||||
# ngx_module_libs=-lxml2
|
||||
ngx_module_libs=LIBXSLT
|
||||
|
||||
. auto/module
|
||||
else
|
||||
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name"
|
||||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HEADERS_MORE_SRCS"
|
||||
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HEADERS_MORE_DEPS"
|
||||
fi
|
||||
Reference in New Issue
Block a user