Austin English : systeminfo: Add stub program.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 9 13:14:34 CDT 2014


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

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Oct  7 14:00:57 2014 -0500

systeminfo: Add stub program.

---

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

diff --git a/configure b/configure
index 4125ac9..2228ce3 100755
--- a/configure
+++ b/configure
@@ -1364,6 +1364,7 @@ enable_services
 enable_spoolsv
 enable_start
 enable_svchost
+enable_systeminfo
 enable_taskkill
 enable_tasklist
 enable_taskmgr
@@ -17476,6 +17477,7 @@ wine_fn_config_test programs/services/tests services.exe_test
 wine_fn_config_program spoolsv enable_spoolsv install
 wine_fn_config_program start enable_start install,po
 wine_fn_config_program svchost enable_svchost install
+wine_fn_config_program systeminfo enable_systeminfo install
 wine_fn_config_program taskkill enable_taskkill install,po
 wine_fn_config_program tasklist enable_tasklist install
 wine_fn_config_program taskmgr enable_taskmgr install,po
diff --git a/configure.ac b/configure.ac
index 6a3dc46..240ce29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3384,6 +3384,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,,[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;
+}




More information about the wine-cvs mailing list