1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/test/eh/hp.mak Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,81 @@
1.4 +# ;;; -*- Mode:makefile;-*-
1.5 +# Generated automatically from Makefile.in by configure.
1.6 +# This requires GNU make.
1.7 +
1.8 +# SHELL=/bin/sh
1.9 +# srcdir = .
1.10 +# VPATH = .
1.11 +
1.12 +
1.13 +# point this to proper location
1.14 +STL_INCL= -I../../stlport
1.15 +
1.16 +AUX_LIST=TestClass.cpp main.cpp nc_alloc.cpp random_number.cpp
1.17 +
1.18 +TEST_LIST=test_algo.cpp \
1.19 +test_algobase.cpp test_list.cpp test_slist.cpp \
1.20 +test_bit_vector.cpp test_vector.cpp \
1.21 +test_deque.cpp test_set.cpp test_map.cpp \
1.22 +test_hash_map.cpp test_hash_set.cpp test_rope.cpp \
1.23 +test_string.cpp test_bitset.cpp test_valarray.cpp
1.24 +
1.25 +OBJECTS = test_algo.o \
1.26 +test_algobase.o test_list.o test_slist.o \
1.27 +test_bit_vector.o test_vector.o \
1.28 +test_deque.o test_set.o test_map.o \
1.29 +test_hash_map.o test_hash_set.o test_rope.o \
1.30 +test_string.o test_bitset.o test_valarray.o
1.31 +
1.32 +LIST=${AUX_LIST} ${TEST_LIST}
1.33 +
1.34 +# OBJECTS = $(LIST:%.cpp=%.o) $(STAT_MODULE)
1.35 +EXECS = $(LIST:%.cpp=%)
1.36 +TESTS = $(LIST:%.cpp=%.out)
1.37 +TEST_EXE = eh_test
1.38 +TEST = eh_test.out
1.39 +
1.40 +CC = CC
1.41 +CXX = $(CC)
1.42 +
1.43 +CXXFLAGS = -w ${STL_INCL} -D_STLP_NO_CUSTOM_IO
1.44 +
1.45 +LIBS = -lm
1.46 +
1.47 +LIBSTLPORT = -L../../lib -lstlport_hp
1.48 +
1.49 +check: $(TEST)
1.50 +
1.51 +all: $(TEST_EXE)
1.52 + echo done.
1.53 +
1.54 +$(TEST_EXE) : $(OBJECTS)
1.55 + $(CXX) $(CXXFLAGS) $(OBJECTS) ${LIBSTLPORT} $(LIBS) -o $(TEST_EXE)
1.56 +
1.57 +$(TEST) : $(TEST_EXE)
1.58 + $(TEST_EXE)
1.59 +
1.60 +SUFFIXES: .cpp .o .i .s .out .res .y
1.61 +
1.62 +.cpp.o :
1.63 + $(CXX) $(CXXFLAGS) $< -c -o $@
1.64 +
1.65 +.cpp.i :
1.66 + $(CXX) $(CXXFLAGS) $< -E -H > $@
1.67 +
1.68 +.cpp.out:
1.69 + $(CXX) $(CXXFLAGS) $< -c -USINGLE -DMAIN -g -o $*.o
1.70 + $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $*
1.71 + ./$* -q
1.72 + -rm -f $*
1.73 +
1.74 +.cpp.s:
1.75 + $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
1.76 +
1.77 +clean:
1.78 + -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache
1.79 +
1.80 +
1.81 +
1.82 +
1.83 +
1.84 +