programs: Add a stub implementation of mofcomp.exe.

Hans Leidekker hans at codeweavers.com
Wed Sep 29 02:57:34 CDT 2010


---
 configure.ac                 |    1 +
 programs/mofcomp/Makefile.in |   12 ++++++++++++
 programs/mofcomp/mofcomp.c   |   30 ++++++++++++++++++++++++++++++
 tools/wine.inf.in            |    2 +-
 4 files changed, 44 insertions(+), 1 deletions(-)
 create mode 100644 programs/mofcomp/Makefile.in
 create mode 100644 programs/mofcomp/mofcomp.c

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..4a7dd6d 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -2588,7 +2588,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
 11,mui,
 11,spool\drivers\color,
 11,spool\printers,
-11,wbem,
+11,wbem,mofcomp.exe
 10,,explorer.exe
 10,,hh.exe
 10,,notepad.exe
-- 
1.7.0.4







More information about the wine-patches mailing list