2 # Copyright (C) Igor Sysoev
3 # Copyright (C) Nginx, Inc.
6 have=NGX_WIN32 . auto/have_headers
8 CORE_INCS="$WIN32_INCS"
9 CORE_DEPS="$WIN32_DEPS"
10 CORE_SRCS="$WIN32_SRCS $IOCP_SRCS"
11 OS_CONFIG="$WIN32_CONFIG"
12 NGX_ICONS="$NGX_WIN32_ICONS"
13 SELECT_SRCS=$WIN32_SELECT_SRCS
15 case "$NGX_CC_NAME" in
18 CORE_LIBS="$CORE_LIBS -ladvapi32 -lws2_32"
22 CORE_LIBS="$CORE_LIBS advapi32.lib ws2_32.lib"
27 EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE"
30 if [ $EVENT_SELECT = NO ]; then
31 CORE_SRCS="$CORE_SRCS $SELECT_SRCS"
32 EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
35 if [ $NGX_IPV6 = YES ]; then
36 have=NGX_HAVE_INET6 . auto/have
39 have=NGX_HAVE_AIO . auto/have
40 have=NGX_HAVE_IOCP . auto/have