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 29CPP_LIBS = /link /incremental:no /LIBPATH:$(STL_PATH)\lib 30 31#disable warnings complaining about debug ...info exceeded.... 32CPP_PRJ_EXTRA = /Qwd985 33CPP_PRJ_CMN = /nologo /W3 /GR /GX /DWIN32 /D_WINDOWS /D_CONSOLE /I$(STL_PATH)\stlport /I. 34 35# 36LIBTYPE = STATIC 37# LIBTYPE = DYNAMIC 38# 39#DEBUG = STL 40DEBUG = ON 41#DEBUG = 42# 43IOS = SGI 44#IOS = NOSGI 45#IOS = NONE 46 47!IF "$(IOS)" == "NOSGI" 48CPP_PRJ_IOS = /D_STLP_NO_OWN_IOSTREAMS 49!ELSEIF "$(IOS)" == "NONE" 50CPP_PRJ_IOS = /D_STLP_NO_IOSTREAM 51!ELSE 52CPP_PRJ_IOS = 53!ENDIF 54 55#MT/MD etc should be LAST in CPP_PRJ_LIBTYP string!!! 56#Library selection should be BEFORE debug processing!!! 57!IF "$(LIBTYPE)" == "STATIC" 58CPP_PRJ_LIBTYP = /MT 59!ELSE 60CPP_PRJ_LIBTYP = /MD 61!ENDIF 62 63!IF "$(DEBUG)" == "" 64CPP_PRJ_DBG = /DNDEBUG /O2 /Qsox- 65!ELSE 66CPP_PRJ_LIBTYP = $(CPP_PRJ_LIBTYP)d 67CPP_PRJ_DBG = /D_DEBUG /Od 68!IF "$(DEBUG)" == "STL" 69CPP_PRJ_DBG = $(CPP_PRJ_DBG) /D_STLP_DEBUG 70!ENDIF 71CPP_PRJ_CMN = $(CPP_PRJ_CMN) /Zi /Gm 72!ENDIF 73 74CPP_PROJ = $(CPP_PRJ_CMN) $(CPP_PRJ_EXTRA) $(CPP_PRJ_IOS) $(CPP_PRJ_LIBTYP) $(CPP_PRJ_DBG) 75 76check: eh_test.out 77 78eh_test.out : $(Dep_stl) 79 $(CPP) $(CPP_PROJ) $(Dep_stl) /Feeh_test.exe $(CPP_LIBS) 80 cd ..\..\lib 81 ..\test\eh\eh_test.exe -s 100 82 echo done 83 84clean : 85 -@erase "$(INTDIR)\*.obj" 86 -@erase "$(OUTDIR)\*.exe" 87 -@erase "$(OUTDIR)\*.obj" 88 89 90.exe.out: 91 $< > $@ 92 93.cpp.exe: 94 $(CPP) $(CPP_PROJ) -DMAIN $< 95 96.c.obj: 97 $(CPP) $(CPP_PROJ) /c $< 98 99.cpp.obj: 100 $(CPP) $(CPP_PROJ) /c $< 101 102.cxx.obj: 103 $(CPP) $(CPP_PROJ) /c $< 104 105.cpp.E: 106 $(CPP) $(CPP_PROJ) -E $< >$*.E 107 108.cpp.sbr: 109 $(CPP) $(CPP_PROJ) $< 110