[CMAKE]
[reactos.git] / lib / 3rdparty / stlport / build / test / unit / msvc.mak
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
19 SRCROOT=../..
20 STLPORT_DIR=../../..
21
22 !include Makefile.inc
23
24 !ifndef WITHOUT_STLPORT
25 INCLUDES=$(INCLUDES) /I$(STLPORT_INCLUDE_DIR) /I$(STLPORT_DIR)/src /FI warning_disable.h
26 !else
27 INCLUDES=$(INCLUDES) /I$(STLPORT_DIR)/src /FI warning_disable.h
28 DEFS=/DWITHOUT_STLPORT
29 !endif
30
31 !if ("$(COMPILER_NAME)" != "icl")
32 # Important in a number of builds.
33 OPT = /Zm800
34 !endif
35
36 DEFS_DBG=/D_STLP_DEBUG_UNINITIALIZED
37 DEFS_STLDBG=/D_STLP_DEBUG_UNINITIALIZED
38 DEFS_STATIC_DBG=/D_STLP_DEBUG_UNINITIALIZED
39 DEFS_STATIC_STLDBG=/D_STLP_DEBUG_UNINITIALIZED
40
41 LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
42
43 !include $(SRCROOT)/Makefiles/nmake/top.mak