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 18SRCROOT=../.. 19STLPORT_DIR=../../.. 20CROSS_COMPILING=1 21 22!include Makefile.inc 23 24INCLUDES=$(INCLUDES) /I "$(STLPORT_INCLUDE_DIR)" /I "cppunit" /I "$(STLPORT_DIR)/src/" /FI "warning_disable.h" 25 26DEFS_REL = /D_STLP_USE_DYNAMIC_LIB 27DEFS_DBG = /D_STLP_USE_DYNAMIC_LIB 28DEFS_STLDBG = /D_STLP_USE_DYNAMIC_LIB 29DEFS_STATIC_REL = /D_STLP_USE_STATIC_LIB 30DEFS_STATIC_DBG = /D_STLP_USE_STATIC_LIB 31DEFS_STATIC_STLDBG = /D_STLP_USE_STATIC_LIB 32 33LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR) 34 35!include $(SRCROOT)/Makefiles/nmake/top.mak 36