sources 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. # Copyright (C) Igor Sysoev
  2. CORE_MODULES="ngx_core_module ngx_errlog_module ngx_conf_module"
  3. CORE_INCS="src/core"
  4. CORE_DEPS="src/core/nginx.h \
  5. src/core/ngx_config.h \
  6. src/core/ngx_core.h \
  7. src/core/ngx_log.h \
  8. src/core/ngx_palloc.h \
  9. src/core/ngx_array.h \
  10. src/core/ngx_list.h \
  11. src/core/ngx_hash.h \
  12. src/core/ngx_buf.h \
  13. src/core/ngx_string.h \
  14. src/core/ngx_parse.h \
  15. src/core/ngx_inet.h \
  16. src/core/ngx_file.h \
  17. src/core/ngx_crc.h \
  18. src/core/ngx_crc32.h \
  19. src/core/ngx_md5.h \
  20. src/core/ngx_sha1.h \
  21. src/core/ngx_rbtree.h \
  22. src/core/ngx_radix_tree.h \
  23. src/core/ngx_slab.h \
  24. src/core/ngx_times.h \
  25. src/core/ngx_shmtx.h \
  26. src/core/ngx_connection.h \
  27. src/core/ngx_cycle.h \
  28. src/core/ngx_conf_file.h \
  29. src/core/ngx_garbage_collector.h"
  30. CORE_SRCS="src/core/nginx.c \
  31. src/core/ngx_log.c \
  32. src/core/ngx_palloc.c \
  33. src/core/ngx_array.c \
  34. src/core/ngx_list.c \
  35. src/core/ngx_hash.c \
  36. src/core/ngx_buf.c \
  37. src/core/ngx_output_chain.c \
  38. src/core/ngx_string.c \
  39. src/core/ngx_parse.c \
  40. src/core/ngx_inet.c \
  41. src/core/ngx_file.c \
  42. src/core/ngx_crc32.c \
  43. src/core/ngx_rbtree.c \
  44. src/core/ngx_radix_tree.c \
  45. src/core/ngx_slab.c \
  46. src/core/ngx_times.c \
  47. src/core/ngx_shmtx.c \
  48. src/core/ngx_connection.c \
  49. src/core/ngx_cycle.c \
  50. src/core/ngx_spinlock.c \
  51. src/core/ngx_cpuinfo.c \
  52. src/core/ngx_conf_file.c \
  53. src/core/ngx_garbage_collector.c"
  54. REGEX_DEPS=src/core/ngx_regex.h
  55. REGEX_SRCS=src/core/ngx_regex.c
  56. OPENSSL_MODULE=ngx_openssl_module
  57. OPENSSL_DEPS=src/event/ngx_event_openssl.h
  58. OPENSSL_SRCS=src/event/ngx_event_openssl.c
  59. EVENT_MODULES="ngx_events_module ngx_event_core_module"
  60. EVENT_INCS="src/event src/event/modules"
  61. EVENT_DEPS="src/event/ngx_event.h \
  62. src/event/ngx_event_timer.h \
  63. src/event/ngx_event_posted.h \
  64. src/event/ngx_event_busy_lock.h \
  65. src/event/ngx_event_connect.h \
  66. src/event/ngx_event_pipe.h"
  67. EVENT_SRCS="src/event/ngx_event.c \
  68. src/event/ngx_event_timer.c \
  69. src/event/ngx_event_posted.c \
  70. src/event/ngx_event_busy_lock.c \
  71. src/event/ngx_event_accept.c \
  72. src/event/ngx_event_connect.c \
  73. src/event/ngx_event_pipe.c"
  74. SELECT_MODULE=ngx_select_module
  75. SELECT_SRCS=src/event/modules/ngx_select_module.c
  76. POLL_MODULE=ngx_poll_module
  77. POLL_SRCS=src/event/modules/ngx_poll_module.c
  78. KQUEUE_MODULE=ngx_kqueue_module
  79. KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c
  80. DEVPOLL_MODULE=ngx_devpoll_module
  81. DEVPOLL_SRCS=src/event/modules/ngx_devpoll_module.c
  82. EVENTPORT_MODULE=ngx_eventport_module
  83. EVENTPORT_SRCS=src/event/modules/ngx_eventport_module.c
  84. EPOLL_MODULE=ngx_epoll_module
  85. EPOLL_SRCS=src/event/modules/ngx_epoll_module.c
  86. RTSIG_MODULE=ngx_rtsig_module
  87. RTSIG_SRCS=src/event/modules/ngx_rtsig_module.c
  88. IOCP_MODULE=ngx_iocp_module
  89. IOCP_SRCS=src/event/modules/ngx_iocp_module.c
  90. AIO_MODULE=ngx_aio_module
  91. AIO_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"
  96. UNIX_INCS="$CORE_INCS $EVENT_INCS src/os/unix"
  97. UNIX_DEPS="$CORE_DEPS $EVENT_DEPS \
  98. src/os/unix/ngx_time.h \
  99. src/os/unix/ngx_types.h \
  100. src/os/unix/ngx_errno.h \
  101. src/os/unix/ngx_alloc.h \
  102. src/os/unix/ngx_files.h \
  103. src/os/unix/ngx_channel.h \
  104. src/os/unix/ngx_shmem.h \
  105. src/os/unix/ngx_process.h \
  106. src/os/unix/ngx_setproctitle.h \
  107. src/os/unix/ngx_atomic.h \
  108. src/os/unix/ngx_gcc_atomic_x86.h \
  109. src/os/unix/ngx_thread.h \
  110. src/os/unix/ngx_socket.h \
  111. src/os/unix/ngx_os.h \
  112. src/os/unix/ngx_user.h \
  113. src/os/unix/ngx_process_cycle.h"
  114. # add to UNIX_DEPS
  115. # src/os/unix/ngx_gcc_atomic_amd64.h \
  116. # src/os/unix/ngx_gcc_atomic_sparc64.h \
  117. # src/os/unix/ngx_gcc_atomic_ppc.h \
  118. # src/os/unix/ngx_sunpro_atomic_sparc64.h \
  119. # src/os/unix/ngx_sunpro_x86.il \
  120. # src/os/unix/ngx_sunpro_amd64.il \
  121. # src/os/unix/ngx_sunpro_sparc64.il \
  122. UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
  123. src/os/unix/ngx_time.c \
  124. src/os/unix/ngx_errno.c \
  125. src/os/unix/ngx_alloc.c \
  126. src/os/unix/ngx_files.c \
  127. src/os/unix/ngx_socket.c \
  128. src/os/unix/ngx_recv.c \
  129. src/os/unix/ngx_readv_chain.c \
  130. src/os/unix/ngx_send.c \
  131. src/os/unix/ngx_writev_chain.c \
  132. src/os/unix/ngx_channel.c \
  133. src/os/unix/ngx_shmem.c \
  134. src/os/unix/ngx_process.c \
  135. src/os/unix/ngx_daemon.c \
  136. src/os/unix/ngx_setproctitle.c \
  137. src/os/unix/ngx_posix_init.c \
  138. src/os/unix/ngx_user.c \
  139. src/os/unix/ngx_process_cycle.c"
  140. POSIX_DEPS=src/os/unix/ngx_posix_config.h
  141. FREEBSD_DEPS=src/os/unix/ngx_freebsd_config.h
  142. FREEBSD_SRCS=src/os/unix/ngx_freebsd_init.c
  143. FREEBSD_SENDFILE_SRCS=src/os/unix/ngx_freebsd_sendfile_chain.c
  144. FREEBSD_RFORK_DEPS="src/os/unix/ngx_freebsd_rfork_thread.h"
  145. FREEBSD_RFORK_SRCS="src/os/unix/ngx_freebsd_rfork_thread.c"
  146. FREEBSD_RFORK_THREAD_SRCS="src/os/unix/rfork_thread.S"
  147. PTHREAD_SRCS="src/os/unix/ngx_pthread_thread.c"
  148. LINUX_DEPS=src/os/unix/ngx_linux_config.h
  149. LINUX_SRCS=src/os/unix/ngx_linux_init.c
  150. LINUX_SENDFILE_SRCS=src/os/unix/ngx_linux_sendfile_chain.c
  151. SOLARIS_DEPS=src/os/unix/ngx_solaris_config.h
  152. SOLARIS_SRCS=src/os/unix/ngx_solaris_init.c
  153. SOLARIS_SENDFILEV_SRCS=src/os/unix/ngx_solaris_sendfilev_chain.c
  154. WIN32_INCS="$CORE_INCS $EVENT_INCS src/os/win32"
  155. WIN32_DEPS="$CORE_DEPS $EVENT_DEPS \
  156. src/os/win32/ngx_win32_config.h \
  157. src/os/win32/ngx_time.h \
  158. src/os/win32/ngx_types.h \
  159. src/os/win32/ngx_errno.h \
  160. src/os/win32/ngx_alloc.h \
  161. src/os/win32/ngx_files.h \
  162. src/os/win32/ngx_shmem.h \
  163. src/os/win32/ngx_process.h \
  164. src/os/win32/ngx_atomic.h \
  165. src/os/win32/ngx_thread.h \
  166. src/os/win32/ngx_socket.h \
  167. src/os/win32/ngx_os.h \
  168. src/os/win32/ngx_user.h \
  169. src/os/win32/ngx_gui.h \
  170. src/os/win32/ngx_gui_resources.h \
  171. src/os/win32/ngx_process_cycle.h"
  172. WIN32_CONFIG=src/os/win32/ngx_win32_config.h
  173. WIN32_SRCS="$CORE_SRCS $EVENT_SRCS \
  174. src/os/win32/ngx_errno.c \
  175. src/os/win32/ngx_alloc.c \
  176. src/os/win32/ngx_files.c \
  177. src/os/win32/ngx_shmem.c \
  178. src/os/win32/ngx_time.c \
  179. src/os/win32/ngx_process.c \
  180. src/os/win32/ngx_thread.c \
  181. src/os/win32/ngx_socket.c \
  182. src/os/win32/ngx_wsarecv.c \
  183. src/os/win32/ngx_wsarecv_chain.c \
  184. src/os/win32/ngx_wsasend_chain.c \
  185. src/os/win32/ngx_win32_init.c \
  186. src/os/win32/ngx_user.c \
  187. src/os/win32/ngx_gui.c \
  188. src/os/win32/ngx_process_cycle.c \
  189. src/event/ngx_event_acceptex.c"
  190. NGX_WIN32_ICONS="src/os/win32/nginx.ico src/os/win32/nginx_tray.ico"
  191. NGX_WIN32_RC="src/os/win32/nginx.rc"
  192. # the http modules that have their logging formats
  193. # must be after ngx_http_log_module
  194. HTTP_MODULES="ngx_http_module \
  195. ngx_http_core_module \
  196. ngx_http_log_module \
  197. ngx_http_upstream_module"
  198. HTTP_CACHE_MODULE=ngx_http_cache_module
  199. HTTP_WRITE_FILTER_MODULE="ngx_http_write_filter_module"
  200. HTTP_HEADER_FILTER_MODULE="ngx_http_header_filter_module"
  201. HTTP_POSTPONE_FILTER_MODULE=ngx_http_postpone_filter_module
  202. HTTP_COPY_FILTER_MODULE=ngx_http_copy_filter_module
  203. HTTP_CHUNKED_FILTER_MODULE=ngx_http_chunked_filter_module
  204. HTTP_HEADERS_FILTER_MODULE=ngx_http_headers_filter_module
  205. HTTP_RANGE_HEADER_FILTER_MODULE=ngx_http_range_header_filter_module
  206. HTTP_RANGE_BODY_FILTER_MODULE=ngx_http_range_body_filter_module
  207. HTTP_NOT_MODIFIED_FILTER_MODULE=ngx_http_not_modified_filter_module
  208. HTTP_STATIC_MODULE=ngx_http_static_module
  209. HTTP_INDEX_MODULE=ngx_http_index_module
  210. HTTP_INCS="src/http src/http/modules"
  211. HTTP_DEPS="src/http/ngx_http.h \
  212. src/http/ngx_http_request.h \
  213. src/http/ngx_http_config.h \
  214. src/http/ngx_http_core_module.h \
  215. src/http/ngx_http_cache.h \
  216. src/http/ngx_http_variables.h \
  217. src/http/ngx_http_script.h \
  218. src/http/ngx_http_upstream.h \
  219. src/http/ngx_http_upstream_round_robin.h \
  220. src/http/ngx_http_busy_lock.h"
  221. HTTP_SRCS="src/http/ngx_http.c \
  222. src/http/ngx_http_core_module.c \
  223. src/http/ngx_http_special_response.c \
  224. src/http/ngx_http_request.c \
  225. src/http/ngx_http_parse.c \
  226. src/http/ngx_http_header_filter_module.c \
  227. src/http/ngx_http_write_filter_module.c \
  228. src/http/ngx_http_copy_filter_module.c \
  229. src/http/modules/ngx_http_log_module.c \
  230. src/http/ngx_http_request_body.c \
  231. src/http/ngx_http_variables.c \
  232. src/http/ngx_http_script.c \
  233. src/http/ngx_http_upstream.c \
  234. src/http/ngx_http_upstream_round_robin.c \
  235. src/http/ngx_http_parse_time.c \
  236. src/http/modules/ngx_http_static_module.c \
  237. src/http/modules/ngx_http_index_module.c \
  238. src/http/modules/ngx_http_chunked_filter_module.c \
  239. src/http/modules/ngx_http_range_filter_module.c \
  240. src/http/modules/ngx_http_headers_filter_module.c \
  241. src/http/modules/ngx_http_not_modified_filter_module.c"
  242. # STUB
  243. HTTP_SRCS="$HTTP_SRCS src/http/ngx_http_busy_lock.c"
  244. HTPP_POSTPONE_FILTER_SRCS=src/http/ngx_http_postpone_filter_module.c
  245. HTPP_CACHE_SRCS=src/http/ngx_http_cache.c
  246. HTPP_FILE_CACHE_SRCS=src/http/ngx_http_file_cache.c
  247. HTTP_CHARSET_FILTER_MODULE=ngx_http_charset_filter_module
  248. HTTP_CHARSET_SRCS=src/http/modules/ngx_http_charset_filter_module.c
  249. HTTP_GZIP_FILTER_MODULE=ngx_http_gzip_filter_module
  250. HTTP_GZIP_SRCS=src/http/modules/ngx_http_gzip_filter_module.c
  251. HTTP_SSI_FILTER_MODULE=ngx_http_ssi_filter_module
  252. HTTP_SSI_DEPS=src/http/modules/ngx_http_ssi_filter_module.h
  253. HTTP_SSI_SRCS=src/http/modules/ngx_http_ssi_filter_module.c
  254. HTTP_SUB_FILTER_MODULE=ngx_http_sub_filter_module
  255. HTTP_SUB_SRCS=src/http/modules/ngx_http_sub_filter_module.c
  256. HTTP_USERID_FILTER_MODULE=ngx_http_userid_filter_module
  257. HTTP_USERID_SRCS=src/http/modules/ngx_http_userid_filter_module.c
  258. HTTP_REALIP_MODULE=ngx_http_realip_module
  259. HTTP_REALIP_SRCS=src/http/modules/ngx_http_realip_module.c
  260. HTTP_ADDITION_FILTER_MODULE=ngx_http_addition_filter_module
  261. HTTP_ADDITION_SRCS=src/http/modules/ngx_http_addition_filter_module.c
  262. HTTP_DAV_MODULE=ngx_http_dav_module
  263. HTTP_DAV_SRCS=src/http/modules/ngx_http_dav_module.c
  264. HTTP_ACCESS_MODULE=ngx_http_access_module
  265. HTTP_ACCESS_SRCS=src/http/modules/ngx_http_access_module.c
  266. HTTP_AUTH_BASIC_MODULE=ngx_http_auth_basic_module
  267. HTTP_AUTH_BASIC_SRCS=src/http/modules/ngx_http_auth_basic_module.c
  268. HTTP_AUTOINDEX_MODULE=ngx_http_autoindex_module
  269. HTTP_AUTOINDEX_SRCS=src/http/modules/ngx_http_autoindex_module.c
  270. HTTP_STATUS_MODULE=ngx_http_status_module
  271. HTTP_STATUS_SRCS=src/http/modules/ngx_http_status_module.c
  272. HTTP_GEO_MODULE=ngx_http_geo_module
  273. HTTP_GEO_SRCS=src/http/modules/ngx_http_geo_module.c
  274. HTTP_MAP_MODULE=ngx_http_map_module
  275. HTTP_MAP_SRCS=src/http/modules/ngx_http_map_module.c
  276. HTTP_REFERER_MODULE=ngx_http_referer_module
  277. HTTP_REFERER_SRCS=src/http/modules/ngx_http_referer_module.c
  278. HTTP_REWRITE_MODULE=ngx_http_rewrite_module
  279. HTTP_REWRITE_SRCS=src/http/modules/ngx_http_rewrite_module.c
  280. HTTP_SSL_MODULE=ngx_http_ssl_module
  281. HTTP_SSL_DEPS=src/http/modules/ngx_http_ssl_module.h
  282. HTTP_SSL_SRCS=src/http/modules/ngx_http_ssl_module.c
  283. HTTP_PROXY_MODULE=ngx_http_proxy_module
  284. HTTP_PROXY_SRCS=src/http/modules/ngx_http_proxy_module.c
  285. HTTP_FASTCGI_MODULE=ngx_http_fastcgi_module
  286. HTTP_FASTCGI_SRCS=src/http/modules/ngx_http_fastcgi_module.c
  287. HTTP_PERL_MODULE=ngx_http_perl_module
  288. HTTP_PERL_INCS=src/http/modules/perl
  289. HTTP_PERL_DEPS=src/http/modules/perl/ngx_http_perl_module.h
  290. HTTP_PERL_SRCS=src/http/modules/perl/ngx_http_perl_module.c
  291. HTTP_MEMCACHED_MODULE=ngx_http_memcached_module
  292. HTTP_MEMCACHED_SRCS=src/http/modules/ngx_http_memcached_module.c
  293. HTTP_LIMIT_ZONE_MODULE=ngx_http_limit_zone_module
  294. HTTP_LIMIT_ZONE_SRCS=src/http/modules/ngx_http_limit_zone_module.c
  295. HTTP_EMPTY_GIF_MODULE=ngx_http_empty_gif_module
  296. HTTP_EMPTY_GIF_SRCS=src/http/modules/ngx_http_empty_gif_module.c
  297. HTTP_BROWSER_MODULE=ngx_http_browser_module
  298. HTTP_BROWSER_SRCS=src/http/modules/ngx_http_browser_module.c
  299. HTTP_FLV_MODULE=ngx_http_flv_module
  300. HTTP_FLV_SRCS=src/http/modules/ngx_http_flv_module.c
  301. HTTP_UPSTREAM_IP_HASH_MODULE=ngx_http_upstream_ip_hash_module
  302. HTTP_UPSTREAM_IP_HASH_SRCS=src/http/modules/ngx_http_upstream_ip_hash_module.c
  303. MAIL_INCS="src/mail"
  304. MAIL_DEPS="src/mail/ngx_mail.h"
  305. MAIL_MODULES="ngx_mail_module ngx_mail_core_module"
  306. MAIL_SRCS="src/mail/ngx_mail.c \
  307. src/mail/ngx_mail_core_module.c \
  308. src/mail/ngx_mail_handler.c \
  309. src/mail/ngx_mail_parse.c"
  310. MAIL_POP3_MODULE="ngx_mail_pop3_module"
  311. MAIL_POP3_DEPS="src/mail/ngx_mail_pop3_module.h"
  312. MAIL_POP3_SRCS="src/mail/ngx_mail_pop3_module.c \
  313. src/mail/ngx_mail_pop3_handler.c"
  314. MAIL_IMAP_MODULE="ngx_mail_imap_module"
  315. MAIL_IMAP_DEPS="src/mail/ngx_mail_imap_module.h"
  316. MAIL_IMAP_SRCS="src/mail/ngx_mail_imap_module.c \
  317. src/mail/ngx_mail_imap_handler.c"
  318. MAIL_SMTP_MODULE="ngx_mail_smtp_module"
  319. MAIL_SMTP_DEPS="src/mail/ngx_mail_smtp_module.h"
  320. MAIL_SMTP_SRCS="src/mail/ngx_mail_smtp_module.c \
  321. src/mail/ngx_mail_smtp_handler.c"
  322. MAIL_SSL_MODULE="ngx_mail_ssl_module"
  323. MAIL_SSL_DEPS="src/mail/ngx_mail_ssl_module.h"
  324. MAIL_SSL_SRCS="src/mail/ngx_mail_ssl_module.c"
  325. MAIL_AUTH_HTTP_MODULE="ngx_mail_auth_http_module"
  326. MAIL_AUTH_HTTP_SRCS="src/mail/ngx_mail_auth_http_module.c"
  327. MAIL_PROXY_MODULE="ngx_mail_proxy_module"
  328. MAIL_PROXY_SRCS="src/mail/ngx_mail_proxy_module.c"