mirror of https://github.com/alibaba/tengine.git

4 changed files with 73 additions and 14 deletions
-
9docs/modules/ngx_http_dubbo_module.md
-
8docs/modules/ngx_http_dubbo_module_cn.md
-
43modules/mod_dubbo/config
-
27modules/ngx_multi_upstream_module/config
@ -1,7 +1,40 @@ |
|||
HTTP_MODULES="$HTTP_MODULES ngx_http_dubbo_module" |
|||
CORE_DEPS="$CORE_DEPS $ngx_addon_dir/ngx_http_dubbo_module.h $ngx_addon_dir/ngx_dubbo.h" |
|||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_dubbo_util.cpp $ngx_addon_dir/utils/objects.cc $ngx_addon_dir/utils/utils.cc $ngx_addon_dir/hessian2/hessian2_ext.cc $ngx_addon_dir/hessian2/hessian2_input.cc $ngx_addon_dir/hessian2/hessian2_output.cc $ngx_addon_dir/ngx_dubbo.c $ngx_addon_dir/ngx_http_dubbo_module.c" |
|||
HTTP_INCS="$HTTP_INCS $ngx_addon_dir $ngx_addon_dir/utils $ngx_addon_dir/hessian $ngx_addon_dir/hessian2" |
|||
have=T_NGX_DUBBO . auto/have |
|||
ngx_addon_name=ngx_http_dubbo_module |
|||
|
|||
HTTP_DUBBO_DEPS=" \ |
|||
$ngx_addon_dir/ngx_http_dubbo_module.h \ |
|||
$ngx_addon_dir/ngx_dubbo.h" |
|||
|
|||
HTTP_DUBBO_SRCS=" \ |
|||
$ngx_addon_dir/ngx_dubbo_util.cpp \ |
|||
$ngx_addon_dir/utils/objects.cc \ |
|||
$ngx_addon_dir/utils/utils.cc \ |
|||
$ngx_addon_dir/hessian2/hessian2_ext.cc \ |
|||
$ngx_addon_dir/hessian2/hessian2_input.cc \ |
|||
$ngx_addon_dir/hessian2/hessian2_output.cc \ |
|||
$ngx_addon_dir/ngx_dubbo.c \ |
|||
$ngx_addon_dir/ngx_http_dubbo_module.c" |
|||
|
|||
ngx_module_incs=" \ |
|||
$ngx_addon_dir \ |
|||
$ngx_addon_dir/utils \ |
|||
$ngx_addon_dir/hessian2" |
|||
|
|||
CORE_LIBS="$CORE_LIBS -lstdc++" |
|||
|
|||
if test -n "$ngx_module_link"; then |
|||
ngx_module_type=HTTP |
|||
ngx_module_name=$ngx_addon_name |
|||
ngx_module_deps="$HTTP_DUBBO_DEPS" |
|||
ngx_module_srcs="$HTTP_DUBBO_SRCS" |
|||
|
|||
. auto/module |
|||
else |
|||
HTTP_MODULES="$HTTP_MODULES $ngx_addon_name" |
|||
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HTTP_DUBBO_DEPS" |
|||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HTTP_DUBBO_SRCS" |
|||
|
|||
CORE_INCS="$CORE_INCS $ngx_module_incs" |
|||
fi |
|||
|
|||
have=T_NGX_DUBBO . auto/have |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue