Hans Leidekker : programs: Add a stub implementation of mofcomp.exe.

Alexandre Julliard julliard at winehq.org
Wed Sep 29 12:00:15 CDT 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Sep 29 09:57:34 2010 +0200

programs: Add a stub implementation of mofcomp.exe.

---

 configure                    |    1 +
 configure.ac                 |    1 +
 programs/mofcomp/Makefile.in |   12 ++++++++++++
 programs/mofcomp/mofcomp.c   |   30 ++++++++++++++++++++++++++++++
 tools/wine.inf.in            |    2 +-
 5 files changed, 45 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 436bbae..c9a1cc7 100755
--- a/configure
+++ b/configure
@@ -15011,6 +15011,7 @@ wine_fn_config_program icinfo enable_icinfo install
 wine_fn_config_program iexplore enable_iexplore install
 wine_fn_config_program ipconfig enable_ipconfig install
 wine_fn_config_program lodctr enable_lodctr install
+wine_fn_config_program mofcomp enable_mofcomp install
 wine_fn_config_program mshta enable_mshta install
 wine_fn_config_program msiexec enable_msiexec installbin
 wine_fn_config_program net enable_net install
diff --git a/configure.ac b/configure.ac
index fb85cac..52fee51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2789,6 +2789,7 @@ WINE_CONFIG_PROGRAM(icinfo,install)
 WINE_CONFIG_PROGRAM(iexplore,install)
 WINE_CONFIG_PROGRAM(ipconfig,install)
 WINE_CONFIG_PROGRAM(lodctr,install)
+WINE_CONFIG_PROGRAM(mofcomp,install)
 WINE_CONFIG_PROGRAM(mshta,install)
 WINE_CONFIG_PROGRAM(msiexec,installbin)
 WINE_CONFIG_PROGRAM(net,install)
diff --git a/programs/mofcomp/Makefile.in b/programs/mofcomp/Makefile.in
new file mode 100644
index 0000000..f1dd447
--- /dev/null
+++ b/programs/mofcomp/Makefile.in
@@ -0,0 +1,12 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = mofcomp.exe
+APPMODE   = -mconsole -municode
+IMPORTS   = kernel32
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+
+C_SRCS = mofcomp.c
+
+ at MAKE_PROG_RULES@
diff --git a/programs/mofcomp/mofcomp.c b/programs/mofcomp/mofcomp.c
new file mode 100644
index 0000000..f5c1e91
--- /dev/null
+++ b/programs/mofcomp/mofcomp.c
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2010 Hans Leidekker for CodeWeavers
+ *
+ * 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 WIN32_LEAN_AND_MEAN
+
+#include "wine/debug.h"
+#include <windows.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(mofcomp);
+
+int wmain( int argc, const WCHAR *argv[] )
+{
+    WINE_FIXME("stub\n");
+    return 0;
+}
diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 44e36a7..1146ec6 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -2588,7 +2588,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
 11,mui,
 11,spool\drivers\color,
 11,spool\printers,
-11,wbem,
 10,,explorer.exe
 10,,hh.exe
 10,,notepad.exe
@@ -2599,6 +2598,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
 12,,mountmgr.sys
 10,Microsoft.NET\Framework\v1.1.4322,ngen.exe
 10,Microsoft.NET\Framework\v2.0.50727,ngen.exe
+11,wbem,mofcomp.exe
 16422,Internet Explorer,iexplore.exe
 11,,*
 




More information about the wine-cvs mailing list