aboutsummaryrefslogtreecommitdiff
path: root/windows/common.rc
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-02-10 21:48:05 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-02-10 21:48:05 +0200
commite605c2663691b0a4c307786aa368d124ea081daa (patch)
tree2eb653ffd57f047534846dd78c0858e3c7957730 /windows/common.rc
parentLet the user specify custom CFLAGS on the make command (diff)
downloadxz-e605c2663691b0a4c307786aa368d124ea081daa.tar.xz
Added resource files for the Windows build.
Diffstat (limited to '')
-rw-r--r--windows/common.rc46
1 files changed, 46 insertions, 0 deletions
diff --git a/windows/common.rc b/windows/common.rc
new file mode 100644
index 00000000..18bc6c13
--- /dev/null
+++ b/windows/common.rc
@@ -0,0 +1,46 @@
+#include <winresrc.h>
+#include "config.h"
+
+#define MY_VER_MAJOR 4
+#define MY_VER_MINOR 999
+#define MY_VER_PATCH 8
+#ifndef MY_VER_BUILD
+# define MY_VER_BUILD 0
+#endif
+#define MY_VERSION MY_VER_MAJOR,MY_VER_MINOR,MY_VER_PATCH,MY_VER_BUILD
+
+#define MY_FILENAME MY_NAME MY_SUFFIX
+#define MY_COMPANY "Lasse Collin and Igor Pavlov"
+#define MY_COPYRIGHT "Copyright by " MY_COMPANY
+#define MY_COMMENTS "http://tukaani.org/xz/"
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION MY_VERSION
+ PRODUCTVERSION MY_VERSION
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0
+ FILEOS VOS_NT_WINDOWS32
+ FILETYPE MY_TYPE
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments", MY_COMMENTS
+ VALUE "CompanyName", MY_COMPANY
+ VALUE "FileDescription", MY_DESC
+ VALUE "FileVersion", PACKAGE_VERSION
+ VALUE "InternalName", MY_NAME
+ VALUE "LegalCopyright", MY_COPYRIGHT
+ VALUE "OriginalFilename", MY_FILENAME
+ VALUE "ProductName", PACKAGE_NAME
+ VALUE "ProductVersion", PACKAGE_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END