diff --git a/dlls/shell32/.cvsignore b/dlls/shell32/.cvsignore index 6c848d4bcbe..9f0bfc0ecc0 100644 --- a/dlls/shell32/.cvsignore +++ b/dlls/shell32/.cvsignore @@ -3,3 +3,4 @@ shell.spec.c shell32.dll.dbg.c shell32.spec.c shres.res +version16.res diff --git a/dlls/shell32/Makefile.in b/dlls/shell32/Makefile.in index 16eb96d37da..742caf62f21 100644 --- a/dlls/shell32/Makefile.in +++ b/dlls/shell32/Makefile.in @@ -45,7 +45,15 @@ C_SRCS = \ systray.c RC_SRCS= shres.rc +RC_SRCS16 = version16.rc @MAKE_DLL_RULES@ +# Special rules for 16-bit resource files + +version16.res: version16.rc + $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc + +shell.spec.c: version16.res + ### Dependencies: diff --git a/dlls/shell32/shell.spec b/dlls/shell32/shell.spec index e41240b8bdf..3fb13b81c02 100644 --- a/dlls/shell32/shell.spec +++ b/dlls/shell32/shell.spec @@ -1,6 +1,7 @@ name shell type win16 owner shell32 +rsrc version16.res 1 pascal RegOpenKey(long str ptr) RegOpenKey16 2 pascal RegCreateKey(long str ptr) RegCreateKey16 diff --git a/dlls/shell32/version16.rc b/dlls/shell32/version16.rc new file mode 100644 index 00000000000..f6b2c6c8d2a --- /dev/null +++ b/dlls/shell32/version16.rc @@ -0,0 +1,23 @@ +/* + * Copyright 2001 Dmitry Timoshkov + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#define WINE_FILEVERSION_STR "4.0" +#define WINE_FILEDESCRIPTION_STR "Wine core dll" +#define WINE_FILENAME_STR "shell.dll" + +#include "wine/wine_common_ver.rc"