os/ossrv/genericopenlibs/cppstdlib/stl/src/stlport.rc
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/src/stlport.rc	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,96 @@
     1.4 +///////////////////////////
     1.5 +//
     1.6 +// Version
     1.7 +//
     1.8 +#include <windows.h>
     1.9 +
    1.10 +#include <stl/_stlport_version.h>
    1.11 +
    1.12 +/* On some evc3/evc4 targets the windows.h doesn't include winver.h or doesn't
    1.13 + * define needed file version flags, so we redefine them here.
    1.14 + */
    1.15 +#ifndef VS_FF_DEBUG
    1.16 +#  define VS_FF_DEBUG    0x00000001L
    1.17 +#endif
    1.18 +
    1.19 +#ifndef VOS__WINDOWS32
    1.20 +#  define VOS__WINDOWS32 0x00000004L
    1.21 +#endif
    1.22 +
    1.23 +#ifndef VFT_DLL
    1.24 +#  define VFT_DLL        0x00000002L
    1.25 +#endif
    1.26 +
    1.27 +#ifndef VFT2_UNKNOWN
    1.28 +#  define VFT2_UNKNOWN   0x00000000L
    1.29 +#endif
    1.30 +
    1.31 +#define STRINGIZE(X) STRINGIZE_AUX(X)
    1.32 +#define STRINGIZE_AUX(X) #X
    1.33 +
    1.34 +#define VERSION_ID _STLPORT_MAJOR, _STLPORT_MINOR, _STLPORT_PATCHLEVEL, 0
    1.35 +#if !defined (__BORLANDC__)
    1.36 +#  define VERSION_STR STRINGIZE(_STLPORT_MAJOR._STLPORT_MINOR._STLPORT_PATCHLEVEL)
    1.37 +#else
    1.38 +/* Borland precompiler happen weird character when trying to transform a
    1.39 + * macro containing 0 in a character string so we use a workaround for this
    1.40 + * value. We do not check the major version that will never be 0 again.
    1.41 + */
    1.42 +#  if (_STLPORT_MINOR == 0)
    1.43 +#    define _STLP_MINOR "0"
    1.44 +#  else
    1.45 +#    define _STLP_MINOR STRINGIZE(_STLPORT_MINOR)
    1.46 +#  endif
    1.47 +#  if (_STLPORT_PATCHLEVEL == 0)
    1.48 +#    define _STLP_PATCH "0"
    1.49 +#  else
    1.50 +#    define _STLP_PATCH STRINGIZE(_STLPORT_PATCHLEVEL)
    1.51 +#  endif
    1.52 +#  define VERSION_STR STRINGIZE(_STLPORT_MAJOR) "." _STLP_MINOR "." _STLP_PATCH "\0"
    1.53 +#endif
    1.54 +
    1.55 +#if defined (__GNUC__)
    1.56 +#  define LIB_MOTIF "libstlport"
    1.57 +#else
    1.58 +#  define LIB_MOTIF "stlport"
    1.59 +#endif
    1.60 +#define DLLNAME LIB_MOTIF "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0"
    1.61 +#define DLLNAME2(buildstr) LIB_MOTIF "" STRINGIZE(buildstr) "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0"
    1.62 +
    1.63 +VS_VERSION_INFO VERSIONINFO
    1.64 +FILEVERSION VERSION_ID
    1.65 +PRODUCTVERSION VERSION_ID
    1.66 +FILEFLAGSMASK 0x3fL
    1.67 +
    1.68 +FILEFLAGS VS_FF_DEBUG
    1.69 +
    1.70 +FILEOS VOS__WINDOWS32
    1.71 +FILETYPE VFT_DLL
    1.72 +FILESUBTYPE VFT2_UNKNOWN
    1.73 +BEGIN
    1.74 +  BLOCK "StringFileInfo"
    1.75 +  BEGIN
    1.76 +    BLOCK "040904B0"
    1.77 +    BEGIN
    1.78 +      VALUE "CompanyName", "STLport Consulting, Inc.\0"
    1.79 +      VALUE "FileDescription", "STLport\0"
    1.80 +      VALUE "FileVersion", VERSION_STR
    1.81 +      VALUE "InternalName", "STLPORT.DLL\0"
    1.82 +      VALUE "LegalCopyright", "Copyright (C) Boris Fomitchev\0"
    1.83 +#if !defined (BUILD)
    1.84 +      VALUE "OriginalFilename", DLLNAME
    1.85 +#else
    1.86 +      VALUE "OriginalFilename", DLLNAME2(BUILD)
    1.87 +#endif
    1.88 +      VALUE "ProductName", "STLport Standard ANSI C++ Library\0"
    1.89 +      VALUE "ProductVersion", VERSION_STR
    1.90 +#if defined (BUILD_INFOS)
    1.91 +      VALUE "SpecialBuild", STRINGIZE(COMP) " " STRINGIZE(BUILD_INFOS) "\0"
    1.92 +#endif
    1.93 +    END
    1.94 +  END
    1.95 +  BLOCK "VarFileInfo"
    1.96 +  BEGIN
    1.97 +    VALUE "Translation", 0x409, 1200
    1.98 +  END
    1.99 +END