/home/ntakagi/work/STLport-5.1.5/stlport/stl/config/_auto_link.hGo to the documentation of this file.00001 /* We do not use auto link feature when: 00002 * - user asked not to use it (_STLP_DONT_USE_AUTO_LINK) 00003 * - STLport is used only as a STL library (_STLP_NO_IOSTREAMS || _STLP_USE_NO_IOSTREAMS) 00004 * - we are building a C translation unit, STLport is a C++ Standard library implementation 00005 */ 00006 #if !defined (__BUILDING_STLPORT) && !defined (_STLP_DONT_USE_AUTO_LINK) && \ 00007 !defined (_STLP_NO_IOSTREAMS) && !defined (_STLP_USE_NO_IOSTREAMS) && \ 00008 defined (__cplusplus) 00009 00010 # define _STLP_STRINGIZE(X) _STLP_STRINGIZE_AUX(X) 00011 # define _STLP_STRINGIZE_AUX(X) #X 00012 00013 # if defined (_STLP_DEBUG) 00014 # define _STLP_LIB_OPTIM_MODE "stld" 00015 # elif defined (_DEBUG) 00016 # define _STLP_LIB_OPTIM_MODE "d" 00017 # else 00018 # define _STLP_LIB_OPTIM_MODE "" 00019 # endif 00020 00021 # if defined (_STLP_LIB_NAME_MOTIF) 00022 # define _STLP_LIB_MOTIF "_"_STLP_LIB_NAME_MOTIF 00023 # else 00024 # define _STLP_LIB_MOTIF "" 00025 # endif 00026 00027 # if defined (_STLP_USE_DYNAMIC_LIB) 00028 # if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB) 00029 # define _STLP_LIB_TYPE "_x" 00030 # else 00031 # define _STLP_LIB_TYPE "" 00032 # endif 00033 # else 00034 # if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB) 00035 # define _STLP_LIB_TYPE "_statix" 00036 # else 00037 # define _STLP_LIB_TYPE "_static" 00038 # endif 00039 # endif 00040 00041 # define _STLP_VERSION_STR _STLP_STRINGIZE(_STLPORT_MAJOR)"."_STLP_STRINGIZE(_STLPORT_MINOR) 00042 00043 # define _STLP_STLPORT_LIB "stlport"_STLP_LIB_OPTIM_MODE""_STLP_LIB_TYPE""_STLP_LIB_MOTIF"."_STLP_VERSION_STR".lib" 00044 00045 # if defined (_STLP_VERBOSE_AUTO_LINK) 00046 # pragma message ("STLport: Auto linking to "_STLP_STLPORT_LIB) 00047 # endif 00048 # pragma comment (lib, _STLP_STLPORT_LIB) 00049 00050 # undef _STLP_STLPORT_LIB 00051 # undef _STLP_LIB_OPTIM_MODE 00052 # undef _STLP_LIB_TYPE 00053 # undef _STLP_STRINGIZE_AUX 00054 # undef _STLP_STRINGIZE 00055 00056 #endif /* _STLP_DONT_USE_AUTO_LINK */ 00057
Generated on Mon Mar 10 15:32:46 2008 by ![]() |