blob: a4035ca66f5bccebf33778a31ec58d1d2eec9670 [file] [log] [blame]
Igor Sysoeva8fa0a62003-11-25 20:44:56 +00001
2CORE_MODULES="ngx_core_module ngx_errlog_module"
3
Igor Sysoev11dbe972004-03-29 17:43:58 +00004CORE_INCS="src/core"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +00005
6CORE_DEPS="src/core/nginx.h \
7 src/core/ngx_config.h \
Igor Sysoevb54698b2004-02-23 20:57:12 +00008 src/core/ngx_core.h \
Igor Sysoeve89c4582003-12-19 08:15:11 +00009 src/core/ngx_atomic.h \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000010 src/core/ngx_log.h \
11 src/core/ngx_alloc.h \
12 src/core/ngx_array.h \
13 src/core/ngx_table.h \
14 src/core/ngx_hunk.h \
15 src/core/ngx_string.h \
16 src/core/ngx_parse.h \
17 src/core/ngx_inet.h \
18 src/core/ngx_file.h \
Igor Sysoev865c1502003-11-30 20:03:18 +000019 src/core/ngx_crc.h \
Igor Sysoevf5003d82003-12-04 14:53:00 +000020 src/core/ngx_rbtree.h \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000021 src/core/ngx_times.h \
22 src/core/ngx_connection.h \
Igor Sysoev3c3ca172004-01-05 20:55:48 +000023 src/core/ngx_cycle.h \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000024 src/core/ngx_conf_file.h \
25 src/core/ngx_garbage_collector.h"
26
27CORE_SRCS="src/core/nginx.c \
28 src/core/ngx_log.c \
29 src/core/ngx_alloc.c \
30 src/core/ngx_array.c \
31 src/core/ngx_hunk.c \
32 src/core/ngx_output_chain.c \
33 src/core/ngx_string.c \
34 src/core/ngx_parse.c \
35 src/core/ngx_inet.c \
36 src/core/ngx_file.c \
Igor Sysoevf5003d82003-12-04 14:53:00 +000037 src/core/ngx_rbtree.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000038 src/core/ngx_times.c \
Igor Sysoev3c3ca172004-01-05 20:55:48 +000039 src/core/ngx_connection.c \
40 src/core/ngx_cycle.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000041 src/core/ngx_conf_file.c \
42 src/core/ngx_garbage_collector.c"
43
44
Igor Sysoeva4b16df2004-02-02 21:19:52 +000045REGEX_DEPS=src/core/ngx_regex.h
46REGEX_SRCS=src/core/ngx_regex.c
Igor Sysoeve89c4582003-12-19 08:15:11 +000047
48
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000049EVENT_MODULES="ngx_events_module ngx_event_core_module"
50
Igor Sysoev11dbe972004-03-29 17:43:58 +000051EVENT_INCS="src/event src/event/modules"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000052
53EVENT_DEPS="src/event/ngx_event.h \
54 src/event/ngx_event_timer.h \
Igor Sysoev9a864bd2004-04-04 20:32:09 +000055 src/event/ngx_event_posted.h \
Igor Sysoevea17edc2004-03-02 21:14:37 +000056 src/event/ngx_event_busy_lock.h \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000057 src/event/ngx_event_connect.h \
58 src/event/ngx_event_pipe.h"
59
60EVENT_SRCS="src/event/ngx_event.c \
61 src/event/ngx_event_timer.c \
Igor Sysoev9a864bd2004-04-04 20:32:09 +000062 src/event/ngx_event_posted.c \
Igor Sysoevea17edc2004-03-02 21:14:37 +000063 src/event/ngx_event_busy_lock.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000064 src/event/ngx_event_accept.c \
65 src/event/ngx_event_connect.c \
66 src/event/ngx_event_pipe.c"
67
68
Igor Sysoeva4b16df2004-02-02 21:19:52 +000069SELECT_MODULE=ngx_select_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000070SELECT_SRCS=src/event/modules/ngx_select_module.c
71
Igor Sysoeva4b16df2004-02-02 21:19:52 +000072POLL_MODULE=ngx_poll_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000073POLL_SRCS=src/event/modules/ngx_poll_module.c
74
Igor Sysoeva4b16df2004-02-02 21:19:52 +000075KQUEUE_MODULE=ngx_kqueue_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000076KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c
77
Igor Sysoeva4b16df2004-02-02 21:19:52 +000078DEVPOLL_MODULE=ngx_devpoll_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000079DEVPOLL_SRCS=src/event/modules/ngx_devpoll_module.c
80
Igor Sysoeva4b16df2004-02-02 21:19:52 +000081EPOLL_MODULE=ngx_epoll_module
Igor Sysoev10318a22004-01-29 21:45:01 +000082EPOLL_SRCS=src/event/modules/ngx_epoll_module.c
83
Igor Sysoev9139cd22004-02-17 17:53:12 +000084RTSIG_MODULE=ngx_rtsig_module
85RTSIG_SRCS=src/event/modules/ngx_rtsig_module.c
Igor Sysoevbbcea6c2004-01-30 17:39:00 +000086
Igor Sysoeva4b16df2004-02-02 21:19:52 +000087IOCP_MODULE=ngx_iocp_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000088IOCP_SRCS=src/event/modules/ngx_iocp_module.c
89
Igor Sysoeva4b16df2004-02-02 21:19:52 +000090AIO_MODULE=ngx_aio_module
91AIO_SRCS="src/event/modules/ngx_aio_module.c \
92 src/os/unix/ngx_aio_read.c \
93 src/os/unix/ngx_aio_write.c \
94 src/os/unix/ngx_aio_read_chain.c \
95 src/os/unix/ngx_aio_write_chain.c"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000096
97
Igor Sysoev11dbe972004-03-29 17:43:58 +000098UNIX_INCS="$CORE_INCS $EVENT_INCS src/os/unix"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000099
100UNIX_DEPS="$CORE_DEPS $EVENT_DEPS \
101 src/os/unix/ngx_time.h \
102 src/os/unix/ngx_types.h \
103 src/os/unix/ngx_errno.h \
104 src/os/unix/ngx_files.h \
105 src/os/unix/ngx_process.h \
Igor Sysoevb54698b2004-02-23 20:57:12 +0000106 src/os/unix/ngx_thread.h \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000107 src/os/unix/ngx_socket.h \
Igor Sysoeva5362982004-03-04 07:04:55 +0000108 src/os/unix/ngx_os.h \
109 src/os/unix/ngx_process_cycle.h"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000110
111UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
112 src/os/unix/ngx_time.c \
Igor Sysoevdc867cd2003-12-14 20:10:27 +0000113 src/os/unix/ngx_errno.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000114 src/os/unix/ngx_files.c \
115 src/os/unix/ngx_socket.c \
116 src/os/unix/ngx_recv.c \
117 src/os/unix/ngx_readv_chain.c \
118 src/os/unix/ngx_writev_chain.c \
Igor Sysoeva5362982004-03-04 07:04:55 +0000119 src/os/unix/ngx_daemon.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000120 src/os/unix/ngx_process.c \
Igor Sysoeva5362982004-03-04 07:04:55 +0000121 src/os/unix/ngx_posix_init.c \
122 src/os/unix/ngx_process_cycle.c"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000123
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000124FREEBSD_DEPS=src/os/unix/ngx_freebsd_config.h
125FREEBSD_SRCS=src/os/unix/ngx_freebsd_init.c
126FREEBSD_SENDFILE_SRCS=src/os/unix/ngx_freebsd_sendfile_chain.c
Igor Sysoevb54698b2004-02-23 20:57:12 +0000127FREEBSD_RFORK_SRCS="src/os/unix/ngx_freebsd_rfork_thread.c"
Igor Sysoev48fef662004-02-24 17:31:46 +0000128FREEBSD_RFORK_THREAD_SRCS="src/os/unix/rfork_thread.S"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000129
Igor Sysoevc0f8d912003-11-26 15:42:18 +0000130LINUX_DEPS=src/os/unix/ngx_linux_config.h
131LINUX_SRCS=src/os/unix/ngx_linux_init.c
132LINUX_SENDFILE_SRCS=src/os/unix/ngx_linux_sendfile_chain.c
133
134
135SOLARIS_DEPS=src/os/unix/ngx_solaris_config.h
136SOLARIS_SRCS=src/os/unix/ngx_solaris_init.c
Igor Sysoev0e499db2003-11-27 07:45:22 +0000137SOLARIS_SENDFILEV_SRCS=src/os/unix/ngx_solaris_sendfilev_chain.c
Igor Sysoevc0f8d912003-11-26 15:42:18 +0000138
139
Igor Sysoev11dbe972004-03-29 17:43:58 +0000140WIN32_INCS="$CORE_INCS $EVENT_INCS src/os/win32"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000141
142WIN32_DEPS="$CORE_DEPS $EVENT_DEPS \
143 src/os/win32/ngx_win32_config.h \
144 src/os/win32/ngx_time.h \
145 src/os/win32/ngx_types.h \
146 src/os/win32/ngx_errno.h \
147 src/os/win32/ngx_files.h \
148 src/os/win32/ngx_process.h \
149 src/os/win32/ngx_socket.h \
Igor Sysoeva5362982004-03-04 07:04:55 +0000150 src/os/win32/ngx_os.h \
151 src/os/win32/ngx_process_cycle.h"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000152
Igor Sysoevfc5a10a2004-03-09 19:47:07 +0000153WIN32_CONFIG=src/os/win32/ngx_win32_config.h
154
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000155WIN32_SRCS="$CORE_SRCS $EVENT_SRCS \
156 src/os/win32/ngx_errno.c \
157 src/os/win32/ngx_files.c \
158 src/os/win32/ngx_time.c \
Igor Sysoeva5362982004-03-04 07:04:55 +0000159 src/os/win32/ngx_process.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000160 src/os/win32/ngx_socket.c \
161 src/os/win32/ngx_wsarecv.c \
162 src/os/win32/ngx_wsarecv_chain.c \
163 src/os/win32/ngx_wsasend_chain.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000164 src/os/win32/ngx_win32_init.c \
Igor Sysoeva5362982004-03-04 07:04:55 +0000165 src/os/win32/ngx_process_cycle.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000166 src/event/ngx_event_acceptex.c"
167
168
169HTTP_MODULES="ngx_http_module \
170 ngx_http_core_module \
Igor Sysoev67f88e92004-03-12 16:57:08 +0000171 ngx_http_log_module"
172
173HTTP_FILE_CACHE_MODULE=ngx_http_cache_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000174
175HTTP_FILTER_MODULES="ngx_http_write_filter_module \
176 ngx_http_output_filter_module \
177 ngx_http_header_filter_module"
178
179HTTP_CHUNKED_FILTER_MODULE=ngx_http_chunked_filter_module
180HTTP_RANGE_FILTER_MODULE=ngx_http_range_filter_module
181HTTP_CHARSET_FILTER_MODULE=ngx_http_charset_filter_module
Igor Sysoev3f4685f2004-04-25 20:13:21 +0000182HTTP_HEADERS_FILTER_MODULE=ngx_http_headers_filter_module
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000183HTTP_NOT_MODIFIED_FILTER_MODULE=ngx_http_not_modified_filter_module
184
185HTTP_STATIC_MODULE=ngx_http_static_module
186HTTP_INDEX_MODULE=ngx_http_index_module
187
Igor Sysoev11dbe972004-03-29 17:43:58 +0000188HTTP_INCS="src/http src/http/modules"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000189
190HTTP_DEPS="src/http/ngx_http.h \
191 src/http/ngx_http_request.h \
192 src/http/ngx_http_filter.h \
193 src/http/ngx_http_config.h \
194 src/http/ngx_http_core_module.h \
195 src/http/ngx_http_cache.h \
196 src/http/ngx_http_busy_lock.h \
197 src/http/ngx_http_log_handler.h"
198
199HTTP_SRCS="src/http/ngx_http.c \
200 src/http/ngx_http_core_module.c \
201 src/http/ngx_http_special_response.c \
202 src/http/ngx_http_request.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000203 src/http/ngx_http_parse.c \
204 src/http/ngx_http_headers.c \
205 src/http/ngx_http_header_filter.c \
206 src/http/ngx_http_write_filter.c \
207 src/http/ngx_http_output_filter.c \
208 src/http/ngx_http_log_handler.c \
209 src/http/ngx_http_request_body.c \
210 src/http/ngx_http_parse_time.c \
211 src/http/modules/ngx_http_static_handler.c \
212 src/http/modules/ngx_http_index_handler.c \
213 src/http/modules/ngx_http_chunked_filter.c \
214 src/http/modules/ngx_http_range_filter.c \
215 src/http/modules/ngx_http_charset_filter.c \
Igor Sysoev3f4685f2004-04-25 20:13:21 +0000216 src/http/modules/ngx_http_headers_filter.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000217 src/http/modules/ngx_http_not_modified_filter.c"
218
Igor Sysoev67f88e92004-03-12 16:57:08 +0000219# STUB
220HTTP_SRCS="$HTTP_SRCS src/http/ngx_http_busy_lock.c"
221
222HTPP_CACHE_SRCS=src/http/ngx_http_cache.c
223HTPP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c
224
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000225
Igor Sysoev3b30a902003-12-25 20:26:58 +0000226HTTP_REWRITE_MODULE=ngx_http_rewrite_module
227HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_handler.c
228
229
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000230HTTP_GZIP_FILTER_MODULE=ngx_http_gzip_filter_module
231HTTP_GZIP_SRCS=src/http/modules/ngx_http_gzip_filter.c
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000232
233
Igor Sysoeve04084c2004-01-26 08:52:49 +0000234HTTP_SSI_FILTER_MODULE=ngx_http_ssi_filter_module
235HTTP_SSI_SRCS=src/http/modules/ngx_http_ssi_filter.c
236
237
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000238HTTP_PROXY_MODULE=ngx_http_proxy_module
Igor Sysoev11dbe972004-03-29 17:43:58 +0000239HTTP_PROXY_INCS="src/http/modules/proxy"
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000240HTTP_PROXY_DEPS=src/http/modules/proxy/ngx_http_proxy_handler.h
241HTTP_PROXY_SRCS="src/http/modules/proxy/ngx_http_proxy_handler.c \
242 src/http/modules/proxy/ngx_http_proxy_upstream.c \
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000243 src/http/modules/proxy/ngx_http_proxy_parse.c \
244 src/http/modules/proxy/ngx_http_proxy_header.c"
Igor Sysoev67f88e92004-03-12 16:57:08 +0000245
246# STUB
247# src/http/modules/proxy/ngx_http_proxy_cache.c \