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