xref: /unit/auto/sources (revision 1996:35873fa78fed)
10Sigor@sysoev.ru
20Sigor@sysoev.ru# Copyright (C) Igor Sysoev
30Sigor@sysoev.ru# Copyright (C) NGINX, Inc.
40Sigor@sysoev.ru
50Sigor@sysoev.ru
60Sigor@sysoev.ruNXT_LIB_SRCS=" \
70Sigor@sysoev.ru    src/nxt_lib.c \
80Sigor@sysoev.ru    src/nxt_gmtime.c \
90Sigor@sysoev.ru    src/nxt_errno.c \
100Sigor@sysoev.ru    src/nxt_time.c \
110Sigor@sysoev.ru    src/nxt_malloc.c \
120Sigor@sysoev.ru    src/nxt_file.c \
130Sigor@sysoev.ru    src/nxt_mem_map.c \
140Sigor@sysoev.ru    src/nxt_socket.c \
150Sigor@sysoev.ru    src/nxt_socketpair.c \
16*1996St.nateldemoura@f5.com    src/nxt_socket_msg.c \
171305St.nateldemoura@f5.com    src/nxt_credential.c \
181579St.nateldemoura@f5.com    src/nxt_isolation.c \
190Sigor@sysoev.ru    src/nxt_process.c \
200Sigor@sysoev.ru    src/nxt_process_title.c \
210Sigor@sysoev.ru    src/nxt_signal.c \
2211Sigor@sysoev.ru    src/nxt_port_socket.c \
2342Smax.romanov@nginx.com    src/nxt_port_memory.c \
24190Smax.romanov@nginx.com    src/nxt_port_rpc.c \
2520Sigor@sysoev.ru    src/nxt_port.c \
260Sigor@sysoev.ru    src/nxt_dyld.c \
270Sigor@sysoev.ru    src/nxt_random.c \
280Sigor@sysoev.ru    src/nxt_queue.c \
290Sigor@sysoev.ru    src/nxt_rbtree.c \
3063Sigor@sysoev.ru    src/nxt_mp.c \
310Sigor@sysoev.ru    src/nxt_mem_zone.c \
320Sigor@sysoev.ru    src/nxt_string.c \
330Sigor@sysoev.ru    src/nxt_utf8.c \
340Sigor@sysoev.ru    src/nxt_parse.c \
350Sigor@sysoev.ru    src/nxt_sprintf.c \
361563Svbart@nginx.com    src/nxt_var.c \
370Sigor@sysoev.ru    src/nxt_file_name.c \
380Sigor@sysoev.ru    src/nxt_log.c \
390Sigor@sysoev.ru    src/nxt_djb_hash.c \
400Sigor@sysoev.ru    src/nxt_murmur_hash.c \
410Sigor@sysoev.ru    src/nxt_lvlhsh.c \
420Sigor@sysoev.ru    src/nxt_array.c \
430Sigor@sysoev.ru    src/nxt_vector.c \
440Sigor@sysoev.ru    src/nxt_list.c \
450Sigor@sysoev.ru    src/nxt_buf.c \
460Sigor@sysoev.ru    src/nxt_buf_pool.c \
470Sigor@sysoev.ru    src/nxt_recvbuf.c \
480Sigor@sysoev.ru    src/nxt_sendbuf.c \
49223Sigor@sysoev.ru    src/nxt_thread.c \
50223Sigor@sysoev.ru    src/nxt_thread_mutex.c \
51223Sigor@sysoev.ru    src/nxt_thread_cond.c \
52223Sigor@sysoev.ru    src/nxt_spinlock.c \
53223Sigor@sysoev.ru    src/nxt_semaphore.c \
54223Sigor@sysoev.ru    src/nxt_thread_pool.c \
550Sigor@sysoev.ru    src/nxt_thread_time.c \
560Sigor@sysoev.ru    src/nxt_time_parse.c \
570Sigor@sysoev.ru    src/nxt_work_queue.c \
580Sigor@sysoev.ru    src/nxt_service.c \
590Sigor@sysoev.ru    src/nxt_log_moderation.c \
600Sigor@sysoev.ru    src/nxt_event_engine.c \
616Sigor@sysoev.ru    src/nxt_timer.c \
6212Sigor@sysoev.ru    src/nxt_fd_event.c \
6362Sigor@sysoev.ru    src/nxt_conn.c \
6462Sigor@sysoev.ru    src/nxt_conn_connect.c \
6562Sigor@sysoev.ru    src/nxt_conn_accept.c \
6662Sigor@sysoev.ru    src/nxt_conn_read.c \
6762Sigor@sysoev.ru    src/nxt_conn_write.c \
6853Sigor@sysoev.ru    src/nxt_conn_close.c \
690Sigor@sysoev.ru    src/nxt_event_conn_job_sendfile.c \
7062Sigor@sysoev.ru    src/nxt_conn_proxy.c \
710Sigor@sysoev.ru    src/nxt_job.c \
721Sigor@sysoev.ru    src/nxt_job_resolve.c \
730Sigor@sysoev.ru    src/nxt_sockaddr.c \
740Sigor@sysoev.ru    src/nxt_listen_socket.c \
751394Sigor@sysoev.ru    src/nxt_upstream.c \
7613Sigor@sysoev.ru    src/nxt_upstream_round_robin.c \
7716Svbart@nginx.com    src/nxt_http_parse.c \
7821Sigor@sysoev.ru    src/nxt_app_log.c \
791182St.nateldemoura@f5.com    src/nxt_capability.c \
8021Sigor@sysoev.ru    src/nxt_runtime.c \
81106Svbart@nginx.com    src/nxt_conf.c \
82116Svbart@nginx.com    src/nxt_conf_validation.c \
83240Sigor@sysoev.ru    src/nxt_main_process.c \
841488St.nateldemoura@f5.com    src/nxt_signal_handlers.c \
8521Sigor@sysoev.ru    src/nxt_controller.c \
8621Sigor@sysoev.ru    src/nxt_router.c \
87431Sigor@sysoev.ru    src/nxt_h1proto.c \
88431Sigor@sysoev.ru    src/nxt_http_request.c \
89431Sigor@sysoev.ru    src/nxt_http_response.c \
90431Sigor@sysoev.ru    src/nxt_http_error.c \
91964Sigor@sysoev.ru    src/nxt_http_route.c \
921324Saxel.duch@nginx.com    src/nxt_http_route_addr.c \
931429Svbart@nginx.com    src/nxt_http_return.c \
941183Svbart@nginx.com    src/nxt_http_static.c \
951270Sigor@sysoev.ru    src/nxt_http_proxy.c \
961505Sigor@sysoev.ru    src/nxt_http_chunk_parse.c \
971563Svbart@nginx.com    src/nxt_http_variables.c \
9821Sigor@sysoev.ru    src/nxt_application.c \
99804Svbart@nginx.com    src/nxt_external.c \
10075Smax.romanov@nginx.com    src/nxt_port_hash.c \
1011131Smax.romanov@nginx.com    src/nxt_sha1.c \
1021131Smax.romanov@nginx.com    src/nxt_websocket.c \
1031131Smax.romanov@nginx.com    src/nxt_websocket_accept.c \
1041131Smax.romanov@nginx.com    src/nxt_http_websocket.c \
1051131Smax.romanov@nginx.com    src/nxt_h1proto_websocket.c \
1064Sigor@sysoev.ru"
1074Sigor@sysoev.ru
1084Sigor@sysoev.ruNXT_LIB_SRC0=" \
1094Sigor@sysoev.ru    src/nxt_buf_filter.c \
1104Sigor@sysoev.ru    src/nxt_job_file.c \
111818Svbart@nginx.com    src/nxt_stream_module.c \
1121Sigor@sysoev.ru    src/nxt_stream_source.c \
1131Sigor@sysoev.ru    src/nxt_upstream_source.c \
1141Sigor@sysoev.ru    src/nxt_http_source.c \
1151Sigor@sysoev.ru    src/nxt_fastcgi_source.c \
1161Sigor@sysoev.ru    src/nxt_fastcgi_record_parse.c \
11765Sigor@sysoev.ru\
11865Sigor@sysoev.ru    src/nxt_mem_pool_cleanup.h \
11965Sigor@sysoev.ru    src/nxt_mem_pool_cleanup.c \
1200Sigor@sysoev.ru"
1210Sigor@sysoev.ru
122743Smax.romanov@nginx.comNXT_LIB_UNIT_SRCS="src/nxt_unit.c"
123743Smax.romanov@nginx.com
1240Sigor@sysoev.ru
125771Sigor@sysoev.ruNXT_LIB_TLS_DEPS="src/nxt_tls.h"
126774Svbart@nginx.comNXT_LIB_TLS_SRCS="src/nxt_cert.c"
1270Sigor@sysoev.ruNXT_LIB_OPENSSL_SRCS="src/nxt_openssl.c"
1280Sigor@sysoev.ruNXT_LIB_GNUTLS_SRCS="src/nxt_gnutls.c"
1290Sigor@sysoev.ruNXT_LIB_CYASSL_SRCS="src/nxt_cyassl.c"
1300Sigor@sysoev.ruNXT_LIB_POLARSSL_SRCS="src/nxt_polarssl.c"
1310Sigor@sysoev.ru
1321721Saxel.duch@nginx.comNXT_LIB_PCRE_SRCS="src/nxt_pcre.c"
1331721Saxel.duch@nginx.comNXT_LIB_PCRE2_SRCS="src/nxt_pcre2.c"
1341721Saxel.duch@nginx.com
13512Sigor@sysoev.ruNXT_LIB_EPOLL_SRCS="src/nxt_epoll_engine.c"
13612Sigor@sysoev.ruNXT_LIB_KQUEUE_SRCS="src/nxt_kqueue_engine.c"
13712Sigor@sysoev.ruNXT_LIB_EVENTPORT_SRCS="src/nxt_eventport_engine.c"
13812Sigor@sysoev.ruNXT_LIB_DEVPOLL_SRCS="src/nxt_devpoll_engine.c"
13912Sigor@sysoev.ruNXT_LIB_POLLSET_SRCS="src/nxt_pollset_engine.c"
14012Sigor@sysoev.ruNXT_LIB_POLL_SRCS="src/nxt_poll_engine.c"
14112Sigor@sysoev.ruNXT_LIB_SELECT_SRCS="src/nxt_select_engine.c"
1420Sigor@sysoev.ru
1430Sigor@sysoev.ruNXT_LIB_LINUX_SENDFILE_SRCS="src/nxt_linux_sendfile.c"
1440Sigor@sysoev.ruNXT_LIB_FREEBSD_SENDFILE_SRCS="src/nxt_freebsd_sendfile.c"
1450Sigor@sysoev.ruNXT_LIB_SOLARIS_SENDFILEV_SRCS="src/nxt_solaris_sendfilev.c"
1460Sigor@sysoev.ruNXT_LIB_MACOSX_SENDFILE_SRCS="src/nxt_macosx_sendfile.c"
1470Sigor@sysoev.ruNXT_LIB_AIX_SEND_FILE_SRCS="src/nxt_aix_send_file.c"
1480Sigor@sysoev.ruNXT_LIB_HPUX_SENDFILE_SRCS="src/nxt_hpux_sendfile.c"
1491182St.nateldemoura@f5.comNXT_LIB_CLONE_SRCS="src/nxt_clone.c"
1500Sigor@sysoev.ru
151246Sigor@sysoev.ruNXT_TEST_BUILD_DEPS="src/nxt_test_build.h"
152246Sigor@sysoev.ruNXT_TEST_BUILD_SRCS="src/nxt_test_build.c"
1530Sigor@sysoev.ru
154384Szelenkov@nginx.comNXT_TEST_DEPS="src/test/nxt_tests.h \
155384Szelenkov@nginx.com    src/test/nxt_rbtree1.h \
1560Sigor@sysoev.ru"
1570Sigor@sysoev.ru
158246Sigor@sysoev.ruNXT_TEST_SRCS=" \
159384Szelenkov@nginx.com    src/test/nxt_tests.c \
160384Szelenkov@nginx.com    src/test/nxt_rbtree1.c \
161384Szelenkov@nginx.com    src/test/nxt_rbtree_test.c \
162384Szelenkov@nginx.com    src/test/nxt_term_parse_test.c \
163384Szelenkov@nginx.com    src/test/nxt_msec_diff_test.c \
164384Szelenkov@nginx.com    src/test/nxt_mp_test.c \
165384Szelenkov@nginx.com    src/test/nxt_mem_zone_test.c \
166384Szelenkov@nginx.com    src/test/nxt_lvlhsh_test.c \
167384Szelenkov@nginx.com    src/test/nxt_gmtime_test.c \
168384Szelenkov@nginx.com    src/test/nxt_sprintf_test.c \
169384Szelenkov@nginx.com    src/test/nxt_malloc_test.c \
170384Szelenkov@nginx.com    src/test/nxt_utf8_test.c \
171384Szelenkov@nginx.com    src/test/nxt_rbtree1_test.c \
172384Szelenkov@nginx.com    src/test/nxt_http_parse_test.c \
173384Szelenkov@nginx.com    src/test/nxt_strverscmp_test.c \
1741975Svbart@nginx.com    src/test/nxt_base64_test.c \
1750Sigor@sysoev.ru"
1760Sigor@sysoev.ru
1771306St.nateldemoura@f5.com
1781306St.nateldemoura@f5.comif [ $NXT_HAVE_CLONE_NEWUSER = YES ]; then
1791306St.nateldemoura@f5.com    NXT_TEST_SRCS="$NXT_TEST_SRCS src/test/nxt_clone_test.c"
1801306St.nateldemoura@f5.comfi
1811306St.nateldemoura@f5.com
1821306St.nateldemoura@f5.com
1830Sigor@sysoev.ruNXT_LIB_UTF8_FILE_NAME_TEST_SRCS=" \
184384Szelenkov@nginx.com    src/test/nxt_utf8_file_name_test.c \
1850Sigor@sysoev.ru"
1860Sigor@sysoev.ru
1870Sigor@sysoev.ru
1881489St.nateldemoura@f5.comif [ $NXT_HAVE_ROOTFS = YES ]; then
1891489St.nateldemoura@f5.com    NXT_LIB_SRCS="$NXT_LIB_SRCS src/nxt_fs.c"
1901489St.nateldemoura@f5.comfi
1911489St.nateldemoura@f5.com
1921489St.nateldemoura@f5.com
193771Sigor@sysoev.ruif [ $NXT_TLS = YES ]; then
194771Sigor@sysoev.ru    nxt_have=NXT_TLS . auto/have
195771Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_TLS_SRCS"
1960Sigor@sysoev.rufi
1970Sigor@sysoev.ru
1980Sigor@sysoev.ru
1990Sigor@sysoev.ruif [ $NXT_OPENSSL = YES ]; then
2000Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_OPENSSL_SRCS"
2010Sigor@sysoev.rufi
2020Sigor@sysoev.ru
2030Sigor@sysoev.ru
2040Sigor@sysoev.ruif [ $NXT_GNUTLS = YES ]; then
2050Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_GNUTLS_SRCS"
2060Sigor@sysoev.rufi
2070Sigor@sysoev.ru
2080Sigor@sysoev.ru
2090Sigor@sysoev.ruif [ $NXT_CYASSL = YES ]; then
2100Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_CYASSL_SRCS"
2110Sigor@sysoev.rufi
2120Sigor@sysoev.ru
2130Sigor@sysoev.ru
2140Sigor@sysoev.ruif [ $NXT_POLARSSL = YES ]; then
2150Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_POLARSSL_SRCS"
2160Sigor@sysoev.rufi
2170Sigor@sysoev.ru
2180Sigor@sysoev.ru
2191721Saxel.duch@nginx.comif [ "$NXT_REGEX" = "YES" ]; then
2201721Saxel.duch@nginx.com    if [ "$NXT_HAVE_PCRE2" = "YES" ]; then
2211721Saxel.duch@nginx.com        NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_PCRE2_SRCS"
2221721Saxel.duch@nginx.com    else
2231721Saxel.duch@nginx.com        NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_PCRE_SRCS"
2241721Saxel.duch@nginx.com    fi
2251721Saxel.duch@nginx.comfi
2261721Saxel.duch@nginx.com
2270Sigor@sysoev.ruif [ "$NXT_HAVE_EPOLL" = "YES" -o "$NXT_TEST_BUILD_EPOLL" = "YES" ]; then
2280Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_EPOLL_SRCS"
2290Sigor@sysoev.rufi
2300Sigor@sysoev.ru
2310Sigor@sysoev.ru
2320Sigor@sysoev.ruif [ "$NXT_HAVE_KQUEUE" = "YES" ]; then
2330Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_KQUEUE_SRCS"
2340Sigor@sysoev.rufi
2350Sigor@sysoev.ru
2360Sigor@sysoev.ru
2370Sigor@sysoev.ruif [ "$NXT_HAVE_EVENTPORT" = "YES" -o "$NXT_TEST_BUILD_EVENTPORT" = "YES" ];
2380Sigor@sysoev.ruthen
2390Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_EVENTPORT_SRCS"
2400Sigor@sysoev.rufi
2410Sigor@sysoev.ru
2420Sigor@sysoev.ru
2430Sigor@sysoev.ruif [ "$NXT_HAVE_DEVPOLL" = "YES" -o "$NXT_TEST_BUILD_DEVPOLL" = "YES" ]; then
2440Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_DEVPOLL_SRCS"
2450Sigor@sysoev.rufi
2460Sigor@sysoev.ru
2470Sigor@sysoev.ru
2480Sigor@sysoev.ruif [ "$NXT_HAVE_POLLSET" = "YES" -o "$NXT_TEST_BUILD_POLLSET" = "YES" ]; then
2490Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_POLLSET_SRCS"
2500Sigor@sysoev.rufi
2510Sigor@sysoev.ru
2520Sigor@sysoev.ru
2530Sigor@sysoev.ruNXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_POLL_SRCS"
2540Sigor@sysoev.ruNXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_SELECT_SRCS"
2550Sigor@sysoev.ru
2560Sigor@sysoev.ru
2570Sigor@sysoev.ruif [ "$NXT_HAVE_LINUX_SENDFILE" = "YES" \
2580Sigor@sysoev.ru     -o "$NXT_TEST_BUILD_LINUX_SENDFILE" = "YES" ]; then
2590Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_LINUX_SENDFILE_SRCS"
2600Sigor@sysoev.rufi
2610Sigor@sysoev.ru
2620Sigor@sysoev.ru
2630Sigor@sysoev.ruif [ "$NXT_HAVE_FREEBSD_SENDFILE" = "YES" \
2640Sigor@sysoev.ru     -o "$NXT_TEST_BUILD_FREEBSD_SENDFILE" = "YES" ]; then
2650Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_FREEBSD_SENDFILE_SRCS"
2660Sigor@sysoev.rufi
2670Sigor@sysoev.ru
2680Sigor@sysoev.ru
2690Sigor@sysoev.ruif [ "$NXT_HAVE_SOLARIS_SENDFILEV" = "YES" \
2700Sigor@sysoev.ru     -o "$NXT_TEST_BUILD_SOLARIS_SENDFILEV" = "YES" ];
2710Sigor@sysoev.ruthen
2720Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_SOLARIS_SENDFILEV_SRCS"
2730Sigor@sysoev.rufi
2740Sigor@sysoev.ru
2750Sigor@sysoev.ru
2760Sigor@sysoev.ruif [ "$NXT_HAVE_MACOSX_SENDFILE" = "YES" \
2770Sigor@sysoev.ru     -o "$NXT_TEST_BUILD_MACOSX_SENDFILE" = "YES" ]; then
2780Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_MACOSX_SENDFILE_SRCS"
2790Sigor@sysoev.rufi
2800Sigor@sysoev.ru
2810Sigor@sysoev.ru
2820Sigor@sysoev.ruif [ "$NXT_HAVE_AIX_SEND_FILE" = "YES" \
2830Sigor@sysoev.ru     -o "$NXT_TEST_BUILD_AIX_SEND_FILE" = "YES" ];
2840Sigor@sysoev.ruthen
2850Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_AIX_SEND_FILE_SRCS"
2860Sigor@sysoev.rufi
2870Sigor@sysoev.ru
2880Sigor@sysoev.ru
2890Sigor@sysoev.ruif [ "$NXT_HAVE_HPUX_SENDFILE" = "YES" \
2900Sigor@sysoev.ru     -o "$NXT_TEST_BUILD_HPUX_SENDFILE" = "YES" ]; then
2910Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_HPUX_SENDFILE_SRCS"
2920Sigor@sysoev.rufi
2930Sigor@sysoev.ru
2940Sigor@sysoev.ru
2951182St.nateldemoura@f5.comif [ "$NXT_HAVE_CLONE" = "YES" ]; then
2961182St.nateldemoura@f5.com    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_LIB_CLONE_SRCS"
2971182St.nateldemoura@f5.comfi
2981182St.nateldemoura@f5.com
2991182St.nateldemoura@f5.com
3000Sigor@sysoev.ruif [ "$NXT_TEST_BUILD" = "YES" ]; then
301246Sigor@sysoev.ru    NXT_LIB_SRCS="$NXT_LIB_SRCS $NXT_TEST_BUILD_SRCS"
3020Sigor@sysoev.rufi
3030Sigor@sysoev.ru
3040Sigor@sysoev.ru
305246Sigor@sysoev.ruif [ $NXT_TESTS = YES ]; then
306246Sigor@sysoev.ru    nxt_have=NXT_TESTS . auto/have
3070Sigor@sysoev.rufi
3080Sigor@sysoev.ru
3090Sigor@sysoev.ru
3100Sigor@sysoev.ruNXT_SRCS=" \
3110Sigor@sysoev.ru    src/nxt_main.c \
3120Sigor@sysoev.ru"
313