2 # Copyright (C) Igor Sysoev
5 # Open Watcom C 1.0, 1.2, 1.3
11 # reorder instructions for best pipeline usage
13 # inline intrinsic functions
17 # disable stack checking calls
22 # optimize for Pentium and Athlon
23 # register-based arguments passing conventions
25 # stack-based arguments passing conventions
30 # optimize for Pentium Pro, Pentium II and Pentium III
31 # register-based arguments passing conventions
33 # stack-based arguments passing conventions
38 CFLAGS="$CFLAGS $CPU_OPT"
51 CFLAGS="$CFLAGS -bt=nt"
63 have=NGX_HAVE_C99_VARIADIC_MACROS . auto/have
66 # the precompiled headers
67 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
68 NGX_PCH="$NGX_OBJS/ngx_config.pch"
69 NGX_BUILD_PCH="-fhq=$NGX_OBJS/ngx_config.pch"
70 NGX_USE_PCH="-fh=$NGX_OBJS/ngx_config.pch"
73 # the link flags, built target is NT GUI mode application
74 CORE_LINK="$CORE_LINK -l=nt_win"
78 NGX_RCC="wrc \$(CORE_INCS) -fo=$NGX_OBJS/nginx.res "
79 NGX_RCC="$NGX_RCC $NGX_WIN32_RC $NGX_OBJS/nginx.exe"