Update contrib.
1 # ;;; -*- Mode:makefile;-*-
2 # Generated automatically from Makefile.in by configure.
3 # This requires GNU make.
11 # point this to proper location
12 STL_INCL= -I../../stlport
14 # STL_INCL= -DEH_NO_SGI_STL
16 AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o
18 TEST_LIST=test_algo.o \
19 test_algobase.o test_list.o test_slist.o \
20 test_bit_vector.o test_vector.o \
21 test_deque.o test_set.o test_map.o \
22 test_hash_map.o test_hash_set.o test_rope.o \
23 test_string.o test_bitset.o test_valarray.o
25 LIST=${AUX_LIST} ${TEST_LIST}
29 TESTS = $(LIST:%.o=%.out)
36 # -std strict_ansi_errors
38 CXXFLAGS = ${STL_INCL} -std strict_ansi_errors -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC -gall
40 # CXXFLAGS = ${STL_INCL} -std strict_ansi_errors -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
42 # This is to test with native STL
43 # CXXFLAGS = +w2 -xildoff -D_STLP_USE_NEWALLOC -DEH_NO_SGI_STL -DEH_NEW_HEADERS -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
46 LIBS = -L../../lib -lstlport_dec -lm
49 .SUFFIXES: .cpp .i .o .out .res
54 $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE)
55 LD_LIBRARY_PATH="../../lib:$(LD_LIBRARY_PATH)" ./$(TEST_EXE) -s 100
58 $(CXX) $(CXXFLAGS) $< -c -o $@
61 $(CXX) $(CXXFLAGS) $< -E > $@
64 $(CXX) $(CXXFLAGS) $*.cpp -c -USINGLE -DMAIN -g -o $*.o
65 $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $*
70 $(CXX) $(CXXFLAGS) -O4 -S -pto $*.cpp -o $@
73 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository