aboutsummaryrefslogtreecommitdiff
path: root/auto/sources
blob: 1b3ffda68938c4f296109783cc4355e6bc634cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
CORE_MODULES="ngx_core_module ngx_errlog_module"

CORE_INCS="-I src/core"

CORE_DEPS="src/core/nginx.h \
            src/core/ngx_config.h \
            src/core/ngx_atomic.h \
            src/core/ngx_log.h \
            src/core/ngx_alloc.h \
            src/core/ngx_array.h \
            src/core/ngx_table.h \
            src/core/ngx_hunk.h \
            src/core/ngx_string.h \
            src/core/ngx_parse.h \
            src/core/ngx_inet.h \
            src/core/ngx_file.h \
            src/core/ngx_crc.h \
            src/core/ngx_rbtree.h \
            src/core/ngx_times.h \
            src/core/ngx_connection.h \
            src/core/ngx_conf_file.h \
            src/core/ngx_garbage_collector.h"

CORE_SRCS="src/core/nginx.c \
            src/core/ngx_log.c \
            src/core/ngx_alloc.c \
            src/core/ngx_array.c \
            src/core/ngx_hunk.c \
            src/core/ngx_output_chain.c \
            src/core/ngx_string.c \
            src/core/ngx_parse.c \
            src/core/ngx_inet.c \
            src/core/ngx_file.c \
            src/core/ngx_rbtree.c \
            src/core/ngx_times.c \
            src/core/ngx_conf_file.c \
            src/core/ngx_garbage_collector.c"


REGEX_DEPS="src/core/ngx_regex.h"
REGEX_SRCS="src/core/ngx_regex.c"


EVENT_MODULES="ngx_events_module ngx_event_core_module"

EVENT_INCS="-I src/event -I src/event/modules"

EVENT_DEPS="src/event/ngx_event.h \
            src/event/ngx_event_timer.h \
            src/event/ngx_event_connect.h \
            src/event/ngx_event_pipe.h"

EVENT_SRCS="src/event/ngx_event.c \
            src/event/ngx_event_timer.c \
            src/event/ngx_event_close.c \
            src/event/ngx_event_accept.c \
            src/event/ngx_event_connect.c \
            src/event/ngx_event_pipe.c"


SELECT_MODULE="ngx_select_module"
SELECT_SRCS=src/event/modules/ngx_select_module.c

POLL_MODULE="ngx_poll_module"
POLL_SRCS=src/event/modules/ngx_poll_module.c

KQUEUE_MODULE="ngx_kqueue_module"
KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c

DEVPOLL_MODULE="ngx_devpoll_module"
DEVPOLL_SRCS=src/event/modules/ngx_devpoll_module.c

IOCP_MODULE="ngx_iocp_module"
IOCP_SRCS=src/event/modules/ngx_iocp_module.c

AIO_MODULE="ngx_aio_module"
AIO_SRCS=src/event/modules/ngx_aio_module.c


UNIX_INCS="$CORE_INCS $EVENT_INCS -I src/os/unix"

UNIX_DEPS="$CORE_DEPS $EVENT_DEPS \
            src/os/unix/ngx_time.h \
            src/os/unix/ngx_types.h \
            src/os/unix/ngx_errno.h \
            src/os/unix/ngx_files.h \
            src/os/unix/ngx_process.h \
            src/os/unix/ngx_socket.h \
            src/os/unix/ngx_os.h"

UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
            src/os/unix/ngx_time.c \
            src/os/unix/ngx_errno.c \
            src/os/unix/ngx_sendv.c \
            src/os/unix/ngx_files.c \
            src/os/unix/ngx_socket.c \
            src/os/unix/ngx_recv.c \
            src/os/unix/ngx_readv_chain.c \
            src/os/unix/ngx_writev_chain.c \
            src/os/unix/ngx_posix_init.c \
            src/os/unix/ngx_process.c \
            src/os/unix/ngx_daemon.c"

FREEBSD_DEPS=src/os/unix/ngx_freebsd_config.h
FREEBSD_SRCS=src/os/unix/ngx_freebsd_init.c
FREEBSD_SENDFILE_SRCS=src/os/unix/ngx_freebsd_sendfile_chain.c


LINUX_DEPS=src/os/unix/ngx_linux_config.h
LINUX_SRCS=src/os/unix/ngx_linux_init.c
LINUX_SENDFILE_SRCS=src/os/unix/ngx_linux_sendfile_chain.c


SOLARIS_DEPS=src/os/unix/ngx_solaris_config.h
SOLARIS_SRCS=src/os/unix/ngx_solaris_init.c
SOLARIS_SENDFILEV_SRCS=src/os/unix/ngx_solaris_sendfilev_chain.c


WIN32_INCS="$CORE_INCS $EVENT_INCS -I src/os/win32"

WIN32_DEPS="$CORE_DEPS $EVENT_DEPS \
            src/os/win32/ngx_win32_config.h \
            src/os/win32/ngx_time.h \
            src/os/win32/ngx_types.h \
            src/os/win32/ngx_errno.h \
            src/os/win32/ngx_files.h \
            src/os/win32/ngx_process.h \
            src/os/win32/ngx_socket.h \
            src/os/win32/ngx_os.h"

WIN32_SRCS="$CORE_SRCS $EVENT_SRCS \
            src/os/win32/ngx_errno.c \
            src/os/win32/ngx_files.c \
            src/os/win32/ngx_time.c \
            src/os/win32/ngx_socket.c \
            src/os/win32/ngx_wsarecv.c \
            src/os/win32/ngx_wsarecv_chain.c \
            src/os/win32/ngx_wsasend_chain.c \
            src/os/win32/ngx_sendv.c \
            src/os/win32/ngx_win32_init.c \
            src/event/ngx_event_acceptex.c"


HTTP_MODULES="ngx_http_module \
            ngx_http_core_module \
            ngx_http_log_module \
            ngx_http_cache_module"

HTTP_FILTER_MODULES="ngx_http_write_filter_module \
            ngx_http_output_filter_module \
            ngx_http_header_filter_module"

HTTP_CHUNKED_FILTER_MODULE=ngx_http_chunked_filter_module
HTTP_RANGE_FILTER_MODULE=ngx_http_range_filter_module
HTTP_CHARSET_FILTER_MODULE=ngx_http_charset_filter_module
HTTP_NOT_MODIFIED_FILTER_MODULE=ngx_http_not_modified_filter_module

HTTP_STATIC_MODULE=ngx_http_static_module
HTTP_INDEX_MODULE=ngx_http_index_module

HTTP_INCS="-I src/http -I src/http/modules"

HTTP_DEPS="src/http/ngx_http.h \
            src/http/ngx_http_request.h \
            src/http/ngx_http_filter.h \
            src/http/ngx_http_config.h \
            src/http/ngx_http_core_module.h \
            src/http/ngx_http_cache.h \
            src/http/ngx_http_busy_lock.h \
            src/http/ngx_http_log_handler.h"

HTTP_SRCS="src/http/ngx_http.c \
            src/http/ngx_http_core_module.c \
            src/http/ngx_http_special_response.c \
            src/http/ngx_http_request.c \
            src/http/ngx_http_cache.c \
            src/http/ngx_http_file_cache.c \
            src/http/ngx_http_busy_lock.c \
            src/http/ngx_http_parse.c \
            src/http/ngx_http_headers.c \
            src/http/ngx_http_header_filter.c \
            src/http/ngx_http_write_filter.c \
            src/http/ngx_http_output_filter.c \
            src/http/ngx_http_log_handler.c \
            src/http/ngx_http_request_body.c \
            src/http/ngx_http_parse_time.c \
            src/http/modules/ngx_http_static_handler.c \
            src/http/modules/ngx_http_index_handler.c \
            src/http/modules/ngx_http_chunked_filter.c \
            src/http/modules/ngx_http_range_filter.c \
            src/http/modules/ngx_http_charset_filter.c \
            src/http/modules/ngx_http_not_modified_filter.c"


HTTP_REWRITE_MODULE=ngx_http_rewrite_module
HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_handler.c


HTTP_GZIP_FILTER_MODULE=ngx_http_gzip_filter_module
HTTP_GZIP_SRCS=src/http/modules/ngx_http_gzip_filter.c
HTTP_GZIP_UNIX_LIBS=-lz
HTTP_GZIP_WIN_LIBS=zlib.lib


HTTP_PROXY_MODULE=ngx_http_proxy_module
HTTP_PROXY_INCS="-I src/http/modules/proxy"
HTTP_PROXY_DEPS=src/http/modules/proxy/ngx_http_proxy_handler.h
HTTP_PROXY_SRCS="src/http/modules/proxy/ngx_http_proxy_handler.c \
            src/http/modules/proxy/ngx_http_proxy_upstream.c \
            src/http/modules/proxy/ngx_http_proxy_cache.c \
            src/http/modules/proxy/ngx_http_proxy_parse.c \
            src/http/modules/proxy/ngx_http_proxy_header.c"