Sha256: 4ae5cc06fcd00c637ae63e0f00e1266bf45da4e8452dac11bd3458043e298f5e

Contents?: true

Size: 1.67 KB

Versions: 135

Compression:

Stored size: 1.67 KB

Contents

# ;;; -*- Mode:makefile;-*- 
# Generated automatically from Makefile.in by configure.
# This requires GNU make.

SHELL=/bin/sh

# srcdir = .
# VPATH = .


# point this to proper location
STL_INCL= -I../../stlport

# STL_INCL= -DEH_NO_SGI_STL

AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o

TEST_LIST=test_algo.o  \
test_algobase.o     test_list.o test_slist.o \
test_bit_vector.o   test_vector.o \
test_deque.o test_set.o test_map.o \
test_hash_map.o  test_hash_set.o test_rope.o \
test_string.o test_bitset.o test_valarray.o

LIST=${AUX_LIST} ${TEST_LIST}

OBJECTS = $(LIST)
EXECS = $(LIST:%.o=%)
TESTS = $(LIST:%.o=%.out)
TEST_EXE  = eh_test
TEST  = eh_test.out

CC = cxx
CXX = $(CC)

# -std strict_ansi_errors

CXXFLAGS = ${STL_INCL} -std strict_ansi_errors -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC -gall

# CXXFLAGS = ${STL_INCL} -std strict_ansi_errors -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC

# This is to test with native STL
# CXXFLAGS = +w2 -xildoff -D_STLP_USE_NEWALLOC -DEH_NO_SGI_STL -DEH_NEW_HEADERS -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC


LIBS = -L../../lib -lstlport_dec -lm 
LIBSTDCXX = 

.SUFFIXES: .cpp .i .o .out .res

check: $(TEST)

$(TEST) : $(OBJECTS)
	$(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $(TEST_EXE)
	LD_LIBRARY_PATH="../../lib:$(LD_LIBRARY_PATH)" ./$(TEST_EXE) -s 100

.cpp.o:
	$(CXX) $(CXXFLAGS) $< -c -o $@

.cpp.i:
	$(CXX) $(CXXFLAGS) $< -E > $@

%.out: %.cpp
	$(CXX) $(CXXFLAGS) $*.cpp -c -USINGLE -DMAIN -g -o $*.o
	$(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $*
	./$* -q
	-rm -f $*

%.s: %.cpp
	$(CXX) $(CXXFLAGS) -O4 -S -pto $*.cpp  -o $@

clean:
	-rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache cxx_repository

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-3.3.4 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.3 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.3.beta.4 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.3.beta.3 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.3.beta.2 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.3.beta.1 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.7 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.6 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.5 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.4 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.3 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.2 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.2.beta.1 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.1 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.0 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.0.beta.3 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.0.beta.2 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.3.0.beta.1 platform/shared/stlport/test/eh/deccxx.mak
rhodes-3.2.3 platform/shared/stlport/test/eh/deccxx.mak