ngx_addon_name=ngx_http_auth_totp_module

DEPS="$ngx_addon_dir/ngx_http_auth_totp.h"
SRCS="$ngx_addon_dir/ngx_http_auth_totp.c"

LIBS="-lcrypto"

if test -n "$ngx_module_link"; then
    ngx_module_type=HTTP
    ngx_module_name=$ngx_addon_name
    ngx_module_deps=$DEPS
    ngx_module_srcs=$SRCS
    ngx_module_libs=$LIBS
    . auto/module
else
    HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
    NGX_ADDON_DEPS="$NGX_ADDON_DEPS $DEPS"
    NGX_ADDON_SRCS="$NGX_ADDON_SRCS $SRCS"
    NGX_ADDON_LIBS="$NGX_ADDON_LIBS $LIBS"
fi
