hal: Add version resource.

Hans Leidekker hans at codeweavers.com
Mon Dec 15 04:54:16 CST 2008


Helps installers for ie7 and dotnet3 (among others) that map hal.dll
themselves and look for the version resource.

 -Hans

diff --git a/dlls/hal/Makefile.in b/dlls/hal/Makefile.in
index 4f3cf1c..026268a 100644
--- a/dlls/hal/Makefile.in
+++ b/dlls/hal/Makefile.in
@@ -8,6 +8,8 @@ IMPORTS   = kernel32 ntdll
 C_SRCS = \
 	hal.c
 
+RC_SRCS = version.rc
+
 @MAKE_DLL_RULES@
 
 @DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/hal/version.rc b/dlls/hal/version.rc
new file mode 100644
index 0000000..88a07b7
--- /dev/null
+++ b/dlls/hal/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2008 Hans Leidekker
+ *
+ * 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_FILENAME_STR "halmacpi.dll"
+
+#define WINE_FILEVERSION 5,1,2600,5512
+#define WINE_FILEVERSION_STR "5.1.2600.5512"
+#define WINE_PRODUCTVERSION 5,1,2600,5512
+#define WINE_PRODUCTVERSION_STR "5.1.2600.5512"
+
+#include "wine/wine_common_ver.rc"



More information about the wine-patches mailing list