[CMAKE]
[reactos.git] / lib / 3rdparty / stlport / build / test / unit / evc.mak
1 !if !EXIST(..\..\Makefiles\nmake\config.mak)
2 !error No config file found, please run 'configure --help' first.
3 !endif
4
5 !include ..\..\Makefiles\nmake\config.mak
6
7 !ifndef COMPILER_NAME
8 !error No compiler set, please run 'configure --help' first and chose a compiler.
9 !endif
10
11 !if ("$(COMPILER_NAME)" != "evc3" && \
12 "$(COMPILER_NAME)" != "evc4" && \
13 "$(COMPILER_NAME)" != "evc8" && \
14 "$(COMPILER_NAME)" != "evc9")
15 !error You pick the wrong makefile, please rerun configure script and follow the instructions.
16 !endif
17
18 SRCROOT=../..
19 STLPORT_DIR=../../..
20 CROSS_COMPILING=1
21
22 !include Makefile.inc
23
24 INCLUDES=$(INCLUDES) /I "$(STLPORT_INCLUDE_DIR)" /I "cppunit" /I "$(STLPORT_DIR)/src/" /FI "warning_disable.h"
25
26 DEFS_REL = /D_STLP_USE_DYNAMIC_LIB
27 DEFS_DBG = /D_STLP_USE_DYNAMIC_LIB
28 DEFS_STLDBG = /D_STLP_USE_DYNAMIC_LIB
29 DEFS_STATIC_REL = /D_STLP_USE_STATIC_LIB
30 DEFS_STATIC_DBG = /D_STLP_USE_STATIC_LIB
31 DEFS_STATIC_STLDBG = /D_STLP_USE_STATIC_LIB
32
33 LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
34
35 !include $(SRCROOT)/Makefiles/nmake/top.mak