2 # Copyright (C) Igor Sysoev
3 # Copyright (C) Nginx, Inc.
15 # optimize for Pentium and Athlon
20 # optimize for Pentium Pro, Pentium II and Pentium III
26 #CPU_OPT="$CPU_OPT -ps"
28 #CPU_OPT="$CPU_OPT -pr"
30 CFLAGS="$CFLAGS $CPU_OPT"
43 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.csm"
44 NGX_PCH="$NGX_OBJS/ngx_config.csm"
45 NGX_BUILD_PCH="-H=$NGX_OBJS/ngx_config.csm"
46 NGX_USE_PCH="-Hu -H=$NGX_OBJS/ngx_config.csm"
49 # Win32 GUI mode application
54 NGX_RES="$NGX_OBJS/nginx.res"
55 NGX_RCC="brcc32 -fo$NGX_OBJS/nginx.res \$(CORE_INCS) $NGX_WIN32_RC"
56 # the pragma allows to link the resource file using bcc32 and
57 # to avoid the direct ilink32 calling and the c0w32.obj's WinMain/main problem
58 NGX_PRAGMA="#pragma resource \"$NGX_OBJS/nginx.res\""