From 71d70f0fa1e4d561a495104e24ec2aa3c559f6d2 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Thu, 27 Sep 2007 18:02:50 +0200 Subject: [PATCH] ole32: Added version resource for ole2nls.dll. --- .gitignore | 1 + dlls/ole32/Makefile.in | 8 ++++++++ dlls/ole32/version16.rc | 23 +++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 dlls/ole32/version16.rc diff --git a/.gitignore b/.gitignore index 0b512cae799..1e130819011 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 61a0472349f..d6e9eef98b6 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 00000000000..ee94ef9f60a --- /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"