00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef OPAL_BUILDOPTS_H
00033 #define OPAL_BUILDOPTS_H
00034
00035 #include <ptbuildopts.h>
00036
00038
00039
00040
00041
00042 #define OPAL_MAJOR 3
00043 #define OPAL_MINOR 7
00044 #define OPAL_BUILD 0
00045 #define OPAL_VERSION "3.7.0"
00046
00047 #define OPAL_PTLIB_SSL 1
00048 #define OPAL_PTLIB_SSL_AES 1
00049 #define OPAL_PTLIB_ASN 1
00050 #define OPAL_PTLIB_EXPAT 1
00051 #define OPAL_PTLIB_AUDIO 1
00052 #define OPAL_PTLIB_VIDEO 1
00053 #define OPAL_PTLIB_WAVFILE 1
00054 #define OPAL_PTLIB_DTMF 1
00055 #define OPAL_PTLIB_IPV6 1
00056 #ifndef _WIN32_WCE
00057 #define OPAL_PTLIB_DNS 1
00058 #endif
00059
00060 #define OPAL_PTLIB_VXML 1
00061 #define OPAL_PTLIB_CONFIG_FILE 1
00062
00063
00064
00065
00066 #if defined(P_SSL) && !defined(OPAL_PTLIB_SSL)
00067 #define OPAL_PTLIB_SSL 1
00068 #endif
00069 #if defined(P_SSL_AES) && !defined(OPAL_PTLIB_SSL_AES)
00070 #define OPAL_PTLIB_SSL_AES 1
00071 #endif
00072 #if defined(P_ASN) && !defined(OPAL_PTLIB_ASN)
00073 #define OPAL_PTLIB_ASN 1
00074 #endif
00075 #if defined(P_EXPAT) && !defined(OPAL_PTLIB_EXPAT)
00076 #define OPAL_PTLIB_EXPAT 1
00077 #endif
00078 #if defined(P_AUDIO) && !defined(OPAL_PTLIB_AUDIO)
00079 #define OPAL_PTLIB_AUDIO 1
00080 #endif
00081 #if defined(P_VIDEO) && !defined(OPAL_PTLIB_VIDEO)
00082 #define OPAL_PTLIB_VIDEO 1
00083 #endif
00084 #if defined(P_WAVFILE) && !defined(OPAL_PTLIB_WAVFILE)
00085 #define OPAL_PTLIB_WAVFILE 1
00086 #endif
00087 #if defined(P_DTMF) && !defined(OPAL_PTLIB_DTMF)
00088 #define OPAL_PTLIB_DTMF 1
00089 #endif
00090 #if defined(P_HAS_IPV6) && !defined(OPAL_PTLIB_IPV6)
00091 #define OPAL_PTLIB_IPV6 1
00092 #endif
00093 #if defined(P_DNS) && !defined(OPAL_PTLIB_DNS)
00094 #define OPAL_PTLIB_DNS 1
00095 #endif
00096 #if defined(P_LDAP) && !defined(OPAL_PTLIB_LDAP)
00097 #define OPAL_PTLIB_LDAP P_LDAP
00098 #endif
00099 #if defined(P_VXML) && !defined(OPAL_PTLIB_VXML)
00100 #define OPAL_PTLIB_VXML 1
00101 #endif
00102 #if defined(P_CONFIG_FILE) && !defined(OPAL_PTLIB_CONFIG_FILE)
00103 #define OPAL_PTLIB_CONFIG_FILE 1
00104 #endif
00105
00106 #define OPAL_PLUGIN_DIR "/usr/local/lib/opal-3.7.0"
00107
00109
00110
00111
00112
00113 #define OPAL_IAX2 1
00114 #define OPAL_SIP 1
00115 #define OPAL_H323 1
00116 #define OPAL_LID 1
00117
00118
00119 #if P_VXML
00120 #define OPAL_IVR 1
00121 #endif
00122
00123 #if OPAL_H323
00124 #define OPAL_H239 1
00125 #define OPAL_H501 1
00126
00127 #define OPAL_H450 1
00128 #if OPAL_H450
00129 #define H323_H450 OPAL_H450
00130 #endif
00131
00132 #define OPAL_H460 1
00133 #if OPAL_H460
00134 #define H323_H460 OPAL_H460
00135 #endif
00136 #else // OPAL_H323
00137 #define H323_DISABLE_H225 1
00138 #define H323_DISABLE_H235 1
00139 #define H323_DISABLE_H245 1
00140 #endif // OPAL_H323
00141
00142
00143 #if !OPAL_H450
00144 #define H323_DISABLE_X880 1
00145 #define H323_DISABLE_H4501 1
00146 #define H323_DISABLE_H4502 1
00147 #define H323_DISABLE_H4503 1
00148 #define H323_DISABLE_H4504 1
00149 #define H323_DISABLE_H4505 1
00150 #define H323_DISABLE_H4506 1
00151 #define H323_DISABLE_H4507 1
00152 #define H323_DISABLE_H4508 1
00153 #define H323_DISABLE_H4509 1
00154 #define H323_DISABLE_H45010 1
00155 #define H323_DISABLE_H45011 1
00156 #endif
00157
00158
00159 #if !OPAL_T120DATA
00160 #define H323_DISABLE_GCC 1
00161 #define H323_DISABLE_MCS 1
00162 #endif // OPAL_T120DATA
00163
00164
00165 #if !OPAL_H501
00166 #define H323_DISABLE_H501 1
00167 #endif
00168
00169
00171
00172
00173
00174
00175 #define OPAL_STATISTICS 1
00176
00177 #define GCC_HAS_CLZ 1
00178
00179
00181
00182
00183
00184
00185
00186 #define OPAL_G711PLC 1
00187
00188
00189 #if P_VIDEO
00190 #define OPAL_VIDEO 1
00191 #endif
00192
00193 #if OPAL_VIDEO
00194
00195 #define OPAL_RFC4175 1
00196 #endif
00197
00198
00199
00200 #define OPAL_T38_CAPABILITY 1
00201
00202 #if OPAL_T38_CAPABILITY
00203 #if OPAL_PTLIB_ASN
00204 #define OPAL_FAX 1
00205 #endif
00206 #endif
00207
00208 #if !OPAL_FAX
00209 #define H323_DISABLE_T38 1
00210 #endif
00211
00212
00213
00214
00215 #if OPAL_SIP
00216 #define OPAL_HAS_SIPIM 1
00217 #endif
00218 #define OPAL_HAS_RFC4103 1
00219
00220 #define OPAL_HAS_IM (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
00221
00222
00223
00224 #define OPAL_HAS_H224 1
00225 #define OPAL_HAS_H281 1
00226
00227
00228
00229
00230
00231
00232
00233
00235
00236
00237
00238
00239 #if OPAL_LID
00240
00241
00242 #if HAS_VPB
00243 #if defined(_MSC_VER)
00244 #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00245 #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00246 #endif
00247 #endif
00248 #endif
00249
00250
00252
00253
00254
00255
00256
00257
00258 #if defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00259
00260
00261
00262
00263 #if defined(_MSC_VER)
00264
00265 #ifdef _DEBUG
00266 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00267 #else
00268 #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00269 #endif
00270
00271 #pragma comment(lib, LIBZRTP_LIBRARY)
00272
00273 #pragma include_alias("WINCONFIG/config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00274 #pragma include_alias("WINCONFIG\config.h", "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00275
00276 #pragma include_alias(<zrtp.h>, <@LIBZRTP_DIR@/include/zrtp.h>)
00277 #pragma include_alias(<zrtp_log.h>, <@LIBZRTP_DIR@/include/zrtp_log.h>)
00278 #pragma include_alias(<zrtp_types.h>, <@LIBZRTP_DIR@/include/zrtp_types.h>)
00279 #pragma include_alias(<zrtp_crypto.h>, <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00280 #pragma include_alias(<zrtp_protocol.h>, <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00281 #pragma include_alias(<zrtp_string.h>, <@LIBZRTP_DIR@/include/zrtp_string.h>)
00282 #pragma include_alias(<zrtp_iface.h>, <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00283 #pragma include_alias(<zrtp_error.h>, <@LIBZRTP_DIR@/include/zrtp_error.h>)
00284 #pragma include_alias(<zrtp_net.h>, <@LIBZRTP_DIR@/include/zrtp_net.h>)
00285 #pragma include_alias(<zrtp_system.h>, <@LIBZRTP_DIR@/include/zrtp_system.h>)
00286 #pragma include_alias("bn.h", "@LIBZRTP_DIR@/bnlib/bn.h")
00287 #pragma include_alias(<bn.h>, <@LIBZRTP_DIR@/bnlib/bn.h>)
00288 #pragma include_alias("bnsize00.h", "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00289 #pragma include_alias(<bnsize00.h>, <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00290
00291 #pragma include_alias("aes.h", "@LIBZRTP_DIR@/bgaes/aes.h")
00292 #pragma include_alias("sha2.h", "@LIBZRTP_DIR@/bgaes/sha2.h")
00293
00294 #pragma include_alias("zrtp_win_config.h", "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00295
00296
00297
00298
00299 #pragma include_alias("srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00300 #pragma include_alias(<srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00301 #pragma include_alias("srtp/srtp.h", "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00302 #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00303 #pragma include_alias("crypto_kernel.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00304 #pragma include_alias("rdbx.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00305 #pragma include_alias("rdb.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00306 #pragma include_alias("integers.h", "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00307
00308
00309
00310 #endif
00311 #endif
00312
00313
00315
00316
00317
00318
00319
00320
00321 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
00322
00323
00324
00325
00326 #if defined(_MSC_VER)
00327
00328 #pragma include_alias("srtp/srtp.h", "@LIBSRTP_DIR@/include/srtp.h")
00329 #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00330 #pragma include_alias("crypto_kernel.h", "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00331 #pragma include_alias("rdbx.h", "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00332 #pragma include_alias("rdb.h", "@LIBSRTP_DIR@/crypto/include/rdb.h")
00333 #pragma include_alias("integers.h", "@LIBSRTP_DIR@/crypto/include/integers.h")
00334
00335 #ifdef _DEBUG
00336 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00337 #else
00338 #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00339 #endif
00340 #endif
00341 #endif
00342
00343
00345
00346
00347
00348
00349
00350
00351 #if OPAL_JAVA
00352 #if defined(_MSC_VER)
00353 #pragma include_alias(<jni.h>, <@JAVA_DIR@/include/jni.h>)
00354 #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00355 #endif
00356 #endif
00357
00358
00359 #endif // OPAL_BUILDOPTS_H
00360
00361
00362