1*c2c66affSColin Finck# ;;; -*- Mode:makefile;-*- 2*c2c66affSColin Finck# Generated automatically from Makefile.in by configure. 3*c2c66affSColin Finck# This requires GNU make. 4*c2c66affSColin Finck 5*c2c66affSColin FinckSHELL=/bin/sh 6*c2c66affSColin Finck 7*c2c66affSColin Finck# srcdir = . 8*c2c66affSColin Finck# VPATH = . 9*c2c66affSColin Finck 10*c2c66affSColin Finck 11*c2c66affSColin Finck# point this to proper location 12*c2c66affSColin FinckSTL_INCL= -I../../stlport 13*c2c66affSColin Finck 14*c2c66affSColin Finck# STL_INCL= -DEH_NO_SGI_STL 15*c2c66affSColin Finck 16*c2c66affSColin FinckAUX_LIST=TestClass.o main.o nc_alloc.o random_number.o 17*c2c66affSColin Finck 18*c2c66affSColin FinckTEST_LIST=test_algo.o \ 19*c2c66affSColin Fincktest_algobase.o test_list.o test_slist.o \ 20*c2c66affSColin Fincktest_bit_vector.o test_vector.o \ 21*c2c66affSColin Fincktest_deque.o test_set.o test_map.o \ 22*c2c66affSColin Fincktest_hash_map.o test_hash_set.o test_rope.o \ 23*c2c66affSColin Fincktest_string.o test_bitset.o test_valarray.o 24*c2c66affSColin Finck 25*c2c66affSColin FinckLIST=${AUX_LIST} ${TEST_LIST} 26*c2c66affSColin Finck 27*c2c66affSColin FinckOBJECTS = $(LIST) 28*c2c66affSColin FinckEXECS = $(LIST:%.o=%) 29*c2c66affSColin FinckTESTS = $(LIST:%.o=%.out) 30*c2c66affSColin FinckTEST_EXE = eh_test 31*c2c66affSColin FinckTEST = eh_test.out 32*c2c66affSColin Finck 33*c2c66affSColin FinckCC = cxx 34*c2c66affSColin FinckCXX = $(CC) 35*c2c66affSColin Finck 36*c2c66affSColin Finck# -std strict_ansi_errors 37*c2c66affSColin Finck 38*c2c66affSColin FinckCXXFLAGS = ${STL_INCL} -std strict_ansi_errors -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC -gall 39*c2c66affSColin Finck 40*c2c66affSColin Finck# CXXFLAGS = ${STL_INCL} -std strict_ansi_errors -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC 41*c2c66affSColin Finck 42*c2c66affSColin Finck# This is to test with native STL 43*c2c66affSColin Finck# CXXFLAGS = +w2 -xildoff -D_STLP_USE_NEWALLOC -DEH_NO_SGI_STL -DEH_NEW_HEADERS -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC 44*c2c66affSColin Finck 45*c2c66affSColin Finck 46*c2c66affSColin FinckLIBS = -L../../lib -lstlport_dec -lm 47*c2c66affSColin FinckLIBSTDCXX = 48*c2c66affSColin Finck 49*c2c66affSColin Finck.SUFFIXES: .cpp .i .o .out .res 50*c2c66affSColin Finck 51*c2c66affSColin Finckcheck: $(TEST) 52*c2c66affSColin Finck 53*c2c66affSColin Finck$(TEST) : $(OBJECTS) 54*c2c66affSColin Finck $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE) 55*c2c66affSColin Finck LD_LIBRARY_PATH="../../lib:$(LD_LIBRARY_PATH)" ./$(TEST_EXE) -s 100 56*c2c66affSColin Finck 57*c2c66affSColin Finck.cpp.o: 58*c2c66affSColin Finck $(CXX) $(CXXFLAGS) $< -c -o $@ 59*c2c66affSColin Finck 60*c2c66affSColin Finck.cpp.i: 61*c2c66affSColin Finck $(CXX) $(CXXFLAGS) $< -E > $@ 62*c2c66affSColin Finck 63*c2c66affSColin Finck%.out: %.cpp 64*c2c66affSColin Finck $(CXX) $(CXXFLAGS) $*.cpp -c -USINGLE -DMAIN -g -o $*.o 65*c2c66affSColin Finck $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $* 66*c2c66affSColin Finck ./$* -q 67*c2c66affSColin Finck -rm -f $* 68*c2c66affSColin Finck 69*c2c66affSColin Finck%.s: %.cpp 70*c2c66affSColin Finck $(CXX) $(CXXFLAGS) -O4 -S -pto $*.cpp -o $@ 71*c2c66affSColin Finck 72*c2c66affSColin Finckclean: 73*c2c66affSColin Finck -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository 74