1# Microsoft Developer Studio Generated NMAKE File, Format Version 4.10 2# ** DO NOT EDIT ** 3 4# TARGTYPE "Win32 (x86) Console Application" 0x0103 5 6 7!IF "$(OS)" == "Windows_NT" 8NULL= 9!ELSE 10NULL=nul 11!ENDIF 12################################################################################ 13# Begin Project 14RSC=rc.exe 15CPP=icl.exe 16LINK32=xilink.exe 17 18OUTDIR=. 19INTDIR=. 20 21# set this directories 22STL_PATH=..\.. 23 24Dep_stl = TestClass.obj main.obj nc_alloc.obj \ 25random_number.obj test_algo.obj test_algobase.obj test_bit_vector.obj test_deque.obj \ 26test_hash_map.obj test_hash_set.obj test_list.obj test_map.obj test_rope.obj test_set.obj \ 27test_slist.obj test_vector.obj test_string.obj test_bitset.obj test_valarray.obj 28 29# linker finds proper STLport lib automatically, only path to the library is needed 30CPP_PRJ_LINK = /link /incremental:no /LIBPATH:$(STL_PATH)\lib 31 32#disable warnings complaining about debug ...info exceeded.... 33CPP_PRJ_EXTRA = /Qwd985 34CPP_PRJ_CMN = /nologo /W3 /GR /GX /DWIN32 /D_WINDOWS /D_CONSOLE /I$(STL_PATH)\stlport /I. 35 36# 37LIBTYPE = STATIC 38# LIBTYPE = DYNAMIC 39# 40#DEBUG = STL 41DEBUG = ON 42#DEBUG = 43# 44IOS = SGI 45#IOS = NOSGI 46#IOS = NONE 47 48!IF "$(IOS)" == "NOSGI" 49CPP_PRJ_IOS = /D_STLP_NO_SGI_IOSTREAMS 50!ELSEIF "$(IOS)" == "NONE" 51CPP_PRJ_IOS = /D_STLP_NO_IOSTREAM 52!ELSE 53CPP_PRJ_IOS = 54!ENDIF 55 56#MT/MD etc should be LAST in CPP_PRJ_LIBTYP string!!! 57#Library selection should be BEFORE debug processing!!! 58!IF "$(LIBTYPE)" == "STATIC" 59CPP_PRJ_LIBTYP = /D_STLP_USE_STATIC_LIB /MT 60!ELSE 61CPP_PRJ_LIBTYP = /D_STLP_USE_DYNAMIC_LIB /MD 62!ENDIF 63 64!IF "$(DEBUG)" == "" 65CPP_PRJ_DBG = /DNDEBUG /O2 /Qsox- 66!ELSE 67CPP_PRJ_LIBTYP = $(CPP_PRJ_LIBTYP)d 68CPP_PRJ_DBG = /D_DEBUG /Od 69!IF "$(DEBUG)" == "STL" 70CPP_PRJ_DBG = $(CPP_PRJ_DBG) /D_STLP_DEBUG 71!ENDIF 72CPP_PRJ_CMN = $(CPP_PRJ_CMN) /Zi /Gm 73!ENDIF 74 75CPP_IGNORE_LIB = LIBCMT 76#CPP_PRJ_LINK = $(CPP_PRJ_LINK) /NODEFAULTLIB:$(CPP_IGNORE_LIB) 77CPP_PRJ_LINK = $(CPP_PRJ_LINK) /VERBOSE:LIB 78 79CPP_PROJ = $(CPP_PRJ_CMN) $(CPP_PRJ_EXTRA) $(CPP_PRJ_IOS) $(CPP_PRJ_LIBTYP) $(CPP_PRJ_DBG) 80 81check: eh_test.out 82 83eh_test.out : $(Dep_stl) 84 $(CPP) $(CPP_PROJ) $(Dep_stl) /Feeh_test.exe $(CPP_PRJ_LINK) 85# fbp : this is to locate DLL 86 cd ..\..\lib 87 ..\test\eh\eh_test.exe -s 100 88 echo done 89 90clean : 91 -@erase "$(INTDIR)\*.obj" 92 -@erase "$(OUTDIR)\*.exe" 93 -@erase "$(OUTDIR)\*.obj" 94 95 96.exe.out: 97 $< > $@ 98 99.cpp.exe: 100 $(CPP) $(CPP_PROJ) -DMAIN $< $(CPP_PRJ_LINK) 101 102.c.obj: 103 $(CPP) $(CPP_PROJ) /c $< 104 105.cpp.obj: 106 $(CPP) $(CPP_PROJ) /c $< 107 108.cxx.obj: 109 $(CPP) $(CPP_PROJ) /c $< 110 111.cpp.E: 112 $(CPP) $(CPP_PROJ) -E $< >$*.E 113 114.cpp.sbr: 115 $(CPP) $(CPP_PROJ) $< 116