ngx_module_name=ngx_http_websockify_module

if test -n "$ngx_module_link"; then
    ngx_module_type=HTTP_AUX_FILTER
    ngx_module_srcs="$ngx_addon_dir/ngx_http_websockify_module.c"
    ngx_module_deps="$ngx_addon_dir/websocket.h"
    ngx_module_libs=SHA1

    . auto/module

    ngx_addon_name=$ngx_module_name
else
    HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_websockify_module" 
    NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_websockify_module.c" 
    NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/websocket.h" 
    CORE_LIBS="$CORE_LIBS"
fi

