Home | History | Annotate | Download | only in eh
      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"
      8 NULL=
      9 !ELSE 
     10 NULL=nul
     11 !ENDIF 
     12 ################################################################################
     13 # Begin Project
     14 RSC=rc.exe
     15 CPP=icl.exe
     16 LINK32=xilink.exe
     17 
     18 OUTDIR=.
     19 INTDIR=.
     20 
     21 # set this directories 
     22 STL_PATH=..\..
     23 
     24 Dep_stl = TestClass.obj main.obj nc_alloc.obj \
     25 random_number.obj test_algo.obj test_algobase.obj test_bit_vector.obj test_deque.obj \
     26 test_hash_map.obj test_hash_set.obj test_list.obj test_map.obj test_rope.obj test_set.obj \
     27 test_slist.obj test_vector.obj test_string.obj test_bitset.obj test_valarray.obj
     28 
     29 CPP_LIBS = /link /incremental:no /LIBPATH:$(STL_PATH)\lib
     30 
     31 #disable warnings complaining about debug ...info exceeded....
     32 CPP_PRJ_EXTRA = /Qwd985
     33 CPP_PRJ_CMN = /nologo /W3 /GR /GX /DWIN32 /D_WINDOWS /D_CONSOLE /I$(STL_PATH)\stlport /I.
     34 
     35 #
     36 LIBTYPE = STATIC
     37 # LIBTYPE = DYNAMIC
     38 #
     39 #DEBUG = STL
     40 DEBUG = ON
     41 #DEBUG =
     42 # 
     43 IOS = SGI
     44 #IOS = NOSGI
     45 #IOS = NONE
     46 
     47 !IF "$(IOS)" == "NOSGI"
     48 CPP_PRJ_IOS = /D_STLP_NO_OWN_IOSTREAMS
     49 !ELSEIF "$(IOS)" == "NONE"
     50 CPP_PRJ_IOS = /D_STLP_NO_IOSTREAM
     51 !ELSE
     52 CPP_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"
     58 CPP_PRJ_LIBTYP = /MT
     59 !ELSE
     60 CPP_PRJ_LIBTYP = /MD
     61 !ENDIF
     62 
     63 !IF "$(DEBUG)" == ""
     64 CPP_PRJ_DBG = /DNDEBUG /O2 /Qsox-
     65 !ELSE
     66 CPP_PRJ_LIBTYP = $(CPP_PRJ_LIBTYP)d
     67 CPP_PRJ_DBG = /D_DEBUG /Od
     68 !IF "$(DEBUG)" == "STL"
     69 CPP_PRJ_DBG = $(CPP_PRJ_DBG) /D_STLP_DEBUG
     70 !ENDIF
     71 CPP_PRJ_CMN = $(CPP_PRJ_CMN) /Zi /Gm
     72 !ENDIF
     73 
     74 CPP_PROJ = $(CPP_PRJ_CMN) $(CPP_PRJ_EXTRA) $(CPP_PRJ_IOS) $(CPP_PRJ_LIBTYP) $(CPP_PRJ_DBG)
     75 
     76 check: eh_test.out
     77 
     78 eh_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 
     84 clean :
     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