sources revision e18a033b
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Nginx, Inc.
4
5
6CORE_MODULES="ngx_core_module ngx_errlog_module ngx_conf_module"
7
8CORE_INCS="src/core"
9
10CORE_DEPS="src/core/nginx.h \
11           src/core/ngx_config.h \
12           src/core/ngx_core.h \
13           src/core/ngx_log.h \
14           src/core/ngx_palloc.h \
15           src/core/ngx_array.h \
16           src/core/ngx_list.h \
17           src/core/ngx_hash.h \
18           src/core/ngx_buf.h \
19           src/core/ngx_queue.h \
20           src/core/ngx_string.h \
21           src/core/ngx_parse.h \
22           src/core/ngx_parse_time.h \
23           src/core/ngx_inet.h \
24           src/core/ngx_file.h \
25           src/core/ngx_crc.h \
26           src/core/ngx_crc32.h \
27           src/core/ngx_murmurhash.h \
28           src/core/ngx_md5.h \
29           src/core/ngx_sha1.h \
30           src/core/ngx_rbtree.h \
31           src/core/ngx_radix_tree.h \
32           src/core/ngx_rwlock.h \
33           src/core/ngx_slab.h \
34           src/core/ngx_times.h \
35           src/core/ngx_shmtx.h \
36           src/core/ngx_connection.h \
37           src/core/ngx_cycle.h \
38           src/core/ngx_conf_file.h \
39           src/core/ngx_module.h \
40           src/core/ngx_resolver.h \
41           src/core/ngx_open_file_cache.h \
42           src/core/ngx_crypt.h \
43           src/core/ngx_proxy_protocol.h \
44           src/core/ngx_syslog.h"
45
46
47CORE_SRCS="src/core/nginx.c \
48           src/core/ngx_log.c \
49           src/core/ngx_palloc.c \
50           src/core/ngx_array.c \
51           src/core/ngx_list.c \
52           src/core/ngx_hash.c \
53           src/core/ngx_buf.c \
54           src/core/ngx_queue.c \
55           src/core/ngx_output_chain.c \
56           src/core/ngx_string.c \
57           src/core/ngx_parse.c \
58           src/core/ngx_parse_time.c \
59           src/core/ngx_inet.c \
60           src/core/ngx_file.c \
61           src/core/ngx_crc32.c \
62           src/core/ngx_murmurhash.c \
63           src/core/ngx_md5.c \
64           src/core/ngx_sha1.c \
65           src/core/ngx_rbtree.c \
66           src/core/ngx_radix_tree.c \
67           src/core/ngx_slab.c \
68           src/core/ngx_times.c \
69           src/core/ngx_shmtx.c \
70           src/core/ngx_connection.c \
71           src/core/ngx_cycle.c \
72           src/core/ngx_spinlock.c \
73           src/core/ngx_rwlock.c \
74           src/core/ngx_cpuinfo.c \
75           src/core/ngx_conf_file.c \
76           src/core/ngx_module.c \
77           src/core/ngx_resolver.c \
78           src/core/ngx_open_file_cache.c \
79           src/core/ngx_crypt.c \
80           src/core/ngx_proxy_protocol.c \
81           src/core/ngx_syslog.c"
82
83
84EVENT_MODULES="ngx_events_module ngx_event_core_module"
85
86EVENT_INCS="src/event src/event/modules"
87
88EVENT_DEPS="src/event/ngx_event.h \
89            src/event/ngx_event_timer.h \
90            src/event/ngx_event_posted.h \
91            src/event/ngx_event_connect.h \
92            src/event/ngx_event_pipe.h"
93
94EVENT_SRCS="src/event/ngx_event.c \
95            src/event/ngx_event_timer.c \
96            src/event/ngx_event_posted.c \
97            src/event/ngx_event_accept.c \
98            src/event/ngx_event_connect.c \
99            src/event/ngx_event_pipe.c"
100
101
102SELECT_MODULE=ngx_select_module
103SELECT_SRCS=src/event/modules/ngx_select_module.c
104WIN32_SELECT_SRCS=src/event/modules/ngx_win32_select_module.c
105
106POLL_MODULE=ngx_poll_module
107POLL_SRCS=src/event/modules/ngx_poll_module.c
108
109KQUEUE_MODULE=ngx_kqueue_module
110KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c
111
112DEVPOLL_MODULE=ngx_devpoll_module
113DEVPOLL_SRCS=src/event/modules/ngx_devpoll_module.c
114
115EVENTPORT_MODULE=ngx_eventport_module
116EVENTPORT_SRCS=src/event/modules/ngx_eventport_module.c
117
118EPOLL_MODULE=ngx_epoll_module
119EPOLL_SRCS=src/event/modules/ngx_epoll_module.c
120
121IOCP_MODULE=ngx_iocp_module
122IOCP_SRCS=src/event/modules/ngx_iocp_module.c
123
124FILE_AIO_SRCS="src/os/unix/ngx_file_aio_read.c"
125LINUX_AIO_SRCS="src/os/unix/ngx_linux_aio_read.c"
126
127UNIX_INCS="$CORE_INCS $EVENT_INCS src/os/unix"
128
129UNIX_DEPS="$CORE_DEPS $EVENT_DEPS \
130            src/os/unix/ngx_time.h \
131            src/os/unix/ngx_errno.h \
132            src/os/unix/ngx_alloc.h \
133            src/os/unix/ngx_files.h \
134            src/os/unix/ngx_channel.h \
135            src/os/unix/ngx_shmem.h \
136            src/os/unix/ngx_process.h \
137            src/os/unix/ngx_setaffinity.h \
138            src/os/unix/ngx_setproctitle.h \
139            src/os/unix/ngx_atomic.h \
140            src/os/unix/ngx_gcc_atomic_x86.h \
141            src/os/unix/ngx_thread.h \
142            src/os/unix/ngx_socket.h \
143            src/os/unix/ngx_os.h \
144            src/os/unix/ngx_user.h \
145            src/os/unix/ngx_dlopen.h \
146            src/os/unix/ngx_process_cycle.h"
147
148# add to UNIX_DEPS
149#            src/os/unix/ngx_gcc_atomic_amd64.h \
150#            src/os/unix/ngx_gcc_atomic_sparc64.h \
151#            src/os/unix/ngx_gcc_atomic_ppc.h \
152#            src/os/unix/ngx_sunpro_atomic_sparc64.h \
153#            src/os/unix/ngx_sunpro_x86.il \
154#            src/os/unix/ngx_sunpro_amd64.il \
155#            src/os/unix/ngx_sunpro_sparc64.il \
156
157
158UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
159            src/os/unix/ngx_time.c \
160            src/os/unix/ngx_errno.c \
161            src/os/unix/ngx_alloc.c \
162            src/os/unix/ngx_files.c \
163            src/os/unix/ngx_socket.c \
164            src/os/unix/ngx_recv.c \
165            src/os/unix/ngx_readv_chain.c \
166            src/os/unix/ngx_udp_recv.c \
167            src/os/unix/ngx_send.c \
168            src/os/unix/ngx_writev_chain.c \
169            src/os/unix/ngx_udp_send.c \
170            src/os/unix/ngx_udp_sendmsg_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_setaffinity.c \
176            src/os/unix/ngx_setproctitle.c \
177            src/os/unix/ngx_posix_init.c \
178            src/os/unix/ngx_user.c \
179            src/os/unix/ngx_dlopen.c \
180            src/os/unix/ngx_process_cycle.c"
181
182POSIX_DEPS=src/os/unix/ngx_posix_config.h
183
184THREAD_POOL_MODULE=ngx_thread_pool_module
185THREAD_POOL_DEPS=src/core/ngx_thread_pool.h
186THREAD_POOL_SRCS="src/core/ngx_thread_pool.c
187                  src/os/unix/ngx_thread_cond.c
188                  src/os/unix/ngx_thread_mutex.c
189                  src/os/unix/ngx_thread_id.c"
190
191FREEBSD_DEPS="src/os/unix/ngx_freebsd_config.h src/os/unix/ngx_freebsd.h"
192FREEBSD_SRCS=src/os/unix/ngx_freebsd_init.c
193FREEBSD_SENDFILE_SRCS=src/os/unix/ngx_freebsd_sendfile_chain.c
194
195LINUX_DEPS="src/os/unix/ngx_linux_config.h src/os/unix/ngx_linux.h"
196LINUX_SRCS=src/os/unix/ngx_linux_init.c
197LINUX_SENDFILE_SRCS=src/os/unix/ngx_linux_sendfile_chain.c
198
199
200SOLARIS_DEPS="src/os/unix/ngx_solaris_config.h src/os/unix/ngx_solaris.h"
201SOLARIS_SRCS=src/os/unix/ngx_solaris_init.c
202SOLARIS_SENDFILEV_SRCS=src/os/unix/ngx_solaris_sendfilev_chain.c
203
204
205DARWIN_DEPS="src/os/unix/ngx_darwin_config.h src/os/unix/ngx_darwin.h"
206DARWIN_SRCS=src/os/unix/ngx_darwin_init.c
207DARWIN_SENDFILE_SRCS=src/os/unix/ngx_darwin_sendfile_chain.c
208
209
210WIN32_INCS="$CORE_INCS $EVENT_INCS src/os/win32"
211
212WIN32_DEPS="$CORE_DEPS $EVENT_DEPS \
213            src/os/win32/ngx_win32_config.h \
214            src/os/win32/ngx_time.h \
215            src/os/win32/ngx_errno.h \
216            src/os/win32/ngx_alloc.h \
217            src/os/win32/ngx_files.h \
218            src/os/win32/ngx_shmem.h \
219            src/os/win32/ngx_process.h \
220            src/os/win32/ngx_atomic.h \
221            src/os/win32/ngx_thread.h \
222            src/os/win32/ngx_socket.h \
223            src/os/win32/ngx_os.h \
224            src/os/win32/ngx_user.h \
225            src/os/win32/ngx_dlopen.h \
226            src/os/win32/ngx_process_cycle.h"
227
228WIN32_CONFIG=src/os/win32/ngx_win32_config.h
229
230WIN32_SRCS="$CORE_SRCS $EVENT_SRCS \
231            src/os/win32/ngx_errno.c \
232            src/os/win32/ngx_alloc.c \
233            src/os/win32/ngx_files.c \
234            src/os/win32/ngx_shmem.c \
235            src/os/win32/ngx_time.c \
236            src/os/win32/ngx_process.c \
237            src/os/win32/ngx_thread.c \
238            src/os/win32/ngx_socket.c \
239            src/os/win32/ngx_wsarecv.c \
240            src/os/win32/ngx_wsarecv_chain.c \
241            src/os/win32/ngx_udp_wsarecv.c \
242            src/os/win32/ngx_wsasend.c \
243            src/os/win32/ngx_wsasend_chain.c \
244            src/os/win32/ngx_win32_init.c \
245            src/os/win32/ngx_user.c \
246            src/os/win32/ngx_dlopen.c \
247            src/os/win32/ngx_event_log.c \
248            src/os/win32/ngx_process_cycle.c \
249            src/event/ngx_event_acceptex.c"
250
251NGX_WIN32_ICONS="src/os/win32/nginx.ico"
252NGX_WIN32_RC="src/os/win32/nginx.rc"
253
254
255HTTP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c
256