diff -r 000000000000 -r bde4ae8d615e os/ossrv/genericopenlibs/cppstdlib/stl/test/eh/kai.mak --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/test/eh/kai.mak Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,65 @@ +# ;;; -*- Mode:makefile;-*- +# Generated automatically from Makefile.in by configure. + +# point this to proper location +STL_INCL= -I../../stlport +# STL_INCL= -DEH_NO_SGI_STL + +AUX_LIST=TestClass.cpp main.cpp nc_alloc.cpp random_number.cpp + +TEST_LIST=test_algo.cpp \ +test_algobase.cpp test_list.cpp test_slist.cpp \ +test_bit_vector.cpp test_vector.cpp \ +test_deque.cpp test_set.cpp test_map.cpp \ +test_hash_map.cpp test_hash_set.cpp test_rope.cpp \ +test_string.cpp test_bitset.cpp test_valarray.cpp + +# TEST_LIST=test_deque.cpp + + +LIST=${AUX_LIST} ${TEST_LIST} + +OBJECTS = $(LIST:%.cpp=%.o) $(STAT_MODULE) +EXECS = $(LIST:%.cpp=%) +TESTS = $(LIST:%.cpp=%.out) +TEST_EXE = eh_test +TEST = eh_test.out + +CC = KCC +CXX = $(CC) + +CXXFLAGS = -w -mt --one_per ${STL_INCL} -D_STLP_USE_NEWALLOC -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC + +# This is to test with native STL +# CXXFLAGS = -w -mt --one_per -D_STLP_USE_NEWALLOC -DEH_NO_SGI_STL -DEH_NEW_HEADERS -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC + +# This is to test with STLport iostreams +LIBS = -L../../lib -lstlport_kcc -lm + +LIBSTDCXX = + +check: $(TEST) + +$(TEST) : $(OBJECTS) + $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE) + $(TEST_EXE) + +SUFFIXES: .cpp.o.out.res + +%.o : %.cpp + $(CXX) $(CXXFLAGS) $< -c -o $@ + +%.i : %.cpp + $(CXX) $(CXXFLAGS) $< -E -H > $@ + +%.out: %.cpp + $(CXX) $(CXXFLAGS) $< -c -USINGLE -DMAIN -g -o $*.o + $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $* + ./$* -q + -rm -f $* + +%.s: %.cpp + $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@ + +clean: + -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache ti_files