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 6
00044 #define OPAL_BUILD 7
00045 #define OPAL_VERSION "3.6.7"
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 "/home/robertj/opal/lib/opal-3.6.7"
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_H501 1
00125   
00126   #define OPAL_H450 1
00127   #if OPAL_H450
00128     #define H323_H450   OPAL_H450
00129   #endif
00130 
00131   #define OPAL_H460 1
00132   #if OPAL_H460
00133     #define H323_H460   OPAL_H460
00134   #endif
00135 #else // OPAL_H323
00136   #define H323_DISABLE_H225 1
00137   #define H323_DISABLE_H235 1
00138   #define H323_DISABLE_H245 1
00139 #endif // OPAL_H323
00140 
00141 
00142 #if !OPAL_H450
00143   #define H323_DISABLE_X880 1
00144   #define H323_DISABLE_H4501 1
00145   #define H323_DISABLE_H4502 1
00146   #define H323_DISABLE_H4503 1
00147   #define H323_DISABLE_H4504 1
00148   #define H323_DISABLE_H4505 1
00149   #define H323_DISABLE_H4506 1
00150   #define H323_DISABLE_H4507 1
00151   #define H323_DISABLE_H4508 1
00152   #define H323_DISABLE_H4509 1
00153   #define H323_DISABLE_H45010 1
00154   #define H323_DISABLE_H45011 1
00155 #endif
00156 
00157 
00158 #if !OPAL_T120DATA
00159   #define H323_DISABLE_GCC 1
00160   #define H323_DISABLE_MCS 1
00161 #endif // OPAL_T120DATA
00162 
00163 
00164 #if !OPAL_H501
00165   #define H323_DISABLE_H501 1
00166 #endif
00167 
00168 
00169 #if OPAL_H323
00170   #define OPAL_HAS_H224 1
00171   #define OPAL_HAS_H281 1
00172 #endif
00173 
00175 
00176 
00177 
00178 
00179 #define OPAL_STATISTICS 1
00180 
00181 #define GCC_HAS_CLZ 1
00182 
00183 
00185 
00186 
00187 
00188 
00189 #define OPAL_G711PLC 1
00190 
00191 #if P_VIDEO
00192   #define OPAL_VIDEO 1
00193 #endif
00194 
00195 #if OPAL_VIDEO
00196   #define OPAL_RFC4175 1
00197 #endif
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 #if OPAL_SIP
00214   #define OPAL_HAS_SIPIM 1
00215 #endif
00216 #define OPAL_HAS_RFC4103 1
00217 
00218 #define OPAL_HAS_IM    (OPAL_HAS_SIPIM || OPAL_HAS_MSRP || OPAL_HAS_RFC4103)
00219 
00221 
00222 
00223 
00224 
00225 
00226 
00227 
00229 
00230 
00231 
00232 
00233 #if OPAL_LID
00234 
00235 
00236   #if HAS_VPB
00237     #if defined(_MSC_VER)
00238       #pragma include_alias(<vpbapi.h>, <@VPB_DIR@/src/vpbapi.h>)
00239       #define VPB_LIBRARY "@VPB_DIR@/win32/libvpb/Debug/libvpb.lib"
00240     #endif
00241   #endif
00242 #endif
00243 
00244 
00246 
00247 
00248 
00249 
00250 
00251 
00252 #if defined(HAS_LIBZRTP) && !defined(_WIN32_WCE)
00253 
00254   
00255   
00256 
00257   #if defined(_MSC_VER)
00258 
00259     #ifdef _DEBUG
00260       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Debug/libzrtp.lib"
00261     #else
00262       #define LIBZRTP_LIBRARY "@LIBZRTP_DIR@/Release/libzrtp.lib"
00263     #endif
00264 
00265     #pragma comment(lib, LIBZRTP_LIBRARY)
00266 
00267     #pragma include_alias("WINCONFIG/config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00268     #pragma include_alias("WINCONFIG\config.h",         "@LIBZRTP_DIR@/srtp_win32k/WINCONFIG/config.h")
00269 
00270     #pragma include_alias(<zrtp.h>,                     <@LIBZRTP_DIR@/include/zrtp.h>)
00271     #pragma include_alias(<zrtp_log.h>,                 <@LIBZRTP_DIR@/include/zrtp_log.h>)
00272     #pragma include_alias(<zrtp_types.h>,               <@LIBZRTP_DIR@/include/zrtp_types.h>)   
00273     #pragma include_alias(<zrtp_crypto.h>,              <@LIBZRTP_DIR@/include/zrtp_crypto.h>)
00274     #pragma include_alias(<zrtp_protocol.h>,            <@LIBZRTP_DIR@/include/zrtp_protocol.h>)
00275     #pragma include_alias(<zrtp_string.h>,              <@LIBZRTP_DIR@/include/zrtp_string.h>)
00276     #pragma include_alias(<zrtp_iface.h>,               <@LIBZRTP_DIR@/include/zrtp_iface.h>)
00277     #pragma include_alias(<zrtp_error.h>,               <@LIBZRTP_DIR@/include/zrtp_error.h>)
00278     #pragma include_alias(<zrtp_net.h>,                 <@LIBZRTP_DIR@/include/zrtp_net.h>)
00279     #pragma include_alias(<zrtp_system.h>,              <@LIBZRTP_DIR@/include/zrtp_system.h>)
00280     #pragma include_alias("bn.h",                       "@LIBZRTP_DIR@/bnlib/bn.h")
00281     #pragma include_alias(<bn.h>,                       <@LIBZRTP_DIR@/bnlib/bn.h>)
00282     #pragma include_alias("bnsize00.h",                 "@LIBZRTP_DIR@/bnlib/bnsize00.h")
00283     #pragma include_alias(<bnsize00.h>,                 <@LIBZRTP_DIR@/bnlib/bnsize00.h>)
00284 
00285     #pragma include_alias("aes.h",                      "@LIBZRTP_DIR@/bgaes/aes.h")
00286     #pragma include_alias("sha2.h",                     "@LIBZRTP_DIR@/bgaes/sha2.h")
00287 
00288     #pragma include_alias("zrtp_win_config.h",          "@LIBZRTP_DIR@/config/zrtp_win_config.h")
00289 
00290 
00291     
00292 
00293     #pragma include_alias("srtp.h",              "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00294     #pragma include_alias(<srtp.h>,              <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00295     #pragma include_alias("srtp/srtp.h",         "@LIBZRTP_DIR@/srtp_win32k/include/srtp.h")
00296     #pragma include_alias(<srtp/include/srtp.h>, <@LIBZRTP_DIR@/srtp_win32k/include/srtp.h>)
00297     #pragma include_alias("crypto_kernel.h",     "@LIBZRTP_DIR@/srtp_win32k/crypto/include/crypto_kernel.h")
00298     #pragma include_alias("rdbx.h",              "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdbx.h")
00299     #pragma include_alias("rdb.h",               "@LIBZRTP_DIR@/srtp_win32k/crypto/include/rdb.h")
00300     #pragma include_alias("integers.h",          "@LIBZRTP_DIR@/srtp_win32k/crypto/include/integers.h")
00301 
00302     
00303 
00304   #endif
00305 #endif
00306 
00308 
00309 
00310 
00311 
00312 
00313 
00314 #if HAS_LIBSRTP && !OPAL_ZRTP && !defined(_WIN32_WCE)
00315 
00316   
00317   
00318 
00319   #if defined(_MSC_VER)
00320 
00321     #pragma include_alias("srtp/srtp.h",         "@LIBSRTP_DIR@/include/srtp.h")
00322     #pragma include_alias(<srtp/include/srtp.h>, <@LIBSRTP_DIR@/include/srtp.h>)
00323     #pragma include_alias("crypto_kernel.h",     "@LIBSRTP_DIR@/crypto/include/crypto_kernel.h")
00324     #pragma include_alias("rdbx.h",              "@LIBSRTP_DIR@/crypto/include/rdbx.h")
00325     #pragma include_alias("rdb.h",               "@LIBSRTP_DIR@/crypto/include/rdb.h")
00326     #pragma include_alias("integers.h",          "@LIBSRTP_DIR@/crypto/include/integers.h")
00327 
00328     #ifdef _DEBUG
00329       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Debug/libsrtp.lib"
00330     #else
00331       #define LIBSRTP_LIBRARY "@LIBSRTP_DIR@/Release/libsrtp.lib"
00332     #endif
00333   #endif
00334 #endif
00335 
00336 
00338 
00339 
00340 
00341 
00342 
00343 
00344 #if OPAL_JAVA
00345   #if defined(_MSC_VER)
00346     #pragma include_alias(<jni.h>,    <@JAVA_DIR@/include/jni.h>)
00347     #pragma include_alias("jni_md.h", "@JAVA_DIR@/include/win32/jni_md.h")
00348   #endif
00349 #endif
00350 
00351 
00352 #endif // OPAL_BUILDOPTS_H
00353 
00354 
00355