[CMAKE]
[reactos.git] / lib / 3rdparty / stlport / build / lib / 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 picked the wrong makefile, please rerun configure script and follow the instructions.
16 !endif
17
18 SRCROOT=..
19
20 STLPORT_INCLUDE_DIR = ../../stlport
21 !include Makefile.inc
22
23 CROSS_COMPILING=1
24
25 DEFS_REL = /D_STLP_USE_DYNAMIC_LIB
26 DEFS_DBG = /D_STLP_USE_DYNAMIC_LIB
27 DEFS_STLDBG = /D_STLP_USE_DYNAMIC_LIB
28 DEFS_STATIC_REL = /D_STLP_USE_STATIC_LIB
29 DEFS_STATIC_DBG = /D_STLP_USE_STATIC_LIB
30 DEFS_STATIC_STLDBG = /D_STLP_USE_STATIC_LIB
31
32 INCLUDES=$(INCLUDES) /I "$(STLPORT_INCLUDE_DIR)"
33
34 LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
35 RC_FLAGS_REL = /I "$(STLPORT_INCLUDE_DIR)" /D "COMP=$(COMPILER_NAME)"
36 RC_FLAGS_DBG = /I "$(STLPORT_INCLUDE_DIR)" /D "COMP=$(COMPILER_NAME)"
37 RC_FLAGS_STLDBG = /I "$(STLPORT_INCLUDE_DIR)" /D "COMP=$(COMPILER_NAME)"
38
39 !include $(SRCROOT)/Makefiles/nmake/top.mak