sources 8.5 KB

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