File: descrip.mms

package info (click to toggle)
stlport4.6 4.6.2-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 7,056 kB
  • ctags: 16,390
  • sloc: ansic: 46,190; cpp: 18,805; sh: 266; asm: 93; perl: 58; makefile: 10
file content (54 lines) | stat: -rw-r--r-- 1,166 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# ;;; -*- Mode:makefile;-*- 
# Generated manually for MMS

# point this to proper location
STL_INCL= /include="../../stlport"


# STL_INCL= -DEH_NO_SGI_STL

.SUFFIXES .obj .cpp

all : check

AUX_LIST=TestClass.obj,main.obj,nc_alloc.obj,random_number.obj

TEST_LIST=test_algo.obj,-
test_algobase.obj,test_list.obj,test_slist.obj,-
test_bit_vector.obj,test_vector.obj,-
test_deque.obj,test_set.obj,test_map.obj,-
test_hash_map.obj,test_hash_set.obj,test_rope.obj,-
test_string.obj,test_bitset.obj,test_valarray.obj

LIST=$(AUX_LIST),$(TEST_LIST)

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

CC = cxx
CXX = $(CC)
LINK = cxxlink

# -std strict_ansi_errors

CXXFLAGS = $(STL_INCL) /define=(__NO_USE_STD_IOSTREAM,EH_VECTOR_OPERATOR_NEW,EH_DELETE_HAS_THROW_SPEC)

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


LIBS = 
LIBSTDCXX = 

check : $(TEST)

$(TEST) : $(OBJECTS)
	$(LINK)/exe=$(TEST_EXE) $(OBJECTS) $(LIBS)
	run $(TEST_EXE)

.cpp.obj :
	$(CXX) $(CXXFLAGS) /obj=$@ $<