Stefan Leichter : ole32: Added version resource for ole2nls.dll.

Alexandre Julliard julliard at winehq.org
Thu Sep 27 14:48:53 CDT 2007


Module: wine
Branch: master
Commit: 71d70f0fa1e4d561a495104e24ec2aa3c559f6d2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=71d70f0fa1e4d561a495104e24ec2aa3c559f6d2

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Thu Sep 27 18:02:50 2007 +0200

ole32: Added version resource for ole2nls.dll.

---

 .gitignore              |    1 +
 dlls/ole32/Makefile.in  |    8 ++++++++
 dlls/ole32/version16.rc |   23 +++++++++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 0b512ca..1e13081 100644
--- a/.gitignore
+++ b/.gitignore
@@ -322,6 +322,7 @@ dlls/ole32/ole32res.res
 dlls/ole32/tests/*.ok
 dlls/ole32/tests/ole32_crosstest.exe
 dlls/ole32/tests/testlist.c
+dlls/ole32/version16.res
 dlls/oleacc/liboleacc.def
 dlls/oleaut32/liboleaut32.def
 dlls/oleaut32/oleaut32.res
diff --git a/dlls/ole32/Makefile.in b/dlls/ole32/Makefile.in
index 61a0472..d6e9eef 100644
--- a/dlls/ole32/Makefile.in
+++ b/dlls/ole32/Makefile.in
@@ -62,6 +62,8 @@ SPEC_SRCS16 = \
 
 RC_SRCS = ole32res.rc
 
+RC_SRCS16 = version16.rc
+
 IDL_H_SRCS = \
 	dcom.idl
 
@@ -70,4 +72,10 @@ IDL_C_SRCS = \
 
 @MAKE_DLL_RULES@
 
+ole2nls.spec.o: ole2nls.spec version16.res
+	$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --dll-name ole2nls --main-module $(MODULE) --res version16.res --export $(SRCDIR)/ole2nls.spec
+
+version16.res: version16.rc
+	$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
+
 @DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/ole32/version16.rc b/dlls/ole32/version16.rc
new file mode 100644
index 0000000..ee94ef9
--- /dev/null
+++ b/dlls/ole32/version16.rc
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2007 Stefan Leichter
+ *
+ * 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_FILEVERSION_STR "2.10.3050.1"
+#define WINE_FILEDESCRIPTION_STR "Wine OLE dll"
+#define WINE_FILENAME_STR "OLE2NLS.DLL"
+
+#include "wine/wine_common_ver.rc"




More information about the wine-cvs mailing list