From dfc028b4fbb0979c4eda1aef231fa31d1d115059 Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Wed, 17 Dec 2008 10:22:45 -0800 Subject: [PATCH] winver: Add version resource. --- programs/winver/Makefile.in | 2 ++ programs/winver/version.rc | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 programs/winver/version.rc diff --git a/programs/winver/Makefile.in b/programs/winver/Makefile.in index 62571d3e05a..41572a0316a 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 00000000000..ae042fb82a0 --- /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"