|
1 | 1 | ngx_addon_name=ngx_http_srcache_filter_module
|
2 |
| -HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_srcache_filter_module" |
3 |
| -NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_srcache_filter_module.c $ngx_addon_dir/src/ngx_http_srcache_util.c $ngx_addon_dir/src/ngx_http_srcache_var.c $ngx_addon_dir/src/ngx_http_srcache_store.c $ngx_addon_dir/src/ngx_http_srcache_fetch.c $ngx_addon_dir/src/ngx_http_srcache_headers.c" |
4 |
| -NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/src/ddebug.h $ngx_addon_dir/src/ngx_http_srcache_filter_module.h $ngx_addon_dir/src/ngx_http_srcache_util.h $ngx_addon_dir/src/ngx_http_srcache_var.h $ngx_addon_dir/src/ngx_http_srcache_fetch.h $ngx_addon_dir/src/ngx_http_srcache_store.h $ngx_addon_dir/src/ngx_http_srcache_headers.h" |
5 | 2 |
|
| 3 | +HTTP_SRCACHE_FILTER_SRCS=" \ |
| 4 | + $ngx_addon_dir/src/ngx_http_srcache_filter_module.c \ |
| 5 | + $ngx_addon_dir/src/ngx_http_srcache_util.c \ |
| 6 | + $ngx_addon_dir/src/ngx_http_srcache_var.c \ |
| 7 | + $ngx_addon_dir/src/ngx_http_srcache_store.c \ |
| 8 | + $ngx_addon_dir/src/ngx_http_srcache_fetch.c \ |
| 9 | + $ngx_addon_dir/src/ngx_http_srcache_headers.c \ |
| 10 | + " |
| 11 | + |
| 12 | +HTTP_SRCACHE_FILTER_DEPS=" \ |
| 13 | + $ngx_addon_dir/src/ddebug.h \ |
| 14 | + $ngx_addon_dir/src/ngx_http_srcache_filter_module.h \ |
| 15 | + $ngx_addon_dir/src/ngx_http_srcache_util.h \ |
| 16 | + $ngx_addon_dir/src/ngx_http_srcache_var.h \ |
| 17 | + $ngx_addon_dir/src/ngx_http_srcache_fetch.h \ |
| 18 | + $ngx_addon_dir/src/ngx_http_srcache_store.h \ |
| 19 | + $ngx_addon_dir/src/ngx_http_srcache_headers.h \ |
| 20 | + " |
| 21 | + |
| 22 | +if [ -n "$ngx_module_link" ]; then |
| 23 | + ngx_module_type=HTTP_AUX_FILTER |
| 24 | + ngx_module_name=$ngx_addon_name |
| 25 | + ngx_module_srcs="$HTTP_SRCACHE_FILTER_SRCS" |
| 26 | + ngx_module_deps="$HTTP_SRCACHE_FILTER_DEPS" |
| 27 | + |
| 28 | + . auto/module |
| 29 | +else |
| 30 | + HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name" |
| 31 | + NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HTTP_SRCACHE_FILTER_SRCS" |
| 32 | + NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HTTP_SRCACHE_FILTER_DEPS" |
| 33 | +fi |
0 commit comments