os/ossrv/genericopenlibs/cppstdlib/stl/src/stlport.rc
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
///////////////////////////
sl@0
     2
//
sl@0
     3
// Version
sl@0
     4
//
sl@0
     5
#include <windows.h>
sl@0
     6
sl@0
     7
#include <stl/_stlport_version.h>
sl@0
     8
sl@0
     9
/* On some evc3/evc4 targets the windows.h doesn't include winver.h or doesn't
sl@0
    10
 * define needed file version flags, so we redefine them here.
sl@0
    11
 */
sl@0
    12
#ifndef VS_FF_DEBUG
sl@0
    13
#  define VS_FF_DEBUG    0x00000001L
sl@0
    14
#endif
sl@0
    15
sl@0
    16
#ifndef VOS__WINDOWS32
sl@0
    17
#  define VOS__WINDOWS32 0x00000004L
sl@0
    18
#endif
sl@0
    19
sl@0
    20
#ifndef VFT_DLL
sl@0
    21
#  define VFT_DLL        0x00000002L
sl@0
    22
#endif
sl@0
    23
sl@0
    24
#ifndef VFT2_UNKNOWN
sl@0
    25
#  define VFT2_UNKNOWN   0x00000000L
sl@0
    26
#endif
sl@0
    27
sl@0
    28
#define STRINGIZE(X) STRINGIZE_AUX(X)
sl@0
    29
#define STRINGIZE_AUX(X) #X
sl@0
    30
sl@0
    31
#define VERSION_ID _STLPORT_MAJOR, _STLPORT_MINOR, _STLPORT_PATCHLEVEL, 0
sl@0
    32
#if !defined (__BORLANDC__)
sl@0
    33
#  define VERSION_STR STRINGIZE(_STLPORT_MAJOR._STLPORT_MINOR._STLPORT_PATCHLEVEL)
sl@0
    34
#else
sl@0
    35
/* Borland precompiler happen weird character when trying to transform a
sl@0
    36
 * macro containing 0 in a character string so we use a workaround for this
sl@0
    37
 * value. We do not check the major version that will never be 0 again.
sl@0
    38
 */
sl@0
    39
#  if (_STLPORT_MINOR == 0)
sl@0
    40
#    define _STLP_MINOR "0"
sl@0
    41
#  else
sl@0
    42
#    define _STLP_MINOR STRINGIZE(_STLPORT_MINOR)
sl@0
    43
#  endif
sl@0
    44
#  if (_STLPORT_PATCHLEVEL == 0)
sl@0
    45
#    define _STLP_PATCH "0"
sl@0
    46
#  else
sl@0
    47
#    define _STLP_PATCH STRINGIZE(_STLPORT_PATCHLEVEL)
sl@0
    48
#  endif
sl@0
    49
#  define VERSION_STR STRINGIZE(_STLPORT_MAJOR) "." _STLP_MINOR "." _STLP_PATCH "\0"
sl@0
    50
#endif
sl@0
    51
sl@0
    52
#if defined (__GNUC__)
sl@0
    53
#  define LIB_MOTIF "libstlport"
sl@0
    54
#else
sl@0
    55
#  define LIB_MOTIF "stlport"
sl@0
    56
#endif
sl@0
    57
#define DLLNAME LIB_MOTIF "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0"
sl@0
    58
#define DLLNAME2(buildstr) LIB_MOTIF "" STRINGIZE(buildstr) "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0"
sl@0
    59
sl@0
    60
VS_VERSION_INFO VERSIONINFO
sl@0
    61
FILEVERSION VERSION_ID
sl@0
    62
PRODUCTVERSION VERSION_ID
sl@0
    63
FILEFLAGSMASK 0x3fL
sl@0
    64
sl@0
    65
FILEFLAGS VS_FF_DEBUG
sl@0
    66
sl@0
    67
FILEOS VOS__WINDOWS32
sl@0
    68
FILETYPE VFT_DLL
sl@0
    69
FILESUBTYPE VFT2_UNKNOWN
sl@0
    70
BEGIN
sl@0
    71
  BLOCK "StringFileInfo"
sl@0
    72
  BEGIN
sl@0
    73
    BLOCK "040904B0"
sl@0
    74
    BEGIN
sl@0
    75
      VALUE "CompanyName", "STLport Consulting, Inc.\0"
sl@0
    76
      VALUE "FileDescription", "STLport\0"
sl@0
    77
      VALUE "FileVersion", VERSION_STR
sl@0
    78
      VALUE "InternalName", "STLPORT.DLL\0"
sl@0
    79
      VALUE "LegalCopyright", "Copyright (C) Boris Fomitchev\0"
sl@0
    80
#if !defined (BUILD)
sl@0
    81
      VALUE "OriginalFilename", DLLNAME
sl@0
    82
#else
sl@0
    83
      VALUE "OriginalFilename", DLLNAME2(BUILD)
sl@0
    84
#endif
sl@0
    85
      VALUE "ProductName", "STLport Standard ANSI C++ Library\0"
sl@0
    86
      VALUE "ProductVersion", VERSION_STR
sl@0
    87
#if defined (BUILD_INFOS)
sl@0
    88
      VALUE "SpecialBuild", STRINGIZE(COMP) " " STRINGIZE(BUILD_INFOS) "\0"
sl@0
    89
#endif
sl@0
    90
    END
sl@0
    91
  END
sl@0
    92
  BLOCK "VarFileInfo"
sl@0
    93
  BEGIN
sl@0
    94
    VALUE "Translation", 0x409, 1200
sl@0
    95
  END
sl@0
    96
END