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)" != "vc6") && \ 12 ("$(COMPILER_NAME)" != "vc70") && \ 13 ("$(COMPILER_NAME)" != "vc71") && \ 14 ("$(COMPILER_NAME)" != "vc8") && \ 15 ("$(COMPILER_NAME)" != "vc9") && \ 16 ("$(COMPILER_NAME)" != "icl")) 17!error '$(COMPILER_NAME)' not supported by this make file, please rerun 'configure' script and follow instructions. 18!endif 19 20SRCROOT=.. 21 22STLPORT_INCLUDE_DIR = ../../stlport 23!include Makefile.inc 24 25INCLUDES=$(INCLUDES) /I$(STLPORT_INCLUDE_DIR) 26 27RC_FLAGS_REL = /I$(STLPORT_INCLUDE_DIR) /D "COMP=$(COMPILER_NAME)" 28RC_FLAGS_DBG = /I$(STLPORT_INCLUDE_DIR) /D "COMP=$(COMPILER_NAME)" 29RC_FLAGS_STLDBG = /I$(STLPORT_INCLUDE_DIR) /D "COMP=$(COMPILER_NAME)" 30 31#Even if pure release and dbg targets do not need additionnal memory 32#to be built they might if user wants to build a STL safe release build 33#for instance. 34OPT = /Zm800 35 36!include $(SRCROOT)/Makefiles/nmake/top.mak 37