Nikolay Sivov : programs: Added stub wevtutil tool.

Alexandre Julliard julliard at winehq.org
Wed Feb 26 15:45:05 CST 2014


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Feb 25 12:12:43 2014 +0400

programs: Added stub wevtutil tool.

---

 configure                     |    2 ++
 configure.ac                  |    1 +
 programs/wevtutil/Makefile.in |    5 +++++
 programs/wevtutil/main.c      |   33 +++++++++++++++++++++++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/configure b/configure
index a38957f..39f0213 100755
--- a/configure
+++ b/configure
@@ -1357,6 +1357,7 @@ enable_termsv
 enable_uninstaller
 enable_unlodctr
 enable_view
+enable_wevtutil
 enable_wineboot
 enable_winebrowser
 enable_winecfg
@@ -17338,6 +17339,7 @@ wine_fn_config_program termsv enable_termsv install
 wine_fn_config_program uninstaller enable_uninstaller install,po
 wine_fn_config_program unlodctr enable_unlodctr install
 wine_fn_config_program view enable_view install,po
+wine_fn_config_program wevtutil enable_wevtutil install
 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
 wine_fn_config_program winebrowser enable_winebrowser install
 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
diff --git a/configure.ac b/configure.ac
index 3574343..540d5fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3345,6 +3345,7 @@ WINE_CONFIG_PROGRAM(termsv,,[install])
 WINE_CONFIG_PROGRAM(uninstaller,,[install,po])
 WINE_CONFIG_PROGRAM(unlodctr,,[install])
 WINE_CONFIG_PROGRAM(view,,[install,po])
+WINE_CONFIG_PROGRAM(wevtutil,,[install])
 WINE_CONFIG_PROGRAM(wineboot,,[install,installbin,manpage,po])
 WINE_CONFIG_PROGRAM(winebrowser,,[install])
 WINE_CONFIG_PROGRAM(winecfg,,[install,installbin,manpage,po])
diff --git a/programs/wevtutil/Makefile.in b/programs/wevtutil/Makefile.in
new file mode 100644
index 0000000..f6882b2
--- /dev/null
+++ b/programs/wevtutil/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = wevtutil.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
diff --git a/programs/wevtutil/main.c b/programs/wevtutil/main.c
new file mode 100644
index 0000000..bd95d1f
--- /dev/null
+++ b/programs/wevtutil/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2014 Nikolay Sivov 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
+ */
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(wevtutil);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    int i;
+
+    WINE_FIXME("stub:");
+    for (i = 0; i < argc; i++)
+        WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+    WINE_FIXME("\n");
+
+    return 0;
+}




More information about the wine-cvs mailing list