1# ;;; -*- Mode:makefile;-*- 2# Generated automatically from Makefile.in by configure. 3# This requires GNU make. 4 5SHELL=/bin/sh 6 7# srcdir = . 8# VPATH = . 9 10 11STL_INCL=-I${PWD}/../../stlport/ 12 13# STL_INCL= -DEH_NO_SGI_STL 14 15AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o 16 17TEST_LIST=test_algo.o \ 18test_algobase.o test_list.o test_slist.o \ 19test_bit_vector.o test_vector.o \ 20test_deque.o test_set.o test_map.o \ 21test_hash_map.o test_hash_set.o test_rope.o \ 22test_string.o test_bitset.o test_valarray.o 23 24LIST=${AUX_LIST} ${TEST_LIST} 25 26OBJECTS = $(LIST) 27EXECS = $(LIST:%.o=%) 28TESTS = $(LIST:%.o=%.out) 29TEST_EXE = eh_test 30TEST = eh_test.out 31 32CC = CC 33CXX = $(CC) 34 35# CXXFLAGS = -J 4 -ansi -LANG:std -I. ${STL_INCL} ${DEBUG_FLAGS} -I. -D_STLP_NO_OWN_IOSTREAMS -D_STLP_NO_NEW_IOSTREAMS 36CXXFLAGS = -J 4 -ansi -LANG:std -I. ${STL_INCL} ${DEBUG_FLAGS} -I. 37 38LIBS = -L../../lib -lstlport_mipspro -lm 39LIBSTDCXX = 40 41.SUFFIXES: .cpp .i .o .out .res 42 43check: $(TEST) 44 45$(TEST) : $(OBJECTS) 46 $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE) 47 LD_LIBRARY_PATH="../../lib:$(LD_LIBRARY_PATH)" ./$(TEST_EXE) -s 100 48 49.cpp.o: 50 $(CXX) $(CXXFLAGS) $< -c -o $@ 51 52.cpp.i: 53 $(CXX) $(CXXFLAGS) $< -E > $@ 54 55%.out: %.cpp 56 $(CXX) $(CXXFLAGS) $*.cpp -c -USINGLE -DMAIN -g -o $*.o 57 $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $* 58 ./$* -q 59 -rm -f $* 60 61clean: 62 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository 63