/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Suren A. Chilingaryan
  • Date: 2009-02-16 09:27:17 UTC
  • Revision ID: csa@dside.dyndns.org-20090216092717-wipyvaaw2srxhgns
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#gcc = /opt/intel/Compiler/11.0/081/bin/intel64/icc 
 
2
#gpp = /opt/intel/Compiler/11.0/081/bin/intel64/icc 
 
3
#gcc = icc -no_cpprt
 
4
gcc = gcc
 
5
#gpp = icc
 
6
gpp = g++
 
7
compatgpp = g++-2.95
 
8
gppstd = g++
 
9
javac = javac
 
10
 
 
11
#       Since linking with pthreads drastically affects performance and 
 
12
#       threading enviroment is standard case nowdays, all tests can be
 
13
#       linked with threads library. Some of libraries in standard 
 
14
#       distributions are linked, others not. Forethore this can affect
 
15
#       relative performance
 
16
FORCE_LINK_PTHREAD = no
 
17
 
 
18
#       Support for XMark xml generator from 
 
19
#       http://monetdb.cwi.nl/xml/index.html
 
20
GENERATOR_XMARK = yes
 
21
 
 
22
#       DTD validation in parsing benchmark (implemented only for few parsers)
 
23
DTD_VALIDATION = no
 
24
 
 
25
ifeq ($(FORCE_LINK_PTHREAD),yes)
 
26
PTHREAD_LIBS = -lpthread
 
27
else
 
28
PTHREAD_LIBS = 
 
29
endif
 
30
 
 
31
 
 
32
LIBS = -lm $(PTHREAD_LIBS)
 
33
#FLAGS = -march=nocona -pipe -O2 -DMAXOUTSIZE=67108864 -DCYRILLIC_TEXT
 
34
FLAGS = -march=nocona -pipe -O2 -DMAXOUTSIZE=67108864 
 
35
 
 
36
####################################################################################
 
37
 
 
38
LIBXML = yes
 
39
LIBXML_INCLUDE = -I /opt/xml/libxml2-2.6.32/include -L /opt/xml/libxml2-2.6.32/.libs/
 
40
LIBXML_LIB =  -lxml2
 
41
#LIBXML_INCLUDE = -I /usr/include/libxml2
 
42
#LIBXML_LIB =  -lxml2
 
43
 
 
44
ifeq ($(LIBXML),yes)
 
45
GDOME = yes
 
46
GDOME_INCLUDE = -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libgdome
 
47
GDOME_LIB =  -lgdome -lglib $(LIBXML_LIB)
 
48
 
 
49
LIBXSLT = yes
 
50
LIBXSLT_INCLUDE = -I/usr/include/libxml2 -I/usr/include/libxslt
 
51
LIBXSLT_LIB = -lxslt $(LIBXML_LIB)
 
52
 
 
53
XMLSEC = no
 
54
XMLSEC_INCLUDE = $(shell xmlsec-config --cflags)
 
55
XMLSEC_LIB = $(shell xmlsec-config --libs)
 
56
 
 
57
XMLSEC1 = yes
 
58
XMLSEC1_INCLUDE = $(shell xmlsec1-config --cflags)
 
59
XMLSEC1_LIB = $(shell xmlsec1-config --libs)
 
60
endif
 
61
 
 
62
EXPAT = yes
 
63
EXPAT_INCLUDE = 
 
64
EXPAT_LIB = -lexpat
 
65
 
 
66
ifeq ($(EXPAT),yes)
 
67
SABLOTRON = yes
 
68
SABLOTRON_INCLUDE =
 
69
SABLOTRON_LIB =  -lsablot $(EXPAT_LIB)
 
70
 
 
71
ARABICA = yes
 
72
ARABICA_GCC = $(gpp)
 
73
ARABICA_INCLUDE = -I/usr/local/include/
 
74
ARABICA_LIB = -L/usr/local/lib -lpthread -larabica
 
75
 
 
76
CSLXML = no
 
77
CSLXML_INCLUDE = -I/usr/include/cslxml
 
78
CSLXML_LIB =  -lcslxml
 
79
endif
 
80
 
 
81
INTEL = yes
 
82
INTEL_INCLUDE = -I/opt/intel/xmlsoftwaresuite/cpp/1.2/
 
83
INTEL_LIB = -L/opt/intel/xmlsoftwaresuite/cpp/1.2/bin/intel64 -lintel-xss
 
84
 
 
85
XERCESC = yes
 
86
# Supported versions 2.1 (xalan<=1.3, gcc 2.96), 2.2, 2.3 (xalan>=1.4)
 
87
XERCESC_VERSION = 2.3
 
88
XERCESC_INCLUDE = -I/usr/include/xerces/
 
89
XERCESC_LIB = -lxerces-c
 
90
 
 
91
ifeq ($(XERCESC), yes)
 
92
XALANC = yes
 
93
XALANC_INCLUDE = -I/usr/include/xercesc/ -I/usr/include/xalanc/
 
94
XALANC_LIB = -lxalan-c $(XERCESC_LIB)
 
95
 
 
96
ifneq ($(XERCESC_VERSION), 2.1)
 
97
XSECURITY = yes
 
98
XSECURITY_POST_10 = yes
 
99
XSECURITY_LIB = -lxml-security-c $(XERCESC_LIB) -lcrypto
 
100
ifeq ($(XSECURITY_POST_10), yes)
 
101
XSECURITY_INCLUDE =  -I/usr/include/xsec $(XERCES_INCLUDE) -I/usr/include/openssl -D_APACHE_XML_SECURITY_1
 
102
else
 
103
XSECURITY_INCLUDE = -I/usr/include/xsec $(XERCES_INCLUDE) -I/usr/include/openssl
 
104
endif
 
105
endif
 
106
endif
 
107
 
 
108
XML4C = no
 
109
# Supported versions 5.0 (xalan<=1.3, gcc 2.96), 5.1, 5.2 (xalan>=1.4)
 
110
XML4C_VERSION = 5.2
 
111
XML4C_INCLUDE = -I/usr/include/xml4c/
 
112
XML4C_LIB = -lxml4c
 
113
 
 
114
ifeq ($(XML4C), yes)
 
115
# Realy using xalan library...
 
116
LOTUSXSL = no
 
117
LOTUSXSL_INCLUDE = -I/usr/include/xml4c/ -I/usr/include/xalan/
 
118
LOTUSXSL_LIB = -lxalan-c $(XML4C_LIB)
 
119
endif
 
120
 
 
121
RXP = yes
 
122
RXP_INCLUDE = -I/opt/xml/rxp
 
123
RXP_LIB =  -L/opt/xml/rxp -lrxp
 
124
 
 
125
XDKC = yes
 
126
XDKC_INCLUDE = -I/opt/xml/xdk_c/xdk/include -DORACLE_PARSER_FIX
 
127
XDKC_LIB = -L/opt/xml/xdk_c/lib -lxml10 -lcore10 -lnls10 -lunls10 -lcore10 -lnls10 -lcore10 -lnls10 -lnsl -lirc -lpthread -lm -ldl -m32
 
128
XDKC_LIB_VALIDATE = -L/opt/xml/xdk_c/lib -lxml10 -lcore10 -lnls10 -lunls10 -lcore10 -lnls10 -lcore10 -lnls10 -lnsl -lirc -lpthread -lm -ldl -m32
 
129
 
 
130
XDKP = yes
 
131
XDKP_INCLUDE = -I/opt/xml/xdk_c/xdk/include
 
132
XDKP_LIB = -L/opt/xml/xdk_c/lib -lxml10 -lcore10 -lnls10 -lunls10 -lcore10 -lnls10 -lcore10 -lnls10 -lnsl -lirc -lpthread -lm -ldl -m32
 
133
XDKP_LIB_VALIDATE = -L/opt/xml/xdk_c/lib -lxml10 -lcore10 -lnls10 -lunls10 -lcore10 -lnls10 -lcore10 -lnls10 -lnsl -lirc -lpthread -lm -ldl -m32
 
134
 
 
135
QT = yes
 
136
QT_INCLUDE = -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -I/usr/include/qt4/ -I/usr/include/qt4/QtGui
 
137
QT_LIB = -L/usr/lib/qt4/ -lQtXml -lQtCore
 
138
 
 
139
PARABIX = no
 
140
PARABIX_INCLUDE = -DPARABIX_PARSER_FIX
 
141
 
 
142
ASMXML = yes
 
143
 
 
144
JAVA = yes
 
145
ifeq ($(JAVA),yes)
 
146
XDKJ = yes
 
147
ORACLE_CLASSPATH = .:../tools/:/opt/xml/xdk_j/lib/xmlparserv2.jar:$(CLASSPATH)
 
148
 
 
149
SUN = yes
 
150
SUN_CLASSPATH = .:../tools/:/opt/xml/apache/*:$(CLASSPATH)
 
151
#OLD_CLASSPATH = .:../tools/:/usr/share/java/xmlsec.jar:/usr/share/java/xerces-j2.jar:/usr/share/java/xalan-j2.jar:/usr/share/java/log4j.jar:$(CLASSPATH)
 
152
endif