Module: wine
Branch: master
Commit: dfc028b4fbb0979c4eda1aef231fa31d1d115059
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dfc028b4fbb0979c4eda1aef2…
Author: Dan Kegel <dank(a)kegel.com>
Date: Wed Dec 17 10:22:45 2008 -0800
winver: Add version resource.
---
programs/winver/Makefile.in | 2 ++
programs/winver/version.rc | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/programs/winver/Makefile.in b/programs/winver/Makefile.in
index 62571d3..41572a0 100644
--- a/programs/winver/Makefile.in
+++ b/programs/winver/Makefile.in
@@ -9,6 +9,8 @@ IMPORTS = shell32 kernel32
C_SRCS = winver.c
+RC_SRCS = version.rc
+
@MAKE_PROG_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/programs/winver/version.rc b/programs/winver/version.rc
new file mode 100644
index 0000000..ae042fb
--- /dev/null
+++ b/programs/winver/version.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2004 Mike McCormack
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Windows Version"
+#define WINE_FILENAME_STR "winver.exe"
+#define WINE_FILETYPE VFT_APP
+#define WINE_FILEVERSION 5,1,2600,0
+#define WINE_FILEVERSION_STR "5.1.2600.0"
+#define WINE_PRODUCTVERSION 5,1,2600,0
+#define WINE_PRODUCTVERSION_STR "5.1.2600.0"
+
+#include "wine/wine_common_ver.rc"