First public contribution.
1 # ;;; -*- Mode:makefile;-*-
2 # Generated automatically from Makefile.in by configure.
4 # point this to proper location
5 STL_INCL= -I../../stlport
6 # STL_INCL= -DEH_NO_SGI_STL
8 AUX_LIST=TestClass.cpp main.cpp nc_alloc.cpp random_number.cpp
10 TEST_LIST=test_algo.cpp \
11 test_algobase.cpp test_list.cpp test_slist.cpp \
12 test_bit_vector.cpp test_vector.cpp \
13 test_deque.cpp test_set.cpp test_map.cpp \
14 test_hash_map.cpp test_hash_set.cpp test_rope.cpp \
15 test_string.cpp test_bitset.cpp test_valarray.cpp
17 # TEST_LIST=test_deque.cpp
20 LIST=${AUX_LIST} ${TEST_LIST}
22 OBJECTS = $(LIST:%.cpp=%.o) $(STAT_MODULE)
23 EXECS = $(LIST:%.cpp=%)
24 TESTS = $(LIST:%.cpp=%.out)
31 CXXFLAGS = -w -mt --one_per ${STL_INCL} -D_STLP_USE_NEWALLOC -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
33 # This is to test with native STL
34 # 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
36 # This is to test with STLport iostreams
37 LIBS = -L../../lib -lstlport_kcc -lm
44 $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE)
47 SUFFIXES: .cpp.o.out.res
50 $(CXX) $(CXXFLAGS) $< -c -o $@
53 $(CXX) $(CXXFLAGS) $< -E -H > $@
56 $(CXX) $(CXXFLAGS) $< -c -USINGLE -DMAIN -g -o $*.o
57 $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $*
62 $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
65 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache ti_files