nginx 0.7.8
[nginx-catap.git] / auto / sources
blob82734ddb9b35e6b27c4bdb297ba611b3fbbae507
2 # Copyright (C) Igor Sysoev
5 CORE_MODULES="ngx_core_module ngx_errlog_module ngx_conf_module"
7 CORE_INCS="src/core"
9 CORE_DEPS="src/core/nginx.h \
10            src/core/ngx_config.h \
11            src/core/ngx_core.h \
12            src/core/ngx_log.h \
13            src/core/ngx_palloc.h \
14            src/core/ngx_array.h \
15            src/core/ngx_list.h \
16            src/core/ngx_hash.h \
17            src/core/ngx_buf.h \
18            src/core/ngx_queue.h \
19            src/core/ngx_string.h \
20            src/core/ngx_parse.h \
21            src/core/ngx_inet.h \
22            src/core/ngx_file.h \
23            src/core/ngx_crc.h \
24            src/core/ngx_crc32.h \
25            src/core/ngx_md5.h \
26            src/core/ngx_sha1.h \
27            src/core/ngx_rbtree.h \
28            src/core/ngx_radix_tree.h \
29            src/core/ngx_slab.h \
30            src/core/ngx_times.h \
31            src/core/ngx_shmtx.h \
32            src/core/ngx_connection.h \
33            src/core/ngx_cycle.h \
34            src/core/ngx_conf_file.h \
35            src/core/ngx_resolver.h \
36            src/core/ngx_open_file_cache.h \
37            src/core/ngx_garbage_collector.h"
40 CORE_SRCS="src/core/nginx.c \
41            src/core/ngx_log.c \
42            src/core/ngx_palloc.c \
43            src/core/ngx_array.c \
44            src/core/ngx_list.c \
45            src/core/ngx_hash.c \
46            src/core/ngx_buf.c \
47            src/core/ngx_queue.c \
48            src/core/ngx_output_chain.c \
49            src/core/ngx_string.c \
50            src/core/ngx_parse.c \
51            src/core/ngx_inet.c \
52            src/core/ngx_file.c \
53            src/core/ngx_crc32.c \
54            src/core/ngx_rbtree.c \
55            src/core/ngx_radix_tree.c \
56            src/core/ngx_slab.c \
57            src/core/ngx_times.c \
58            src/core/ngx_shmtx.c \
59            src/core/ngx_connection.c \
60            src/core/ngx_cycle.c \
61            src/core/ngx_spinlock.c \
62            src/core/ngx_cpuinfo.c \
63            src/core/ngx_conf_file.c \
64            src/core/ngx_resolver.c \
65            src/core/ngx_open_file_cache.c \
66            src/core/ngx_garbage_collector.c"
69 REGEX_DEPS=src/core/ngx_regex.h
70 REGEX_SRCS=src/core/ngx_regex.c
73 OPENSSL_MODULE=ngx_openssl_module
74 OPENSSL_DEPS=src/event/ngx_event_openssl.h
75 OPENSSL_SRCS=src/event/ngx_event_openssl.c
78 EVENT_MODULES="ngx_events_module ngx_event_core_module"
80 EVENT_INCS="src/event src/event/modules"
82 EVENT_DEPS="src/event/ngx_event.h \
83             src/event/ngx_event_timer.h \
84             src/event/ngx_event_posted.h \
85             src/event/ngx_event_busy_lock.h \
86             src/event/ngx_event_connect.h \
87             src/event/ngx_event_pipe.h"
89 EVENT_SRCS="src/event/ngx_event.c \
90             src/event/ngx_event_timer.c \
91             src/event/ngx_event_posted.c \
92             src/event/ngx_event_busy_lock.c \
93             src/event/ngx_event_accept.c \
94             src/event/ngx_event_connect.c \
95             src/event/ngx_event_pipe.c"
98 SELECT_MODULE=ngx_select_module
99 SELECT_SRCS=src/event/modules/ngx_select_module.c
101 POLL_MODULE=ngx_poll_module
102 POLL_SRCS=src/event/modules/ngx_poll_module.c
104 KQUEUE_MODULE=ngx_kqueue_module
105 KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c
107 DEVPOLL_MODULE=ngx_devpoll_module
108 DEVPOLL_SRCS=src/event/modules/ngx_devpoll_module.c
110 EVENTPORT_MODULE=ngx_eventport_module
111 EVENTPORT_SRCS=src/event/modules/ngx_eventport_module.c
113 EPOLL_MODULE=ngx_epoll_module
114 EPOLL_SRCS=src/event/modules/ngx_epoll_module.c
116 RTSIG_MODULE=ngx_rtsig_module
117 RTSIG_SRCS=src/event/modules/ngx_rtsig_module.c
119 IOCP_MODULE=ngx_iocp_module
120 IOCP_SRCS=src/event/modules/ngx_iocp_module.c
122 AIO_MODULE=ngx_aio_module
123 AIO_SRCS="src/event/modules/ngx_aio_module.c \
124           src/os/unix/ngx_aio_read.c \
125           src/os/unix/ngx_aio_write.c \
126           src/os/unix/ngx_aio_read_chain.c \
127           src/os/unix/ngx_aio_write_chain.c"
130 UNIX_INCS="$CORE_INCS $EVENT_INCS src/os/unix"
132 UNIX_DEPS="$CORE_DEPS $EVENT_DEPS \
133             src/os/unix/ngx_time.h \
134             src/os/unix/ngx_types.h \
135             src/os/unix/ngx_errno.h \
136             src/os/unix/ngx_alloc.h \
137             src/os/unix/ngx_files.h \
138             src/os/unix/ngx_channel.h \
139             src/os/unix/ngx_shmem.h \
140             src/os/unix/ngx_process.h \
141             src/os/unix/ngx_setproctitle.h \
142             src/os/unix/ngx_atomic.h \
143             src/os/unix/ngx_gcc_atomic_x86.h \
144             src/os/unix/ngx_thread.h \
145             src/os/unix/ngx_socket.h \
146             src/os/unix/ngx_os.h \
147             src/os/unix/ngx_user.h \
148             src/os/unix/ngx_process_cycle.h"
150 # add to UNIX_DEPS
151 #            src/os/unix/ngx_gcc_atomic_amd64.h \
152 #            src/os/unix/ngx_gcc_atomic_sparc64.h \
153 #            src/os/unix/ngx_gcc_atomic_ppc.h \
154 #            src/os/unix/ngx_sunpro_atomic_sparc64.h \
155 #            src/os/unix/ngx_sunpro_x86.il \
156 #            src/os/unix/ngx_sunpro_amd64.il \
157 #            src/os/unix/ngx_sunpro_sparc64.il \
160 UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
161             src/os/unix/ngx_time.c \
162             src/os/unix/ngx_errno.c \
163             src/os/unix/ngx_alloc.c \
164             src/os/unix/ngx_files.c \
165             src/os/unix/ngx_socket.c \
166             src/os/unix/ngx_recv.c \
167             src/os/unix/ngx_readv_chain.c \
168             src/os/unix/ngx_udp_recv.c \
169             src/os/unix/ngx_send.c \
170             src/os/unix/ngx_writev_chain.c \
171             src/os/unix/ngx_channel.c \
172             src/os/unix/ngx_shmem.c \
173             src/os/unix/ngx_process.c \
174             src/os/unix/ngx_daemon.c \
175             src/os/unix/ngx_setproctitle.c \
176             src/os/unix/ngx_posix_init.c \
177             src/os/unix/ngx_user.c \
178             src/os/unix/ngx_process_cycle.c"
180 POSIX_DEPS=src/os/unix/ngx_posix_config.h
182 FREEBSD_DEPS="src/os/unix/ngx_freebsd_config.h src/os/unix/ngx_freebsd.h"
183 FREEBSD_SRCS=src/os/unix/ngx_freebsd_init.c
184 FREEBSD_SENDFILE_SRCS=src/os/unix/ngx_freebsd_sendfile_chain.c
185 FREEBSD_RFORK_DEPS="src/os/unix/ngx_freebsd_rfork_thread.h"
186 FREEBSD_RFORK_SRCS="src/os/unix/ngx_freebsd_rfork_thread.c"
187 FREEBSD_RFORK_THREAD_SRCS="src/os/unix/rfork_thread.S"
189 PTHREAD_SRCS="src/os/unix/ngx_pthread_thread.c"
191 LINUX_DEPS="src/os/unix/ngx_linux_config.h src/os/unix/ngx_linux.h"
192 LINUX_SRCS=src/os/unix/ngx_linux_init.c
193 LINUX_SENDFILE_SRCS=src/os/unix/ngx_linux_sendfile_chain.c
196 SOLARIS_DEPS="src/os/unix/ngx_solaris_config.h src/os/unix/ngx_solaris.h"
197 SOLARIS_SRCS=src/os/unix/ngx_solaris_init.c
198 SOLARIS_SENDFILEV_SRCS=src/os/unix/ngx_solaris_sendfilev_chain.c
201 DARWIN_DEPS="src/os/unix/ngx_darwin_config.h src/os/unix/ngx_darwin.h"
202 DARWIN_SRCS=src/os/unix/ngx_darwin_init.c
203 DARWIN_SENDFILE_SRCS=src/os/unix/ngx_darwin_sendfile_chain.c
206 WIN32_INCS="$CORE_INCS $EVENT_INCS src/os/win32"
208 WIN32_DEPS="$CORE_DEPS $EVENT_DEPS \
209             src/os/win32/ngx_win32_config.h \
210             src/os/win32/ngx_time.h \
211             src/os/win32/ngx_types.h \
212             src/os/win32/ngx_errno.h \
213             src/os/win32/ngx_alloc.h \
214             src/os/win32/ngx_files.h \
215             src/os/win32/ngx_shmem.h \
216             src/os/win32/ngx_process.h \
217             src/os/win32/ngx_atomic.h \
218             src/os/win32/ngx_thread.h \
219             src/os/win32/ngx_socket.h \
220             src/os/win32/ngx_os.h \
221             src/os/win32/ngx_user.h \
222             src/os/win32/ngx_gui.h \
223             src/os/win32/ngx_gui_resources.h \
224             src/os/win32/ngx_process_cycle.h"
226 WIN32_CONFIG=src/os/win32/ngx_win32_config.h
228 WIN32_SRCS="$CORE_SRCS $EVENT_SRCS \
229             src/os/win32/ngx_errno.c \
230             src/os/win32/ngx_alloc.c \
231             src/os/win32/ngx_files.c \
232             src/os/win32/ngx_shmem.c \
233             src/os/win32/ngx_time.c \
234             src/os/win32/ngx_process.c \
235             src/os/win32/ngx_thread.c \
236             src/os/win32/ngx_socket.c \
237             src/os/win32/ngx_wsarecv.c \
238             src/os/win32/ngx_wsarecv_chain.c \
239             src/os/win32/ngx_udp_wsarecv.c \
240             src/os/win32/ngx_wsasend_chain.c \
241             src/os/win32/ngx_win32_init.c \
242             src/os/win32/ngx_user.c \
243             src/os/win32/ngx_gui.c \
244             src/os/win32/ngx_process_cycle.c \
245             src/event/ngx_event_acceptex.c"
247 NGX_WIN32_ICONS="src/os/win32/nginx.ico src/os/win32/nginx_tray.ico"
248 NGX_WIN32_RC="src/os/win32/nginx.rc"
251 # the http modules that have their logging formats
252 # must be after ngx_http_log_module
254 HTTP_MODULES="ngx_http_module \
255               ngx_http_core_module \
256               ngx_http_log_module \
257               ngx_http_upstream_module"
259 HTTP_CACHE_MODULE=ngx_http_cache_module
261 HTTP_WRITE_FILTER_MODULE="ngx_http_write_filter_module"
262 HTTP_HEADER_FILTER_MODULE="ngx_http_header_filter_module"
264 HTTP_POSTPONE_FILTER_MODULE=ngx_http_postpone_filter_module
265 HTTP_COPY_FILTER_MODULE=ngx_http_copy_filter_module
267 HTTP_CHUNKED_FILTER_MODULE=ngx_http_chunked_filter_module
268 HTTP_HEADERS_FILTER_MODULE=ngx_http_headers_filter_module
270 HTTP_RANGE_HEADER_FILTER_MODULE=ngx_http_range_header_filter_module
271 HTTP_RANGE_BODY_FILTER_MODULE=ngx_http_range_body_filter_module
273 HTTP_NOT_MODIFIED_FILTER_MODULE=ngx_http_not_modified_filter_module
275 HTTP_STATIC_MODULE=ngx_http_static_module
276 HTTP_INDEX_MODULE=ngx_http_index_module
278 HTTP_INCS="src/http src/http/modules"
280 HTTP_DEPS="src/http/ngx_http.h \
281            src/http/ngx_http_request.h \
282            src/http/ngx_http_config.h \
283            src/http/ngx_http_core_module.h \
284            src/http/ngx_http_cache.h \
285            src/http/ngx_http_variables.h \
286            src/http/ngx_http_script.h \
287            src/http/ngx_http_upstream.h \
288            src/http/ngx_http_upstream_round_robin.h \
289            src/http/ngx_http_busy_lock.h"
291 HTTP_SRCS="src/http/ngx_http.c \
292            src/http/ngx_http_core_module.c \
293            src/http/ngx_http_special_response.c \
294            src/http/ngx_http_request.c \
295            src/http/ngx_http_parse.c \
296            src/http/ngx_http_header_filter_module.c \
297            src/http/ngx_http_write_filter_module.c \
298            src/http/ngx_http_copy_filter_module.c \
299            src/http/modules/ngx_http_log_module.c \
300            src/http/ngx_http_request_body.c \
301            src/http/ngx_http_variables.c \
302            src/http/ngx_http_script.c \
303            src/http/ngx_http_upstream.c \
304            src/http/ngx_http_upstream_round_robin.c \
305            src/http/ngx_http_parse_time.c \
306            src/http/modules/ngx_http_static_module.c \
307            src/http/modules/ngx_http_index_module.c \
308            src/http/modules/ngx_http_chunked_filter_module.c \
309            src/http/modules/ngx_http_range_filter_module.c \
310            src/http/modules/ngx_http_headers_filter_module.c \
311            src/http/modules/ngx_http_not_modified_filter_module.c"
313 # STUB
314 HTTP_SRCS="$HTTP_SRCS src/http/ngx_http_busy_lock.c"
316 HTTP_POSTPONE_FILTER_SRCS=src/http/ngx_http_postpone_filter_module.c
318 HTTP_CACHE_SRCS=src/http/ngx_http_cache.c
319 HTTP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c
322 HTTP_CHARSET_FILTER_MODULE=ngx_http_charset_filter_module
323 HTTP_CHARSET_SRCS=src/http/modules/ngx_http_charset_filter_module.c
326 HTTP_GZIP_FILTER_MODULE=ngx_http_gzip_filter_module
327 HTTP_GZIP_SRCS=src/http/modules/ngx_http_gzip_filter_module.c
330 HTTP_SSI_FILTER_MODULE=ngx_http_ssi_filter_module
331 HTTP_SSI_DEPS=src/http/modules/ngx_http_ssi_filter_module.h
332 HTTP_SSI_SRCS=src/http/modules/ngx_http_ssi_filter_module.c
335 HTTP_XSLT_FILTER_MODULE=ngx_http_xslt_filter_module
336 HTTP_XSLT_SRCS=src/http/modules/ngx_http_xslt_filter_module.c
339 HTTP_SUB_FILTER_MODULE=ngx_http_sub_filter_module
340 HTTP_SUB_SRCS=src/http/modules/ngx_http_sub_filter_module.c
343 HTTP_USERID_FILTER_MODULE=ngx_http_userid_filter_module
344 HTTP_USERID_SRCS=src/http/modules/ngx_http_userid_filter_module.c
347 HTTP_REALIP_MODULE=ngx_http_realip_module
348 HTTP_REALIP_SRCS=src/http/modules/ngx_http_realip_module.c
351 HTTP_ADDITION_FILTER_MODULE=ngx_http_addition_filter_module
352 HTTP_ADDITION_SRCS=src/http/modules/ngx_http_addition_filter_module.c
355 HTTP_DAV_MODULE=ngx_http_dav_module
356 HTTP_DAV_SRCS=src/http/modules/ngx_http_dav_module.c
359 HTTP_ACCESS_MODULE=ngx_http_access_module
360 HTTP_ACCESS_SRCS=src/http/modules/ngx_http_access_module.c
363 HTTP_AUTH_BASIC_MODULE=ngx_http_auth_basic_module
364 HTTP_AUTH_BASIC_SRCS=src/http/modules/ngx_http_auth_basic_module.c
367 HTTP_AUTOINDEX_MODULE=ngx_http_autoindex_module
368 HTTP_AUTOINDEX_SRCS=src/http/modules/ngx_http_autoindex_module.c
371 HTTP_STATUS_MODULE=ngx_http_status_module
372 HTTP_STATUS_SRCS=src/http/modules/ngx_http_status_module.c
375 HTTP_GEO_MODULE=ngx_http_geo_module
376 HTTP_GEO_SRCS=src/http/modules/ngx_http_geo_module.c
379 HTTP_MAP_MODULE=ngx_http_map_module
380 HTTP_MAP_SRCS=src/http/modules/ngx_http_map_module.c
383 HTTP_REFERER_MODULE=ngx_http_referer_module
384 HTTP_REFERER_SRCS=src/http/modules/ngx_http_referer_module.c
387 HTTP_REWRITE_MODULE=ngx_http_rewrite_module
388 HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_module.c
391 HTTP_SSL_MODULE=ngx_http_ssl_module
392 HTTP_SSL_DEPS=src/http/modules/ngx_http_ssl_module.h
393 HTTP_SSL_SRCS=src/http/modules/ngx_http_ssl_module.c
396 HTTP_PROXY_MODULE=ngx_http_proxy_module
397 HTTP_PROXY_SRCS=src/http/modules/ngx_http_proxy_module.c
400 HTTP_FASTCGI_MODULE=ngx_http_fastcgi_module
401 HTTP_FASTCGI_SRCS=src/http/modules/ngx_http_fastcgi_module.c
404 HTTP_PERL_MODULE=ngx_http_perl_module
405 HTTP_PERL_INCS=src/http/modules/perl
406 HTTP_PERL_DEPS=src/http/modules/perl/ngx_http_perl_module.h
407 HTTP_PERL_SRCS=src/http/modules/perl/ngx_http_perl_module.c
410 HTTP_MEMCACHED_MODULE=ngx_http_memcached_module
411 HTTP_MEMCACHED_SRCS=src/http/modules/ngx_http_memcached_module.c
414 HTTP_LIMIT_ZONE_MODULE=ngx_http_limit_zone_module
415 HTTP_LIMIT_ZONE_SRCS=src/http/modules/ngx_http_limit_zone_module.c
418 HTTP_EMPTY_GIF_MODULE=ngx_http_empty_gif_module
419 HTTP_EMPTY_GIF_SRCS=src/http/modules/ngx_http_empty_gif_module.c
422 HTTP_BROWSER_MODULE=ngx_http_browser_module
423 HTTP_BROWSER_SRCS=src/http/modules/ngx_http_browser_module.c
426 HTTP_FLV_MODULE=ngx_http_flv_module
427 HTTP_FLV_SRCS=src/http/modules/ngx_http_flv_module.c
430 HTTP_GZIP_STATIC_MODULE=ngx_http_gzip_static_module
431 HTTP_GZIP_STATIC_SRCS=src/http/modules/ngx_http_gzip_static_module.c
434 HTTP_UPSTREAM_IP_HASH_MODULE=ngx_http_upstream_ip_hash_module
435 HTTP_UPSTREAM_IP_HASH_SRCS=src/http/modules/ngx_http_upstream_ip_hash_module.c
438 MAIL_INCS="src/mail"
440 MAIL_DEPS="src/mail/ngx_mail.h"
442 MAIL_MODULES="ngx_mail_module ngx_mail_core_module"
444 MAIL_SRCS="src/mail/ngx_mail.c \
445            src/mail/ngx_mail_core_module.c \
446            src/mail/ngx_mail_handler.c \
447            src/mail/ngx_mail_parse.c"
449 MAIL_POP3_MODULE="ngx_mail_pop3_module"
450 MAIL_POP3_DEPS="src/mail/ngx_mail_pop3_module.h"
451 MAIL_POP3_SRCS="src/mail/ngx_mail_pop3_module.c \
452                 src/mail/ngx_mail_pop3_handler.c"
454 MAIL_IMAP_MODULE="ngx_mail_imap_module"
455 MAIL_IMAP_DEPS="src/mail/ngx_mail_imap_module.h"
456 MAIL_IMAP_SRCS="src/mail/ngx_mail_imap_module.c \
457                 src/mail/ngx_mail_imap_handler.c"
459 MAIL_SMTP_MODULE="ngx_mail_smtp_module"
460 MAIL_SMTP_DEPS="src/mail/ngx_mail_smtp_module.h"
461 MAIL_SMTP_SRCS="src/mail/ngx_mail_smtp_module.c \
462                 src/mail/ngx_mail_smtp_handler.c"
464 MAIL_SSL_MODULE="ngx_mail_ssl_module"
465 MAIL_SSL_DEPS="src/mail/ngx_mail_ssl_module.h"
466 MAIL_SSL_SRCS="src/mail/ngx_mail_ssl_module.c"
468 MAIL_AUTH_HTTP_MODULE="ngx_mail_auth_http_module"
469 MAIL_AUTH_HTTP_SRCS="src/mail/ngx_mail_auth_http_module.c"
471 MAIL_PROXY_MODULE="ngx_mail_proxy_module"
472 MAIL_PROXY_SRCS="src/mail/ngx_mail_proxy_module.c"
474 NGX_GOOGLE_PERFTOOLS_MODULE=ngx_google_perftools_module
475 NGX_GOOGLE_PERFTOOLS_SRCS=src/misc/ngx_google_perftools_module.c