-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.in
More file actions
149 lines (119 loc) · 3.91 KB
/
Makefile.in
File metadata and controls
149 lines (119 loc) · 3.91 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#gcc = icc -no_cpprt
gcc = gcc
#gpp = icc
gpp = g++
compatgpp = g++-2.95
gppstd = g++
javac = javac
# Since linking with pthreads drastically affects performance and
# threading enviroment is standard case nowdays, all tests can be
# linked with threads library. Some of libraries in standard
# distributions are linked, others not. Forethore this can affect
# relative performance
FORCE_LINK_PTHREAD = yes
# Support for XMark xml generator from
# http://monetdb.cwi.nl/xml/index.html
GENERATOR_XMARK = yes
# DTD validation in parsing benchmark (implemented only for few parsers)
DTD_VALIDATION = no
ifeq ($(FORCE_LINK_PTHREAD),yes)
PTHREAD_LIBS = -lpthread
else
PTHREAD_LIBS =
endif
LIBS = -lm $(PTHREAD_LIBS)
FLAGS =
####################################################################################
LIBXML_OPENEULER = yes
LIBXML_OPENEULER_INCLUDE = -I /usr/local/include/libxml2
LIBXML_OPENEULER_LIB = -lxml2
LIBXML = yes
LIBXML_INCLUDE = -I /usr/local/opt/libxml2
LIBXML_LIB = -lxml2
ifeq ($(LIBXML),yes)
GDOME = no
GDOME_INCLUDE = -I/usr/local/opt/glib-1.2 -I/usr/lib/glib/include -I/usr/local/opt/libgdome
GDOME_LIB = -lgdome -lglib $(LIBXML_LIB)
LIBXSLT = no
LIBXSLT_INCLUDE = -I/usr/local/opt/libxml2/include/libxml2 -I/usr/local/Cellar/libxslt/1.1.42_1/include
LIBXSLT_LIB = -lxslt $(LIBXML_LIB)
XMLSEC = no
XMLSEC_INCLUDE = $(shell xmlsec-config --cflags)
XMLSEC_LIB = $(shell xmlsec-config --libs)
XMLSEC1 = no
XMLSEC1_INCLUDE = $(shell xmlsec1-config --cflags)
XMLSEC1_LIB = $(shell xmlsec1-config --libs)
endif
EXPAT = yes
EXPAT_INCLUDE =
EXPAT_LIB = -lexpat
ifeq ($(EXPAT),yes)
SABLOTRON = no
SABLOTRON_INCLUDE =
SABLOTRON_LIB = -lsablot $(EXPAT_LIB)
ARABICA = no
ARABICA_GCC = $(gpp)
ARABICA_INCLUDE = -I/usr/local/opt/arabica
ARABICA_LIB = -L/usr/local/opt/arabica -lpthread -lArabica
CSLXML = no
CSLXML_INCLUDE = -I/usr/local/opt/cslxml
CSLXML_LIB = -lcslxml
endif
XERCESC = yes
# Supported versions 2.1 (xalan<=1.3, gcc 2.96), 2.2, 2.3 (xalan>=1.4)
XERCESC_VERSION = 3.3
XERCESC_INCLUDE = -I/usr/local/opt/xerces/
XERCESC_LIB = -lxerces-c
ifeq ($(XERCESC), yes)
XALANC = no
XALANC_INCLUDE = -I/usr/local/opt/xerces/ -I/usr/local/opt/xalan/
XALANC_LIB = -lxalan-c $(XERCESC_LIB)
ifneq ($(XERCESC_VERSION), 2.1)
XSECURITY = no
XSECURITY_POST_10 = no
XSECURITY_LIB = -lxml-security-c $(XERCESC_LIB) -lcrypto
ifeq ($(XSECURITY_POST_10), yes)
XSECURITY_INCLUDE = -I/usr/local/opt/xsec $(XERCES_INCLUDE) -I/usr/local/opt/openssl -D_APACHE_XML_SECURITY_1
else
XSECURITY_INCLUDE = -I/usr/local/opt/xsec $(XERCES_INCLUDE) -I/usr/local/opt/openssl
endif
endif
endif
XML4C = no
# Supported versions 5.0 (xalan<=1.3, gcc 2.96), 5.1, 5.2 (xalan>=1.4)
XML4C_VERSION = 5.2
XML4C_INCLUDE = -I/usr/local/opt/xml4c/
XML4C_LIB = -lxml4c
ifeq ($(XML4C), yes)
# Realy using xalan library...
LOTUSXSL = no
LOTUSXSL_INCLUDE = -I/usr/local/opt/xml4c/ -I/usr/local/opt/xalan/
LOTUSXSL_LIB = -lxalan-c $(XML4C_LIB)
endif
RXP = no
RXP_INCLUDE = -I/usr/local/opt/rxp
RXP_LIB = -lrxp
XDKC = no
XDKC_INCLUDE = -I/usr/local/opt/xdk_c
XDKC_LIB = -L/usr/lib/xdk_c -lxml9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9 -lnls9 -lnsl -lpthread -lm
XDKC_LIB_VALIDATE = -L/usr/lib/xdk_c -lxml9 -lxsd9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9 -lnls9 -lnsl -lpthread -lm
XDKP = no
XDKP_INCLUDE = -I/usr/local/opt/xdk_cpp
XDKP_LIB = -L/usr/lib/xdk_cpp -lxml9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9 -lnls9 -lnsl -lpthread -lm
XDKP_LIB_VALIDATE = -L/usr/lib/xdk_cpp -lxml9 -lxsd9 -lcore9 -lnls9 -lunls9 -lcore9 -lnls9 -lcore9 -lnls9 -lnsl -lpthread -lm
QT = no
QT_INCLUDE = -I/usr/lib/qt3/include
QT_LIB = -L/usr/lib/qt3/lib -lqt-mt
JAVA = no
ifeq ($(JAVA),yes)
XDKJ = no
ORACLE_CLASSPATH = .:../tools/:/usr/java/xdk/lib/xmlparserv2.jar:$(CLASSPATH)
SUN = no
SUN_CLASSPATH = .:../tools/:$(CLASSPATH)
endif
PUGIXML = yes
PUGIXML_INCLUDE = -I/usr/local/opt/pugixml
PUGIXML_LIB = -lpugixml
TINYXML2 = yes
TINYXML2_INCLUDE = -I/usr/local/opt/tinyxml2
TINYXML2_LIB = -ltinyxml2