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
00033
00034
00035
00036
00037
00038
00039
00040
00041
00049 #ifndef B64_INCL_B64_H_IMPLICIT_LINK
00050 #define B64_INCL_B64_H_IMPLICIT_LINK
00051
00052
00053
00054
00055
00056 #ifndef B64_DOCUMENTATION_SKIP_SECTION
00057 # define B64_VER_B64_H_IMPLICIT_LINK_MAJOR 1
00058 # define B64_VER_B64_H_IMPLICIT_LINK_MINOR 2
00059 # define B64_VER_B64_H_IMPLICIT_LINK_REVISION 1
00060 # define B64_VER_B64_H_IMPLICIT_LINK_EDIT 7
00061 #endif
00062
00063
00064
00065
00066
00067 #ifndef B64_INCL_B64_H_B64
00068 # include <b64/b64.h>
00069 #endif
00070
00071
00072
00073
00074
00075 #if defined(_WIN32) || \
00076 defined(_WIN64)
00077
00078 # if defined(__BORLANDC__) || \
00079 \
00080 defined(__INTEL_COMPILER) || \
00081 defined(__MWERKS__) || \
00082 defined(_MSC_VER)
00083 # if !defined(__COMO__)
00084 # define B64_IMPLICIT_LINK_SUPPORT
00085 # endif
00086 # endif
00087
00088 #if defined(B64_IMPLICIT_LINK_SUPPORT) && \
00089 defined(B64_NO_IMPLICIT_LINK)
00090 # undef B64_IMPLICIT_LINK_SUPPORT
00091 #endif
00092
00093 # if defined(B64_IMPLICIT_LINK_SUPPORT)
00094
00095
00096
00097 # define B64_IMPL_LINK_PREFIX
00098
00099
00100
00101 # define B64_IMPL_LINK_LIBRARY_BASENAME "b64"
00102
00103
00104
00105 # define B64_IMPL_LINK_MAJOR_VERSION_STRINGIZE_2_(x) #x
00106 # define B64_IMPL_LINK_MAJOR_VERSION_STRINGIZE_1_(x) B64_IMPL_LINK_MAJOR_VERSION_STRINGIZE_2_(x)
00107
00108 # define B64_IMPL_LINK_MAJOR_VERSION "." B64_IMPL_LINK_MAJOR_VERSION_STRINGIZE_1_(B64_VER_MAJOR)
00109
00110
00111
00112 # define B64_IMPL_LINK_MODULE_NAME ".core"
00113
00114
00115
00116 # if defined(__BORLANDC__)
00117 # if __BORLANDC__ == 0x0550
00118 # define B64_IMPL_LINK_COMPILER_NAME "bc55"
00119 # elif (__BORLANDC__ == 0x0551)
00120 # define B64_IMPL_LINK_COMPILER_NAME "bc551"
00121 # elif (__BORLANDC__ == 0x0560)
00122 # define B64_IMPL_LINK_COMPILER_NAME "bc56"
00123 # elif (__BORLANDC__ == 0x0564)
00124 # define B64_IMPL_LINK_COMPILER_NAME "bc564"
00125 # elif (__BORLANDC__ == 0x0582)
00126 # define B64_IMPL_LINK_COMPILER_NAME "bc582"
00127 # elif (0x0590 == (__BORLANDC__ & 0xfff0))
00128 # define B64_IMPL_LINK_COMPILER_NAME "bc59x"
00129 # elif (0x0610 == (__BORLANDC__ & 0xfff0))
00130 # define B64_IMPL_LINK_COMPILER_NAME "bc61x"
00131 # else
00132 # error Unrecognised value of __BORLANDC__
00133 # endif
00134
00135
00136
00137
00138
00139
00140 # elif defined(__INTEL_COMPILER)
00141 # if (__INTEL_COMPILER == 600)
00142 # define B64_IMPL_LINK_COMPILER_NAME "icl6"
00143 # elif (__INTEL_COMPILER == 700)
00144 # define B64_IMPL_LINK_COMPILER_NAME "icl7"
00145 # elif (__INTEL_COMPILER == 800)
00146 # define B64_IMPL_LINK_COMPILER_NAME "icl8"
00147 # elif (__INTEL_COMPILER == 900)
00148 # define B64_IMPL_LINK_COMPILER_NAME "icl9"
00149 # elif (__INTEL_COMPILER == 1000)
00150 # define B64_IMPL_LINK_COMPILER_NAME "icl10"
00151 # elif (__INTEL_COMPILER == 1100)
00152 # define B64_IMPL_LINK_COMPILER_NAME "icl11"
00153 # else
00154 # error Unrecognised value of __INTEL_COMPILER
00155 # endif
00156
00157 # elif defined(__MWERKS__)
00158 # if ((__MWERKS__ & 0xFF00) == 0x2400)
00159 # define B64_IMPL_LINK_COMPILER_NAME "cw7"
00160 # elif ((__MWERKS__ & 0xFF00) == 0x3000)
00161 # define B64_IMPL_LINK_COMPILER_NAME "cw8"
00162 # elif ((__MWERKS__ & 0xFF00) == 0x3200)
00163 # define B64_IMPL_LINK_COMPILER_NAME "cw9"
00164 # else
00165 # error Unrecognised value of __MWERKS__
00166 # endif
00167
00168 # elif defined(_MSC_VER)
00169 # if _MSC_VER == 1000
00170 # define B64_IMPL_LINK_COMPILER_NAME "vc4"
00171 # elif _MSC_VER == 1020
00172 # define B64_IMPL_LINK_COMPILER_NAME "vc42"
00173 # elif _MSC_VER == 1100
00174 # define B64_IMPL_LINK_COMPILER_NAME "vc5"
00175 # elif _MSC_VER == 1200
00176 # define B64_IMPL_LINK_COMPILER_NAME "vc6"
00177 # elif _MSC_VER == 1300
00178 # define B64_IMPL_LINK_COMPILER_NAME "vc7"
00179 # elif _MSC_VER == 1310
00180 # define B64_IMPL_LINK_COMPILER_NAME "vc71"
00181 # elif _MSC_VER == 1400
00182 # define B64_IMPL_LINK_COMPILER_NAME "vc8"
00183 # elif _MSC_VER == 1500
00184 # define B64_IMPL_LINK_COMPILER_NAME "vc9"
00185 # else
00186 # error Unrecognised value of _MSC_VER
00187 # endif
00188
00189 # else
00190 # error Unrecognised compiler
00191 # endif
00192
00193
00194
00195
00196 # if defined(_STLSOFT_FORCE_ANY_COMPILER) && \
00197 defined(PLATFORMSTL_OS_IS_UNIX) && \
00198 defined(_WIN32)
00199 # define B64_IMPL_LINK_OS_TAG ".unix"
00200 # endif
00201
00202 # if !defined(B64_IMPL_LINK_OS_TAG)
00203 # define B64_IMPL_LINK_OS_TAG ""
00204 # endif
00205
00206
00207
00208
00209 # if defined(PLATFORMSTL_ARCH_IS_X86)
00210 # define B64_IMPL_LINK_ARCH_TAG ""
00211 # elif defined(PLATFORMSTL_ARCH_IS_X64)
00212 # define B64_IMPL_LINK_ARCH_TAG ".x64"
00213 # elif defined(PLATFORMSTL_ARCH_IS_IA64)
00214 # define B64_IMPL_LINK_ARCH_TAG ".ia64"
00215 # endif
00216
00217 # if !defined(B64_IMPL_LINK_ARCH_TAG)
00218 # define B64_IMPL_LINK_ARCH_TAG ""
00219 # endif
00220
00221
00222
00223
00224 # if defined(B64_USE_WIDE_STRINGS)
00225 # define B64_IMPL_LINK_ENCODING_TAG ".widestring"
00226 # else
00227 # define B64_IMPL_LINK_ENCODING_TAG ""
00228 # endif
00229
00230
00231
00232
00233 # if defined(__MT__) || \
00234 defined(_REENTRANT) || \
00235 defined(_MT)
00236 # if defined(_DLL) || \
00237 defined(__DLL)
00238 # define B64_IMPL_LINK_THREADING_TAG ".dll"
00239 # else
00240 # define B64_IMPL_LINK_THREADING_TAG ".mt"
00241 # endif
00242 # else
00243 # define B64_IMPL_LINK_THREADING_TAG ""
00244 # endif
00245
00246
00247
00248
00249 # if defined(B64_CF_NOX)
00250 # define B64_IMPL_LINK_NOX_TYPE ".nox"
00251 # else
00252 # define B64_IMPL_LINK_NOX_TYPE ""
00253 # endif
00254
00255
00256
00257
00258 # if defined(B64_VARIANT_TEST)
00259 # define B64_IMPL_LINK_DEBUG_TYPE ".test"
00260 # elif !defined(NDEBUG) && \
00261 defined(_DEBUG)
00262 # define B64_IMPL_LINK_DEBUG_TAG ".debug"
00263 # else
00264 # define B64_IMPL_LINK_DEBUG_TAG ""
00265 # endif
00266
00267
00268
00269
00270 # define B64_IMPL_LINK_SUFFIX ".lib"
00271
00272
00273
00274
00275
00276
00277
00278 # define B64_IMPL_LINK_LIBRARY_NAME B64_IMPL_LINK_PREFIX \
00279 B64_IMPL_LINK_LIBRARY_BASENAME \
00280 B64_IMPL_LINK_MAJOR_VERSION \
00281 B64_IMPL_LINK_MODULE_NAME \
00282 "." B64_IMPL_LINK_COMPILER_NAME \
00283 B64_IMPL_LINK_OS_TAG \
00284 B64_IMPL_LINK_ARCH_TAG \
00285 B64_IMPL_LINK_ENCODING_TAG \
00286 B64_IMPL_LINK_THREADING_TAG \
00287 B64_IMPL_LINK_NOX_TYPE \
00288 B64_IMPL_LINK_DEBUG_TAG \
00289 B64_IMPL_LINK_SUFFIX
00290
00291
00292 # pragma message("lib: " B64_IMPL_LINK_LIBRARY_NAME)
00293
00294 # pragma comment(lib, B64_IMPL_LINK_LIBRARY_NAME)
00295
00296 # endif
00297
00298 #endif
00299
00300
00301
00302 #endif
00303
00304
00305