sl@0: /////////////////////////// sl@0: // sl@0: // Version sl@0: // sl@0: #include sl@0: sl@0: #include sl@0: sl@0: /* On some evc3/evc4 targets the windows.h doesn't include winver.h or doesn't sl@0: * define needed file version flags, so we redefine them here. sl@0: */ sl@0: #ifndef VS_FF_DEBUG sl@0: # define VS_FF_DEBUG 0x00000001L sl@0: #endif sl@0: sl@0: #ifndef VOS__WINDOWS32 sl@0: # define VOS__WINDOWS32 0x00000004L sl@0: #endif sl@0: sl@0: #ifndef VFT_DLL sl@0: # define VFT_DLL 0x00000002L sl@0: #endif sl@0: sl@0: #ifndef VFT2_UNKNOWN sl@0: # define VFT2_UNKNOWN 0x00000000L sl@0: #endif sl@0: sl@0: #define STRINGIZE(X) STRINGIZE_AUX(X) sl@0: #define STRINGIZE_AUX(X) #X sl@0: sl@0: #define VERSION_ID _STLPORT_MAJOR, _STLPORT_MINOR, _STLPORT_PATCHLEVEL, 0 sl@0: #if !defined (__BORLANDC__) sl@0: # define VERSION_STR STRINGIZE(_STLPORT_MAJOR._STLPORT_MINOR._STLPORT_PATCHLEVEL) sl@0: #else sl@0: /* Borland precompiler happen weird character when trying to transform a sl@0: * macro containing 0 in a character string so we use a workaround for this sl@0: * value. We do not check the major version that will never be 0 again. sl@0: */ sl@0: # if (_STLPORT_MINOR == 0) sl@0: # define _STLP_MINOR "0" sl@0: # else sl@0: # define _STLP_MINOR STRINGIZE(_STLPORT_MINOR) sl@0: # endif sl@0: # if (_STLPORT_PATCHLEVEL == 0) sl@0: # define _STLP_PATCH "0" sl@0: # else sl@0: # define _STLP_PATCH STRINGIZE(_STLPORT_PATCHLEVEL) sl@0: # endif sl@0: # define VERSION_STR STRINGIZE(_STLPORT_MAJOR) "." _STLP_MINOR "." _STLP_PATCH "\0" sl@0: #endif sl@0: sl@0: #if defined (__GNUC__) sl@0: # define LIB_MOTIF "libstlport" sl@0: #else sl@0: # define LIB_MOTIF "stlport" sl@0: #endif sl@0: #define DLLNAME LIB_MOTIF "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0" sl@0: #define DLLNAME2(buildstr) LIB_MOTIF "" STRINGIZE(buildstr) "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0" sl@0: sl@0: VS_VERSION_INFO VERSIONINFO sl@0: FILEVERSION VERSION_ID sl@0: PRODUCTVERSION VERSION_ID sl@0: FILEFLAGSMASK 0x3fL sl@0: sl@0: FILEFLAGS VS_FF_DEBUG sl@0: sl@0: FILEOS VOS__WINDOWS32 sl@0: FILETYPE VFT_DLL sl@0: FILESUBTYPE VFT2_UNKNOWN sl@0: BEGIN sl@0: BLOCK "StringFileInfo" sl@0: BEGIN sl@0: BLOCK "040904B0" sl@0: BEGIN sl@0: VALUE "CompanyName", "STLport Consulting, Inc.\0" sl@0: VALUE "FileDescription", "STLport\0" sl@0: VALUE "FileVersion", VERSION_STR sl@0: VALUE "InternalName", "STLPORT.DLL\0" sl@0: VALUE "LegalCopyright", "Copyright (C) Boris Fomitchev\0" sl@0: #if !defined (BUILD) sl@0: VALUE "OriginalFilename", DLLNAME sl@0: #else sl@0: VALUE "OriginalFilename", DLLNAME2(BUILD) sl@0: #endif sl@0: VALUE "ProductName", "STLport Standard ANSI C++ Library\0" sl@0: VALUE "ProductVersion", VERSION_STR sl@0: #if defined (BUILD_INFOS) sl@0: VALUE "SpecialBuild", STRINGIZE(COMP) " " STRINGIZE(BUILD_INFOS) "\0" sl@0: #endif sl@0: END sl@0: END sl@0: BLOCK "VarFileInfo" sl@0: BEGIN sl@0: VALUE "Translation", 0x409, 1200 sl@0: END sl@0: END