systeminfo: add stub program

Austin English austinenglish at gmail.com
Tue Oct 7 14:18:03 CDT 2014


-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141007/7a5fb3c6/attachment.html>
-------------- next part --------------
From cd3b2c9ec43372c54bb10b8ae07b455559823e87 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Tue, 7 Oct 2014 14:00:57 -0500
Subject: [PATCH 1/1] systeminfo: add stub program

---
 configure.ac                    |  1 +
 programs/systeminfo/Makefile.in |  5 +++++
 programs/systeminfo/main.c      | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+)
 create mode 100644 programs/systeminfo/Makefile.in
 create mode 100644 programs/systeminfo/main.c

diff --git a/configure.ac b/configure.ac
index f1f721d..23fed41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3383,6 +3383,7 @@ WINE_CONFIG_TEST(programs/services/tests)
 WINE_CONFIG_PROGRAM(spoolsv,,[install])
 WINE_CONFIG_PROGRAM(start,,[install,po])
 WINE_CONFIG_PROGRAM(svchost,,[install])
+WINE_CONFIG_PROGRAM(systeminfo,,[clean,install])
 WINE_CONFIG_PROGRAM(taskkill,,[install,po])
 WINE_CONFIG_PROGRAM(tasklist,,[install])
 WINE_CONFIG_PROGRAM(taskmgr,,[install,po])
diff --git a/programs/systeminfo/Makefile.in b/programs/systeminfo/Makefile.in
new file mode 100644
index 0000000..72e4791
--- /dev/null
+++ b/programs/systeminfo/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = systeminfo.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
diff --git a/programs/systeminfo/main.c b/programs/systeminfo/main.c
new file mode 100644
index 0000000..e7bb30e
--- /dev/null
+++ b/programs/systeminfo/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2014 Austin English
+ *
+ * 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(systeminfo);
+
+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;
+}
-- 
2.0.4



More information about the wine-patches mailing list