ngx_addon_name=ngx_toolkit_module


CORE_MODULES="$CORE_MODULES                                     \
             ngx_http_dynamic_module                            \
             "

EVENT_MODULES="$EVENT_MODULES                                   \
              ngx_event_timer_module                            \
              ngx_dynamic_conf_module                           \
              ngx_event_resolver_module                         \
              ngx_dynamic_resolver_module                       \
              "

HTTP_MODULES="$HTTP_MODULES                                     \
             ngx_http_dynamic_core_module                       \
             ngx_http_trace_module                              \
             "

NGX_ADDON_SRCS="$NGX_ADDON_SRCS                                 \
               $ngx_addon_dir/ngx_event_timer_module.c          \
               $ngx_addon_dir/ngx_event_resolver.c              \
               $ngx_addon_dir/ngx_dynamic_resolver.c            \
               $ngx_addon_dir/ngx_dynamic_conf.c                \
               $ngx_addon_dir/ngx_http_dynamic.c                \
               $ngx_addon_dir/ngx_toolkit_misc.c                \
               $ngx_addon_dir/ngx_map.c                         \
               $ngx_addon_dir/ngx_rbuf.c                        \
               $ngx_addon_dir/ngx_poold.c                       \
               $ngx_addon_dir/ngx_timerd.c                      \
               $ngx_addon_dir/ngx_http_trace_module.c           \
               "

NGX_ADDON_DEPS="$NGX_ADDON_DEPS                                 \
               $ngx_addon_dir/ngx_event_timer_module.h          \
               $ngx_addon_dir/ngx_event_resolver.h              \
               $ngx_addon_dir/ngx_dynamic_resolver.h            \
               $ngx_addon_dir/ngx_dynamic_conf.h                \
               $ngx_addon_dir/ngx_http_dynamic.h                \
               $ngx_addon_dir/ngx_toolkit_misc.h                \
               $ngx_addon_dir/ngx_map.h                         \
               $ngx_addon_dir/ngx_rbuf.h                        \
               $ngx_addon_dir/ngx_poold.h                       \
               $ngx_addon_dir/ngx_timerd.h                      \
               "

CFLAGS="$CFLAGS -I $ngx_addon_dir"
