comparison auto/sources @ 6382:392959224560

Dynamic modules: auto/module script. This script simplifies configuration of additional modules, including 3rd party ones. The script is extensible, and will be used to introduce dynamic linking of modules in upcoming changes. 3rd party module config scripts are called with ngx_module_link preset to "ADDON" - this allows config scripts to call auto/module without ngx_module_link explicitly defined, as well as testing if new interface is in place if compatibility with older nginx versions is desired. In collaboration with Ruslan Ermilov.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 04 Feb 2016 18:30:21 +0300
parents 7142b04337d6
children 8f038068f4bc
comparison
equal deleted inserted replaced
6381:c529555949b7 6382:392959224560
78 src/core/ngx_crypt.c \ 78 src/core/ngx_crypt.c \
79 src/core/ngx_proxy_protocol.c \ 79 src/core/ngx_proxy_protocol.c \
80 src/core/ngx_syslog.c" 80 src/core/ngx_syslog.c"
81 81
82 82
83 REGEX_MODULE=ngx_regex_module
84 REGEX_DEPS=src/core/ngx_regex.h
85 REGEX_SRCS=src/core/ngx_regex.c
86
87
88 OPENSSL_MODULE=ngx_openssl_module
89 OPENSSL_DEPS=src/event/ngx_event_openssl.h
90 OPENSSL_SRCS="src/event/ngx_event_openssl.c \
91 src/event/ngx_event_openssl_stapling.c"
92
93
94 EVENT_MODULES="ngx_events_module ngx_event_core_module" 83 EVENT_MODULES="ngx_events_module ngx_event_core_module"
95 84
96 EVENT_INCS="src/event src/event/modules" 85 EVENT_INCS="src/event src/event/modules"
97 86
98 EVENT_DEPS="src/event/ngx_event.h \ 87 EVENT_DEPS="src/event/ngx_event.h \
258 247
259 NGX_WIN32_ICONS="src/os/win32/nginx.ico" 248 NGX_WIN32_ICONS="src/os/win32/nginx.ico"
260 NGX_WIN32_RC="src/os/win32/nginx.rc" 249 NGX_WIN32_RC="src/os/win32/nginx.rc"
261 250
262 251
263 HTTP_MODULES="ngx_http_module \
264 ngx_http_core_module \
265 ngx_http_log_module \
266 ngx_http_upstream_module"
267
268 HTTP_WRITE_FILTER_MODULE="ngx_http_write_filter_module"
269 HTTP_HEADER_FILTER_MODULE="ngx_http_header_filter_module"
270
271 HTTP_POSTPONE_FILTER_MODULE=ngx_http_postpone_filter_module
272 HTTP_COPY_FILTER_MODULE=ngx_http_copy_filter_module
273
274 HTTP_CHUNKED_FILTER_MODULE=ngx_http_chunked_filter_module
275 HTTP_HEADERS_FILTER_MODULE=ngx_http_headers_filter_module
276
277 HTTP_RANGE_HEADER_FILTER_MODULE=ngx_http_range_header_filter_module
278 HTTP_RANGE_BODY_FILTER_MODULE=ngx_http_range_body_filter_module
279
280 HTTP_NOT_MODIFIED_FILTER_MODULE=ngx_http_not_modified_filter_module
281
282 HTTP_STATIC_MODULE=ngx_http_static_module
283 HTTP_INDEX_MODULE=ngx_http_index_module
284
285 HTTP_INCS="src/http src/http/modules"
286
287 HTTP_DEPS="src/http/ngx_http.h \
288 src/http/ngx_http_request.h \
289 src/http/ngx_http_config.h \
290 src/http/ngx_http_core_module.h \
291 src/http/ngx_http_cache.h \
292 src/http/ngx_http_variables.h \
293 src/http/ngx_http_script.h \
294 src/http/ngx_http_upstream.h \
295 src/http/ngx_http_upstream_round_robin.h"
296
297 HTTP_SRCS="src/http/ngx_http.c \
298 src/http/ngx_http_core_module.c \
299 src/http/ngx_http_special_response.c \
300 src/http/ngx_http_request.c \
301 src/http/ngx_http_parse.c \
302 src/http/ngx_http_header_filter_module.c \
303 src/http/ngx_http_write_filter_module.c \
304 src/http/ngx_http_copy_filter_module.c \
305 src/http/modules/ngx_http_log_module.c \
306 src/http/ngx_http_request_body.c \
307 src/http/ngx_http_variables.c \
308 src/http/ngx_http_script.c \
309 src/http/ngx_http_upstream.c \
310 src/http/ngx_http_upstream_round_robin.c \
311 src/http/modules/ngx_http_static_module.c \
312 src/http/modules/ngx_http_index_module.c \
313 src/http/modules/ngx_http_chunked_filter_module.c \
314 src/http/modules/ngx_http_range_filter_module.c \
315 src/http/modules/ngx_http_headers_filter_module.c \
316 src/http/modules/ngx_http_not_modified_filter_module.c"
317
318 HTTP_POSTPONE_FILTER_SRCS=src/http/ngx_http_postpone_filter_module.c
319
320 HTTP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c 252 HTTP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c
321
322
323 HTTP_V2_MODULE=ngx_http_v2_module
324 HTTP_V2_FILTER_MODULE=ngx_http_v2_filter_module
325 HTTP_V2_INCS="src/http/v2"
326 HTTP_V2_DEPS="src/http/v2/ngx_http_v2.h \
327 src/http/v2/ngx_http_v2_module.h"
328 HTTP_V2_SRCS="src/http/v2/ngx_http_v2.c \
329 src/http/v2/ngx_http_v2_table.c \
330 src/http/v2/ngx_http_v2_huff_decode.c \
331 src/http/v2/ngx_http_v2_huff_encode.c \
332 src/http/v2/ngx_http_v2_module.c \
333 src/http/v2/ngx_http_v2_filter_module.c"
334
335
336 HTTP_CHARSET_FILTER_MODULE=ngx_http_charset_filter_module
337 HTTP_CHARSET_SRCS=src/http/modules/ngx_http_charset_filter_module.c
338
339
340 HTTP_GZIP_FILTER_MODULE=ngx_http_gzip_filter_module
341 HTTP_GZIP_SRCS=src/http/modules/ngx_http_gzip_filter_module.c
342
343
344 HTTP_GUNZIP_FILTER_MODULE=ngx_http_gunzip_filter_module
345 HTTP_GUNZIP_SRCS=src/http/modules/ngx_http_gunzip_filter_module.c
346
347
348 HTTP_SSI_FILTER_MODULE=ngx_http_ssi_filter_module
349 HTTP_SSI_DEPS=src/http/modules/ngx_http_ssi_filter_module.h
350 HTTP_SSI_SRCS=src/http/modules/ngx_http_ssi_filter_module.c
351
352
353 HTTP_XSLT_FILTER_MODULE=ngx_http_xslt_filter_module
354 HTTP_XSLT_SRCS=src/http/modules/ngx_http_xslt_filter_module.c
355
356
357 HTTP_IMAGE_FILTER_MODULE=ngx_http_image_filter_module
358 HTTP_IMAGE_SRCS=src/http/modules/ngx_http_image_filter_module.c
359
360
361 HTTP_SUB_FILTER_MODULE=ngx_http_sub_filter_module
362 HTTP_SUB_SRCS=src/http/modules/ngx_http_sub_filter_module.c
363
364
365 HTTP_USERID_FILTER_MODULE=ngx_http_userid_filter_module
366 HTTP_USERID_SRCS=src/http/modules/ngx_http_userid_filter_module.c
367
368
369 HTTP_SLICE_FILTER_MODULE=ngx_http_slice_filter_module
370 HTTP_SLICE_SRCS=src/http/modules/ngx_http_slice_filter_module.c
371
372
373 HTTP_REALIP_MODULE=ngx_http_realip_module
374 HTTP_REALIP_SRCS=src/http/modules/ngx_http_realip_module.c
375
376
377 HTTP_ADDITION_FILTER_MODULE=ngx_http_addition_filter_module
378 HTTP_ADDITION_SRCS=src/http/modules/ngx_http_addition_filter_module.c
379
380
381 HTTP_DAV_MODULE=ngx_http_dav_module
382 HTTP_DAV_SRCS=src/http/modules/ngx_http_dav_module.c
383
384
385 HTTP_ACCESS_MODULE=ngx_http_access_module
386 HTTP_ACCESS_SRCS=src/http/modules/ngx_http_access_module.c
387
388
389 HTTP_AUTH_BASIC_MODULE=ngx_http_auth_basic_module
390 HTTP_AUTH_BASIC_SRCS=src/http/modules/ngx_http_auth_basic_module.c
391
392
393 HTTP_AUTH_REQUEST_MODULE=ngx_http_auth_request_module
394 HTTP_AUTH_REQUEST_SRCS=src/http/modules/ngx_http_auth_request_module.c
395
396
397 HTTP_AUTOINDEX_MODULE=ngx_http_autoindex_module
398 HTTP_AUTOINDEX_SRCS=src/http/modules/ngx_http_autoindex_module.c
399
400
401 HTTP_RANDOM_INDEX_MODULE=ngx_http_random_index_module
402 HTTP_RANDOM_INDEX_SRCS=src/http/modules/ngx_http_random_index_module.c
403
404
405 HTTP_STATUS_MODULE=ngx_http_status_module
406 HTTP_STATUS_SRCS=src/http/modules/ngx_http_status_module.c
407
408
409 HTTP_GEO_MODULE=ngx_http_geo_module
410 HTTP_GEO_SRCS=src/http/modules/ngx_http_geo_module.c
411
412
413 HTTP_GEOIP_MODULE=ngx_http_geoip_module
414 HTTP_GEOIP_SRCS=src/http/modules/ngx_http_geoip_module.c
415
416
417 HTTP_MAP_MODULE=ngx_http_map_module
418 HTTP_MAP_SRCS=src/http/modules/ngx_http_map_module.c
419
420
421 HTTP_SPLIT_CLIENTS_MODULE=ngx_http_split_clients_module
422 HTTP_SPLIT_CLIENTS_SRCS=src/http/modules/ngx_http_split_clients_module.c
423
424
425 HTTP_REFERER_MODULE=ngx_http_referer_module
426 HTTP_REFERER_SRCS=src/http/modules/ngx_http_referer_module.c
427
428
429 HTTP_REWRITE_MODULE=ngx_http_rewrite_module
430 HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_module.c
431
432
433 HTTP_SSL_MODULE=ngx_http_ssl_module
434 HTTP_SSL_DEPS=src/http/modules/ngx_http_ssl_module.h
435 HTTP_SSL_SRCS=src/http/modules/ngx_http_ssl_module.c
436
437
438 HTTP_PROXY_MODULE=ngx_http_proxy_module
439 HTTP_PROXY_SRCS=src/http/modules/ngx_http_proxy_module.c
440
441
442 HTTP_FASTCGI_MODULE=ngx_http_fastcgi_module
443 HTTP_FASTCGI_SRCS=src/http/modules/ngx_http_fastcgi_module.c
444
445
446 HTTP_UWSGI_MODULE=ngx_http_uwsgi_module
447 HTTP_UWSGI_SRCS=src/http/modules/ngx_http_uwsgi_module.c
448
449
450 HTTP_SCGI_MODULE=ngx_http_scgi_module
451 HTTP_SCGI_SRCS=src/http/modules/ngx_http_scgi_module.c
452
453
454 HTTP_PERL_MODULE=ngx_http_perl_module
455 HTTP_PERL_INCS=src/http/modules/perl
456 HTTP_PERL_DEPS=src/http/modules/perl/ngx_http_perl_module.h
457 HTTP_PERL_SRCS=src/http/modules/perl/ngx_http_perl_module.c
458
459
460 HTTP_MEMCACHED_MODULE=ngx_http_memcached_module
461 HTTP_MEMCACHED_SRCS=src/http/modules/ngx_http_memcached_module.c
462
463
464 HTTP_LIMIT_CONN_MODULE=ngx_http_limit_conn_module
465 HTTP_LIMIT_CONN_SRCS=src/http/modules/ngx_http_limit_conn_module.c
466
467
468 HTTP_LIMIT_REQ_MODULE=ngx_http_limit_req_module
469 HTTP_LIMIT_REQ_SRCS=src/http/modules/ngx_http_limit_req_module.c
470
471
472 HTTP_EMPTY_GIF_MODULE=ngx_http_empty_gif_module
473 HTTP_EMPTY_GIF_SRCS=src/http/modules/ngx_http_empty_gif_module.c
474
475
476 HTTP_BROWSER_MODULE=ngx_http_browser_module
477 HTTP_BROWSER_SRCS=src/http/modules/ngx_http_browser_module.c
478
479
480 HTTP_SECURE_LINK_MODULE=ngx_http_secure_link_module
481 HTTP_SECURE_LINK_SRCS=src/http/modules/ngx_http_secure_link_module.c
482
483
484 HTTP_DEGRADATION_MODULE=ngx_http_degradation_module
485 HTTP_DEGRADATION_SRCS=src/http/modules/ngx_http_degradation_module.c
486
487
488 HTTP_FLV_MODULE=ngx_http_flv_module
489 HTTP_FLV_SRCS=src/http/modules/ngx_http_flv_module.c
490
491
492 HTTP_MP4_MODULE=ngx_http_mp4_module
493 HTTP_MP4_SRCS=src/http/modules/ngx_http_mp4_module.c
494
495
496 HTTP_GZIP_STATIC_MODULE=ngx_http_gzip_static_module
497 HTTP_GZIP_STATIC_SRCS=src/http/modules/ngx_http_gzip_static_module.c
498
499
500 HTTP_UPSTREAM_HASH_MODULE=ngx_http_upstream_hash_module
501 HTTP_UPSTREAM_HASH_SRCS=src/http/modules/ngx_http_upstream_hash_module.c
502
503
504 HTTP_UPSTREAM_IP_HASH_MODULE=ngx_http_upstream_ip_hash_module
505 HTTP_UPSTREAM_IP_HASH_SRCS=src/http/modules/ngx_http_upstream_ip_hash_module.c
506
507
508 HTTP_UPSTREAM_LEAST_CONN_MODULE=ngx_http_upstream_least_conn_module
509 HTTP_UPSTREAM_LEAST_CONN_SRCS=" \
510 src/http/modules/ngx_http_upstream_least_conn_module.c"
511
512
513 HTTP_UPSTREAM_KEEPALIVE_MODULE=ngx_http_upstream_keepalive_module
514 HTTP_UPSTREAM_KEEPALIVE_SRCS=" \
515 src/http/modules/ngx_http_upstream_keepalive_module.c"
516
517
518 HTTP_UPSTREAM_ZONE_MODULE=ngx_http_upstream_zone_module
519 HTTP_UPSTREAM_ZONE_SRCS=" \
520 src/http/modules/ngx_http_upstream_zone_module.c"
521
522
523 MAIL_INCS="src/mail"
524
525 MAIL_DEPS="src/mail/ngx_mail.h"
526
527 MAIL_MODULES="ngx_mail_module ngx_mail_core_module"
528
529 MAIL_SRCS="src/mail/ngx_mail.c \
530 src/mail/ngx_mail_core_module.c \
531 src/mail/ngx_mail_handler.c \
532 src/mail/ngx_mail_parse.c"
533
534 MAIL_POP3_MODULE="ngx_mail_pop3_module"
535 MAIL_POP3_DEPS="src/mail/ngx_mail_pop3_module.h"
536 MAIL_POP3_SRCS="src/mail/ngx_mail_pop3_module.c \
537 src/mail/ngx_mail_pop3_handler.c"
538
539 MAIL_IMAP_MODULE="ngx_mail_imap_module"
540 MAIL_IMAP_DEPS="src/mail/ngx_mail_imap_module.h"
541 MAIL_IMAP_SRCS="src/mail/ngx_mail_imap_module.c \
542 src/mail/ngx_mail_imap_handler.c"
543
544 MAIL_SMTP_MODULE="ngx_mail_smtp_module"
545 MAIL_SMTP_DEPS="src/mail/ngx_mail_smtp_module.h"
546 MAIL_SMTP_SRCS="src/mail/ngx_mail_smtp_module.c \
547 src/mail/ngx_mail_smtp_handler.c"
548
549 MAIL_SSL_MODULE="ngx_mail_ssl_module"
550 MAIL_SSL_DEPS="src/mail/ngx_mail_ssl_module.h"
551 MAIL_SSL_SRCS="src/mail/ngx_mail_ssl_module.c"
552
553 MAIL_AUTH_HTTP_MODULE="ngx_mail_auth_http_module"
554 MAIL_AUTH_HTTP_SRCS="src/mail/ngx_mail_auth_http_module.c"
555
556 MAIL_PROXY_MODULE="ngx_mail_proxy_module"
557 MAIL_PROXY_SRCS="src/mail/ngx_mail_proxy_module.c"
558
559
560 STREAM_INCS="src/stream"
561
562 STREAM_DEPS="src/stream/ngx_stream.h \
563 src/stream/ngx_stream_upstream.h \
564 src/stream/ngx_stream_upstream_round_robin.h"
565
566 STREAM_MODULES="ngx_stream_module \
567 ngx_stream_core_module \
568 ngx_stream_proxy_module \
569 ngx_stream_upstream_module"
570
571 STREAM_SRCS="src/stream/ngx_stream.c \
572 src/stream/ngx_stream_handler.c \
573 src/stream/ngx_stream_core_module.c \
574 src/stream/ngx_stream_proxy_module.c \
575 src/stream/ngx_stream_upstream.c \
576 src/stream/ngx_stream_upstream_round_robin.c"
577
578 STREAM_SSL_MODULE="ngx_stream_ssl_module"
579 STREAM_SSL_DEPS="src/stream/ngx_stream_ssl_module.h"
580 STREAM_SSL_SRCS="src/stream/ngx_stream_ssl_module.c"
581
582 STREAM_LIMIT_CONN_MODULE=ngx_stream_limit_conn_module
583 STREAM_LIMIT_CONN_SRCS=src/stream/ngx_stream_limit_conn_module.c
584
585 STREAM_ACCESS_MODULE=ngx_stream_access_module
586 STREAM_ACCESS_SRCS=src/stream/ngx_stream_access_module.c
587
588 STREAM_UPSTREAM_HASH_MODULE=ngx_stream_upstream_hash_module
589 STREAM_UPSTREAM_HASH_SRCS=src/stream/ngx_stream_upstream_hash_module.c
590
591 STREAM_UPSTREAM_LEAST_CONN_MODULE=ngx_stream_upstream_least_conn_module
592 STREAM_UPSTREAM_LEAST_CONN_SRCS=" \
593 src/stream/ngx_stream_upstream_least_conn_module.c"
594
595 STREAM_UPSTREAM_ZONE_MODULE=ngx_stream_upstream_zone_module
596 STREAM_UPSTREAM_ZONE_SRCS=src/stream/ngx_stream_upstream_zone_module.c
597
598
599 NGX_GOOGLE_PERFTOOLS_MODULE=ngx_google_perftools_module
600 NGX_GOOGLE_PERFTOOLS_SRCS=src/misc/ngx_google_perftools_module.c
601
602 NGX_CPP_TEST_SRCS=src/misc/ngx_cpp_test_module.cpp