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
00048 #ifndef B64_INCL_B64_H_IMPLICIT_LINK
00049 #define B64_INCL_B64_H_IMPLICIT_LINK
00050
00051
00052
00053
00054
00055 #ifndef B64_DOCUMENTATION_SKIP_SECTION
00056 # define B64_VER_B64_H_IMPLICIT_LINK_MAJOR 1
00057 # define B64_VER_B64_H_IMPLICIT_LINK_MINOR 1
00058 # define B64_VER_B64_H_IMPLICIT_LINK_REVISION 2
00059 # define B64_VER_B64_H_IMPLICIT_LINK_EDIT 5
00060 #endif
00061
00062
00063
00064
00065
00066 #ifndef B64_INCL_B64_H_B64
00067 # include <b64/b64.h>
00068 #endif
00069
00070
00071
00072
00073
00074 #if defined(_WIN32) || \
00075 defined(_WIN64)
00076
00077 # if defined(__BORLANDC__) || \
00078 \
00079 defined(__INTEL_COMPILER) || \
00080 defined(__MWERKS__) || \
00081 defined(_MSC_VER)
00082 # define B64_IMPLICIT_LINK_SUPPORT
00083 # endif
00084
00085 #if defined(B64_IMPLICIT_LINK_SUPPORT) && \
00086 defined(B64_NO_IMPLICIT_LINK)
00087 # undef B64_IMPLICIT_LINK_SUPPORT
00088 #endif
00089
00090 # if defined(B64_IMPLICIT_LINK_SUPPORT)
00091
00092 # if defined(__BORLANDC__)
00093 # if __BORLANDC__ == 0x0550
00094 # define B64_IMPL_LINK_COMPILER_NAME "bc55"
00095 # elif (__BORLANDC__ == 0x0551)
00096 # define B64_IMPL_LINK_COMPILER_NAME "bc551"
00097 # elif (__BORLANDC__ == 0x0560)
00098 # define B64_IMPL_LINK_COMPILER_NAME "bc56"
00099 # elif (__BORLANDC__ == 0x0564)
00100 # define B64_IMPL_LINK_COMPILER_NAME "bc564"
00101 # elif (__BORLANDC__ == 0x0582)
00102 # define B64_IMPL_LINK_COMPILER_NAME "bc582"
00103 # else
00104 # error Unrecognised value of __BORLANDC__
00105 # endif
00106
00107
00108
00109
00110
00111
00112 # elif defined(__INTEL_COMPILER)
00113 # if (__INTEL_COMPILER == 600)
00114 # define B64_IMPL_LINK_COMPILER_NAME "icl6"
00115 # elif (__INTEL_COMPILER == 700)
00116 # define B64_IMPL_LINK_COMPILER_NAME "icl7"
00117 # elif (__INTEL_COMPILER == 800)
00118 # define B64_IMPL_LINK_COMPILER_NAME "icl8"
00119 # else
00120 # error Unrecognised value of __INTEL_COMPILER
00121 # endif
00122
00123 # elif defined(__MWERKS__)
00124 # if ((__MWERKS__ & 0xFF00) == 0x2400)
00125 # define B64_IMPL_LINK_COMPILER_NAME "cw7"
00126 # elif ((__MWERKS__ & 0xFF00) == 0x3000)
00127 # define B64_IMPL_LINK_COMPILER_NAME "cw8"
00128 # elif ((__MWERKS__ & 0xFF00) == 0x3200)
00129 # define B64_IMPL_LINK_COMPILER_NAME "cw9"
00130 # else
00131 # error Unrecognised value of __MWERKS__
00132 # endif
00133
00134 # elif defined(_MSC_VER)
00135 # if _MSC_VER == 1000
00136 # define B64_IMPL_LINK_COMPILER_NAME "vc4"
00137 # elif _MSC_VER == 1020
00138 # define B64_IMPL_LINK_COMPILER_NAME "vc42"
00139 # elif _MSC_VER == 1100
00140 # define B64_IMPL_LINK_COMPILER_NAME "vc5"
00141 # elif _MSC_VER == 1200
00142 # define B64_IMPL_LINK_COMPILER_NAME "vc6"
00143 # elif _MSC_VER == 1300
00144 # define B64_IMPL_LINK_COMPILER_NAME "vc7"
00145 # elif _MSC_VER == 1310
00146 # define B64_IMPL_LINK_COMPILER_NAME "vc71"
00147 # elif _MSC_VER == 1400
00148 # if defined(_M_IX86)
00149 # define B64_IMPL_LINK_COMPILER_NAME "vc8"
00150 # elif defined(_M_X64) || \
00151 defined(_M_AMD64)
00152 # define B64_IMPL_LINK_COMPILER_NAME "vc8_x64"
00153 # elif defined(_M_IA64)
00154 # define B64_IMPL_LINK_COMPILER_NAME "vc8_ia64"
00155 # else
00156 # error Unrecognised architecture
00157 # endif
00158 # elif _MSC_VER == 1500
00159 # if defined(_M_IX86)
00160 # define B64_IMPL_LINK_COMPILER_NAME "vc9"
00161 # elif defined(_M_X64) || \
00162 defined(_M_AMD64)
00163 # define B64_IMPL_LINK_COMPILER_NAME "vc9_x64"
00164 # elif defined(_M_IA64)
00165 # define B64_IMPL_LINK_COMPILER_NAME "vc9_ia64"
00166 # else
00167 # error Unrecognised architecture
00168 # endif
00169 # else
00170 # error Unrecognised value of _MSC_VER
00171 # endif
00172
00173 # else
00174 # error Unrecognised compiler
00175 # endif
00176
00177
00178 # if defined(__MT__) || \
00179 defined(_REENTRANT) || \
00180 defined(_MT)
00181 # if defined(_DLL) || \
00182 defined(__DLL)
00183 # define B64_IMPL_LINK_THREADING_TYPE ".dll"
00184 # else
00185 # define B64_IMPL_LINK_THREADING_TYPE ".mt"
00186 # endif
00187 # else
00188 # define B64_IMPL_LINK_THREADING_TYPE ""
00189 # endif
00190
00191
00192 # if !defined(NDEBUG) && \
00193 defined(_DEBUG)
00194 # define B64_IMPL_LINK_DEBUG_TYPE ".debug"
00195 # else
00196 # define B64_IMPL_LINK_DEBUG_TYPE ""
00197 # endif
00198
00199 # define B64_IMPL_LINK_LIBRARY_BASENAME_s_(x) #x
00200 # define B64_IMPL_LINK_LIBRARY_BASENAME_s(x) B64_IMPL_LINK_LIBRARY_BASENAME_s_(x)
00201 # define B64_IMPL_LINK_LIBRARY_BASENAME "b64." B64_IMPL_LINK_LIBRARY_BASENAME_s(B64_VER_MAJOR) "."
00202
00203 # define B64_IMPL_LINK_LIBRARY_NAME B64_IMPL_LINK_LIBRARY_BASENAME B64_IMPL_LINK_COMPILER_NAME B64_IMPL_LINK_THREADING_TYPE B64_IMPL_LINK_DEBUG_TYPE ".lib"
00204
00205 # pragma message("lib: " B64_IMPL_LINK_LIBRARY_NAME)
00206
00207 # pragma comment(lib, B64_IMPL_LINK_LIBRARY_NAME)
00208
00209 # endif
00210
00211 #endif
00212
00213
00214
00215 #endif
00216
00217