1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/test/eh/sgi_mipspro.mak Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,62 @@
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 +
1.10 +# srcdir = .
1.11 +# VPATH = .
1.12 +
1.13 +
1.14 +STL_INCL=-I${PWD}/../../stlport/
1.15 +
1.16 +# STL_INCL= -DEH_NO_SGI_STL
1.17 +
1.18 +AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o
1.19 +
1.20 +TEST_LIST=test_algo.o \
1.21 +test_algobase.o test_list.o test_slist.o \
1.22 +test_bit_vector.o test_vector.o \
1.23 +test_deque.o test_set.o test_map.o \
1.24 +test_hash_map.o test_hash_set.o test_rope.o \
1.25 +test_string.o test_bitset.o test_valarray.o
1.26 +
1.27 +LIST=${AUX_LIST} ${TEST_LIST}
1.28 +
1.29 +OBJECTS = $(LIST)
1.30 +EXECS = $(LIST:%.o=%)
1.31 +TESTS = $(LIST:%.o=%.out)
1.32 +TEST_EXE = eh_test
1.33 +TEST = eh_test.out
1.34 +
1.35 +CC = CC
1.36 +CXX = $(CC)
1.37 +
1.38 +# CXXFLAGS = -J 4 -ansi -LANG:std -I. ${STL_INCL} ${DEBUG_FLAGS} -I. -D_STLP_NO_OWN_IOSTREAMS -D_STLP_NO_NEW_IOSTREAMS
1.39 +CXXFLAGS = -J 4 -ansi -LANG:std -I. ${STL_INCL} ${DEBUG_FLAGS} -I.
1.40 +
1.41 +LIBS = -L../../lib -lstlport_mipspro -lm
1.42 +LIBSTDCXX =
1.43 +
1.44 +.SUFFIXES: .cpp .i .o .out .res
1.45 +
1.46 +check: $(TEST)
1.47 +
1.48 +$(TEST) : $(OBJECTS)
1.49 + $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE)
1.50 + LD_LIBRARY_PATH="../../lib:$(LD_LIBRARY_PATH)" ./$(TEST_EXE) -s 100
1.51 +
1.52 +.cpp.o:
1.53 + $(CXX) $(CXXFLAGS) $< -c -o $@
1.54 +
1.55 +.cpp.i:
1.56 + $(CXX) $(CXXFLAGS) $< -E > $@
1.57 +
1.58 +%.out: %.cpp
1.59 + $(CXX) $(CXXFLAGS) $*.cpp -c -USINGLE -DMAIN -g -o $*.o
1.60 + $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $*
1.61 + ./$* -q
1.62 + -rm -f $*
1.63 +
1.64 +clean:
1.65 + -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository