First public contribution.
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.cpp main.cpp nc_alloc.cpp random_number.cpp
18 TEST_LIST=test_algo.cpp \
19 test_algobase.cpp test_list.cpp test_slist.cpp \
20 test_bit_vector.cpp test_vector.cpp \
21 test_deque.cpp test_set.cpp test_map.cpp \
22 test_hash_map.cpp test_hash_set.cpp test_rope.cpp \
23 test_string.cpp test_bitset.cpp test_valarray.cpp
25 LIST=${AUX_LIST} ${TEST_LIST}
27 OBJECTS = $(LIST:%.cpp=%.o) $(STAT_MODULE)
28 EXECS = $(LIST:%.cpp=%)
29 TESTS = $(LIST:%.cpp=%.out)
36 CXXFLAGS = $(ARCHF) +w2 -mt -features=rtti ${STL_INCL}
37 # CXXFLAGS = +w2 ${STL_INCL}
43 LIBSTLPORT = -L../../lib -lstlport_sunpro42
48 echo 'Info: For CC 4.x, warnings from ld in the form "symbol `XXX' has differing sizes" are normal.'
49 $(CXX) $(CXXFLAGS) $(OBJECTS) ${LIBSTLPORT} $(LIBS) -o $(TEST_EXE)
50 LD_LIBRARY_PATH="../../lib:$(LD_LIBRARY_PATH)" ./$(TEST_EXE) -s 100
52 SUFFIXES: .cpp.o.out.res
55 $(CXX) $(CXXFLAGS) $< -c -o $@
58 $(CXX) $(CXXFLAGS) $< -E -H > $@
61 $(CXX) $(CXXFLAGS) $< -c -USINGLE -DMAIN -g -o $*.o
62 $(CXX) $(CXXFLAGS) $*.o $(LIBSTLPORT) $(LIBS) -o $*
67 $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
70 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache