1!if EXIST(..\..\Makefiles\nmake\config.mak)
2!include ..\..\Makefiles\nmake\config.mak
3!endif
4
5
6!ifndef COMPILER_NAME
7!error No compiler set, please run 'configure --help' first and chose a compiler.
8!endif
9
10!if (("$(COMPILER_NAME)" != "vc6") && \
11     ("$(COMPILER_NAME)" != "vc70") && \
12     ("$(COMPILER_NAME)" != "vc71") && \
13     ("$(COMPILER_NAME)" != "vc8") && \
14     ("$(COMPILER_NAME)" != "vc9") && \
15     ("$(COMPILER_NAME)" != "icl"))
16!error '$(COMPILER_NAME)' not supported by this make file, please rerun 'configure' script and follow instructions.
17!endif
18
19SRCROOT=../..
20STLPORT_DIR=../../..
21
22!include Makefile.inc
23
24!ifndef WITHOUT_STLPORT
25INCLUDES=$(INCLUDES) /I$(STLPORT_INCLUDE_DIR) /I$(STLPORT_DIR)/src /FI warning_disable.h
26!else
27INCLUDES=$(INCLUDES) /I$(STLPORT_DIR)/src /FI warning_disable.h
28DEFS=/DWITHOUT_STLPORT
29!endif
30
31!if ("$(COMPILER_NAME)" != "icl")
32# Important in a number of builds.
33OPT = /Zm800
34!endif
35
36DEFS_DBG=/D_STLP_DEBUG_UNINITIALIZED
37DEFS_STLDBG=/D_STLP_DEBUG_UNINITIALIZED
38DEFS_STATIC_DBG=/D_STLP_DEBUG_UNINITIALIZED
39DEFS_STATIC_STLDBG=/D_STLP_DEBUG_UNINITIALIZED
40
41LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
42
43!include $(SRCROOT)/Makefiles/nmake/top.mak
44