-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.config.t
263 lines (218 loc) · 8.09 KB
/
default.config.t
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
#ifdef HELP
#undef HELP
Macro-Arguments:
HELP - outputs this help information.
DEBUG - disables inline function instantiation and code optimization.
ARC_i386, ARC_x86_64 - mutually exclusive, ARC_i386 by default.
Specifies the platform binaries intended for.
ORB_MICO, ORB_TAO, ORB_ORBacus - mutually exclusive, ORB_MICO by default.
Specifies the ORB implementation to be used.
AOT - enables building of AOT dictionaries conversion tool.
AOT_INCLUDE - enables building of AOT dictionaries conversion tool,
specifies path to AOT headers directory.
AOT_LIB - enables building of AOT dictionaries conversion tool,
specifies path to AOT libraries directory.
Usage Examples:
cpp -DDEBUG -DARC_x86_64 -DORB_ORBacus -DAOT_LIB=/home/vasya/Lemmatizer/Source/LemmatizerLib/ -DAOT_INCLUDE=/home/vasya/Lemmatizer/Lib default.config.t > ./build/default.config
cpp -DHELP default.config.t
#else
#ifdef DEBUG
# define OPTIMIZATION_FLAGS -fno-inline
#else
# define OPTIMIZATION_FLAGS -O3
#endif
#if defined(ARC_i386) && defined(ARC_x86_64)
# error ARC_i386 and ARC_x86_64 are mutually exclusive
#endif
#if !defined(ARC_i386) && !defined(ARC_x86_64)
# define ARC_i386
#endif
#ifdef ARC_i386
# define LIB_DIR lib
# define PLATFORM_FLAGS -m32 -DM32
#endif
#ifdef ARC_x86_64
# define LIB_DIR lib64
# define PLATFORM_FLAGS -m64 -DM64
#endif
#if !defined(ORB_MICO) && !defined(ORB_ORBacus) && !defined(ORB_TAO)
# define ORB_TAO
#endif
#if !defined(AOT) && (defined(AOT_INCLUDE) || defined(AOT_LIB))
# define AOT
#endif
#ifdef AOT
# ifndef AOT_INCLUDE
# define AOT_INCLUDE
# endif
# ifndef AOT_LIB
# define AOT_LIB
# endif
#endif
cxx.id = GCC
cxx.cxx = g++
cxx.cpp_flags = PLATFORM_FLAGS -DPIC -D_REENTRANT -D_GLIBCPP_USE_WCHAR_T -DPROTOTYPES -D__STDC_LIMIT_MACROS -std=c++0x
cxx.flags = PLATFORM_FLAGS -pthread -fPIC -Wall -Wno-deprecated-declarations -Wno-deprecated -g -ggdb OPTIMIZATION_FLAGS
cxx.obj.ext = .o
cxx.ld.flags = PLATFORM_FLAGS -pthread -Wall
cxx.ld.libs =
cxx.so.ld = g++ -shared
cxx.so.primary.target.templ = lib%.so
cxx.so.secondary.target.templ =
cxx.ex.ld = g++
cxx.ex.target.templ = %
cxx.xml.xsd.id = XSD
cxx.xml.xsd.dir = /usr
cxx.xml.xsd.translator = /usr/bin/xsd
cxx.xml.xsd.cppflags = -I/usr/include
cxx.xml.xsd.cxxflags =
cxx.xml.xsd.ldflags = -L/usr/LIB_DIR
cxx.xml.xsd.libs = -lxerces-c
cxx.xml.xsd.translator_common_flags =
cxx.xml.xsd.translator_tree_flags = --namespace-regex \"|^XMLSchema.xsd http://www.w3.org/2001/XMLSchema\$|xml_schema|\"
cxx.xml.xsd.translator_parser_flags = --namespace-regex \"|^XMLSchema.xsd http://www.w3.org/2001/XMLSchema\$|xml_schema_parser|\"
external.lib.xsd_xerces.root = /usr
external.lib.xsd_xerces.cxx.include = /usr/include
external.lib.xsd_xerces.cxx.lib = /usr/LIB_DIR
external.lib.xsd_xerces.cxx.so_files = xerces-c
external.lib.xsd_xerces.cxx.ar_files =
external.lib.xsd_xerces.cxx.ld_flags =
#ifdef ORB_MICO
# define ORB_ID MICO
cxx.corba.orb.id = MICO
cxx.corba.orb.dir = /opt/mico
cxx.corba.orb.idl = /opt/mico/bin/idl
cxx.corba.cppflags = -I/opt/mico/include
cxx.corba.cxxflags =
cxx.corba.ldflags = -L/opt/mico/LIB_DIR
cxx.corba.libs = -lmico2.3.13
cxx.corba.skelsuffix = _s
cxx.corba.stubsuffix =
cxx.corba.idlppflags = -I/opt/mico/include
cxx.corba.extraidlflags =
cxx.corba.orb.mico.idl.libpath = /opt/mico/lib64 /opt/mico/lib
cxx.corba.orb.mico.binpath = /opt/mico/bin
external.lib.mico_openssl.root = /usr
external.lib.mico_openssl.cxx.include =
external.lib.mico_openssl.cxx.lib =
external.lib.mico_openssl.cxx.so_files = ssl crypto
external.lib.mico_openssl.cxx.ar_files =
external.lib.mico_openssl.cxx.ld_flags =
#endif
#ifdef ORB_ORBacus
# if defined(ORB_ID)
# error ORB_MICO, ORB_TAO and ORB_ORBacus are mutually exclusive
# endif
# define ORB_ID ORBacus
cxx.corba.orb.id = ORBacus
cxx.corba.orb.dir = /usr
cxx.corba.orb.idl = /usr/bin/idl
cxx.corba.cppflags = -I/usr/include/OB -I/usr/include -I.
cxx.corba.cxxflags =
cxx.corba.ldflags = -L/usr/LIB_DIR
cxx.corba.libs = -lOB -lOBNaming -lJTC -ldl
cxx.corba.skelsuffix = _s
cxx.corba.stubsuffix =
cxx.corba.idlppflags = -I/usr/idl/OB -I/usr/idl
cxx.corba.extraidlflags =
cxx.corba.orb.orbacus.idl.libpath = /usr/lib64 /usr/lib
#endif
#ifdef ORB_TAO
# if defined(ORB_ID)
# error ORB_MICO, ORB_TAO and ORB_ORBacus are mutually exclusive
# endif
# define ORB_ID TAO
cxx.corba.orb.id = TAO
cxx.corba.orb.dir = /usr
cxx.corba.orb.idl = /usr/bin/tao_idl
cxx.corba.cppflags = -I/usr/include
cxx.corba.cxxflags =
cxx.corba.ldflags = -L/usr/LIB_DIR
cxx.corba.libs = -lTAO -lTAO_AnyTypeCode -lTAO_CodecFactory -lTAO_DynamicAny -lTAO_EndpointPolicy -lTAO_FaultTolerance -lTAO_IORTable -lTAO_Messaging -lTAO_PI -lTAO_PI_Server -lTAO_PortableServer -lTAO_Security -lTAO_SSLIOP -lTAO_TC -lTAO_TC_IIOP -lTAO_Utils -lTAO_Valuetype -lACE -lACE_SSL
cxx.corba.skelsuffix = _s
cxx.corba.stubsuffix =
cxx.corba.idlppflags = -I/usr/include
cxx.corba.extraidlflags =
cxx.corba.orb.tao.idl.libpath = /usr/LIB_DIR
cxx.corba.orb.tao.ace_binpath = /usr/bin
external.lib.tao_openssl.root = /usr
external.lib.tao_openssl.cxx.include =
external.lib.tao_openssl.cxx.lib =
external.lib.tao_openssl.cxx.so_files = ssl crypto
external.lib.tao_openssl.cxx.ar_files =
external.lib.tao_openssl.cxx.ld_flags =
#endif
external.lib.md5.root = /usr
external.lib.md5.cxx.include = /usr/include/openssl
external.lib.md5.cxx.lib = /usr/LIB_DIR
external.lib.md5.cxx.so_files = ssl
external.lib.md5.cxx.ar_files =
external.lib.uuid.root = /usr
external.lib.uuid.cxx.include = /usr/include
external.lib.uuid.cxx.lib = /usr/LIB_DIR
external.lib.uuid.cxx.so_files = uuid
external.lib.uuid.cxx.ar_files =
external.lib.libxml.root = /usr
external.lib.libxml.cxx.include = /usr/include/libxml2
external.lib.libxml.cxx.lib = /usr/LIB_DIR
external.lib.libxml.cxx.so_files = xml2
external.lib.libxml.cxx.ar_files =
external.lib.zlib.root = /usr
external.lib.zlib.cxx.include = /usr/include
external.lib.zlib.cxx.lib = /usr/LIB_DIR
external.lib.zlib.cxx.so_files = z
external.lib.zlib.cxx.ar_files =
external.lib.idn.root = /usr
external.lib.idn.cxx.include = /usr/include
external.lib.idn.cxx.lib = /usr/LIB_DIR
external.lib.idn.cxx.so_files = idn
external.lib.idn.cxx.ar_files =
external.lib.python.root = /usr
external.lib.python.cxx.lib = /usr/LIB_DIR
external.lib.mysql.root = /usr
external.lib.mysql.cxx.include = /usr/include
external.lib.mysql.cxx.lib = /usr/LIB_DIR/mysql
external.lib.mysql.cxx.so_files = mysqlclient_r z
external.lib.mysql.cxx.ar_files =
external.lib.google.root = /usr
external.lib.google.cxx.include = /usr/include
external.lib.google.cxx.lib =
external.lib.google.cxx.so_files =
external.lib.google.cxx.ar_files =
external.lib.ace.root = /usr
external.lib.ace.cxx.include = /usr/include
external.lib.ace.cxx.lib = /usr/LIB_DIR
external.lib.ace.cxx.so_files = ACE ACE_SSL
external.lib.ace.cxx.ar_files =
external.lib.xerces.root = /usr
external.lib.xerces.cxx.include = /usr/include
external.lib.xerces.cxx.lib = /usr/LIB_DIR
external.lib.xerces.cxx.so_files = xerces-c
external.lib.xerces.cxx.ar_files =
external.lib.geoip.root = /usr
external.lib.geoip.cxx.include = /usr/include
external.lib.geoip.cxx.lib = /usr/LIB_DIR
external.lib.geoip.cxx.so_files = GeoIP
external.lib.geoip.cxx.ar_files =
external.lib.apache.root = /usr
external.lib.apache.cxx.include = /usr/include /usr/include/apr-1
external.lib.apache.cxx.lib = /usr/LIB_DIR
external.lib.apache.cxx.so_files =
external.lib.apache.cxx.ar_files =
external.lib.tokyocabinet.root = /usr
external.lib.tokyocabinet.cxx.include = /usr/include
external.lib.tokyocabinet.cxx.lib = /usr/LIB_DIR
external.lib.tokyocabinet.cxx.so_files = tokyocabinet
external.lib.tokyocabinet.cxx.ar_files =
external.lib.tokyocabinet.cxx.ld_flags =
#ifdef AOT
option.aot_conversion_tool = Yes
external.lib.aotlemmatizer.cxx.include = AOT_INCLUDE
external.lib.aotlemmatizer.cxx.lib = AOT_LIB
external.lib.aotlemmatizer.cxx.so_files =
external.lib.aotlemmatizer.cxx.ar_files = Lemmatizerrst Graphanrst StructDictrst MorphWizardrst Agramtabrst pcrecpp pcre
external.lib.aotlemmatizer.cxx.ld_flags =
#else
option.aot_conversion_tool = No
#endif
#endif // HELP