From 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 27 Jun 2009 17:28:01 +0300 Subject: Moved the Windows resource files outside the windows directory to prepare for building them with Autotools. --- src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++ src/liblzma/liblzma_w32res.rc | 5 +++++ src/xz/xz_w32res.rc | 5 +++++ src/xzdec/lzmadec_w32res.rc | 5 +++++ src/xzdec/xzdec_w32res.rc | 5 +++++ 5 files changed, 66 insertions(+) create mode 100644 src/common/common_w32res.rc create mode 100644 src/liblzma/liblzma_w32res.rc create mode 100644 src/xz/xz_w32res.rc create mode 100644 src/xzdec/lzmadec_w32res.rc create mode 100644 src/xzdec/xzdec_w32res.rc (limited to 'src') diff --git a/src/common/common_w32res.rc b/src/common/common_w32res.rc new file mode 100644 index 00000000..c7a6b13d --- /dev/null +++ b/src/common/common_w32res.rc @@ -0,0 +1,46 @@ +#include +#include "config.h" +#define LZMA_H_INTERNAL +#define LZMA_H_INTERNAL_RC +#include "lzma/version.h" + +#ifndef MY_BUILD +# define MY_BUILD 0 +#endif +#define MY_VERSION LZMA_VERSION_MAJOR,LZMA_VERSION_MINOR,LZMA_VERSION_PATCH,MY_BUILD + +#define MY_FILENAME MY_NAME MY_SUFFIX +#define MY_COMPANY "Lasse Collin and Igor Pavlov" +#define MY_COPYRIGHT "Public Domain 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", LZMA_VERSION_STRING + VALUE "InternalName", MY_NAME + VALUE "LegalCopyright", MY_COPYRIGHT + VALUE "OriginalFilename", MY_FILENAME + VALUE "ProductName", PACKAGE_NAME + VALUE "ProductVersion", LZMA_VERSION_STRING + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END diff --git a/src/liblzma/liblzma_w32res.rc b/src/liblzma/liblzma_w32res.rc new file mode 100644 index 00000000..00516364 --- /dev/null +++ b/src/liblzma/liblzma_w32res.rc @@ -0,0 +1,5 @@ +#define MY_TYPE VFT_DLL +#define MY_NAME "liblzma" +#define MY_SUFFIX ".dll" +#define MY_DESC "liblzma data compression library" +#include "common_w32res.rc" diff --git a/src/xz/xz_w32res.rc b/src/xz/xz_w32res.rc new file mode 100644 index 00000000..c8fd9e60 --- /dev/null +++ b/src/xz/xz_w32res.rc @@ -0,0 +1,5 @@ +#define MY_TYPE VFT_APP +#define MY_NAME "xz" +#define MY_SUFFIX ".exe" +#define MY_DESC "xz data compression tool for .xz and .lzma files" +#include "common_w32res.rc" diff --git a/src/xzdec/lzmadec_w32res.rc b/src/xzdec/lzmadec_w32res.rc new file mode 100644 index 00000000..7d90e420 --- /dev/null +++ b/src/xzdec/lzmadec_w32res.rc @@ -0,0 +1,5 @@ +#define MY_TYPE VFT_APP +#define MY_NAME "lzmadec" +#define MY_SUFFIX ".exe" +#define MY_DESC "lzmadec uncompression tool for .lzma files" +#include "common_w32res.rc" diff --git a/src/xzdec/xzdec_w32res.rc b/src/xzdec/xzdec_w32res.rc new file mode 100644 index 00000000..84f4e478 --- /dev/null +++ b/src/xzdec/xzdec_w32res.rc @@ -0,0 +1,5 @@ +#define MY_TYPE VFT_APP +#define MY_NAME "xzdec" +#define MY_SUFFIX ".exe" +#define MY_DESC "xzdec uncompression tool for .xz files" +#include "common_w32res.rc" -- cgit v1.2.3