Cygwin: (mostly) drop NT4 and Samba < 3.0 support
[newlib-cygwin.git] / winsup / cygwin / winver.rc
blob980d51204c84b67d09c9cb1e247cc899a72ea288
1 #include <winver.h>
2 #include <cygwin/version.h>
4 #define STRINGIFY1(x) #x
5 #define STRINGIFY(x) STRINGIFY1(x)
7 #define CYGWIN_DLL_NAME CYGWIN_VERSION_DLL_IDENTIFIER STRINGIFY(.dll)
9 #define CYGWIN_API_VERSION STRINGIFY(CYGWIN_VERSION_API_MAJOR) "." \
10                           STRINGIFY(CYGWIN_VERSION_API_MINOR)
12 #define CYGWIN_BUILD_DATE_TIME  STRINGIFY(CYGWIN_BUILD_DATE) " " \
13                                 STRINGIFY(CYGWIN_BUILD_TIME)
15 VS_VERSION_INFO VERSIONINFO
16   FILEVERSION    CYGWIN_VERSION_DLL_MAJOR,CYGWIN_VERSION_DLL_MINOR,0,0
17   PRODUCTVERSION CYGWIN_VERSION_DLL_MAJOR,CYGWIN_VERSION_DLL_MINOR,0,0
18   FILEFLAGSMASK  0x3fL
19 #ifdef DEBUGGING
20   FILEFLAGS      VS_FF_DEBUG
21 #else
22   FILEFLAGS      0x0L
23 #endif
24   FILEOS         VOS__WINDOWS32
25   FILETYPE       VFT_DLL
26   FILESUBTYPE    0x0L
27 BEGIN
28   BLOCK "StringFileInfo"
29   BEGIN
30     BLOCK "040904B0"
31     BEGIN
32       VALUE "CompanyName", "Red Hat"
33       VALUE "FileDescription", "Cygwin POSIX Emulation DLL"
34       VALUE "FileVersion", STRINGIFY(CYGWIN_VERSION)
35       VALUE "InternalName", CYGWIN_DLL_NAME
36       VALUE "LegalCopyright", "Copyright \251 Cygwin Authors 1996-" STRINGIFY(CYGWIN_BUILD_YEAR)
37       VALUE "OriginalFilename", CYGWIN_DLL_NAME
38       VALUE "ProductName", "Cygwin"
39       VALUE "ProductVersion", STRINGIFY(CYGWIN_VERSION)
40       VALUE "APIVersion", CYGWIN_API_VERSION
41       VALUE "SharedMemoryVersion", STRINGIFY(CYGWIN_VERSION_SHARED_DATA)
42       VALUE "RegistryKey", CYGWIN_INFO_CYGWIN_REGISTRY_NAME
43       VALUE "BuildDate", CYGWIN_BUILD_DATE_TIME
44     END
45   END
46   BLOCK "VarFileInfo"
47   BEGIN
48       VALUE "Translation", 0x409, 1200
49   END
50 END