Qian Hong : arp: Added stub exe.

Alexandre Julliard julliard at winehq.org
Mon Nov 25 13:33:16 CST 2013


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

Author: Qian Hong <qhong at codeweavers.com>
Date:   Sun Nov 24 03:02:55 2013 +0800

arp: Added stub exe.

---

 configure                |    2 ++
 configure.ac             |    1 +
 programs/arp/Makefile.in |    7 +++++++
 programs/arp/main.c      |   33 +++++++++++++++++++++++++++++++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 84a04b4..5bcf17c 100755
--- a/configure
+++ b/configure
@@ -1267,6 +1267,7 @@ enable_libs_port
 enable_libs_wine
 enable_libs_wpp
 enable_loader
+enable_arp
 enable_aspnet_regiis
 enable_attrib
 enable_cabarc
@@ -17339,6 +17340,7 @@ wine_fn_config_makefile libs/port enable_libs_port
 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
 wine_fn_config_makefile libs/wpp enable_libs_wpp
 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
+wine_fn_config_program arp enable_arp install
 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
 wine_fn_config_program attrib enable_attrib install,po
 wine_fn_config_program cabarc enable_cabarc install
diff --git a/configure.ac b/configure.ac
index 2c15f52..16fc74f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3320,6 +3320,7 @@ WINE_CONFIG_MAKEFILE([libs/port])
 WINE_CONFIG_MAKEFILE([libs/wine],,[clean,install-dev,install-lib])
 WINE_CONFIG_MAKEFILE([libs/wpp])
 WINE_CONFIG_MAKEFILE([loader],,[clean,install-lib,manpage])
+WINE_CONFIG_PROGRAM(arp,,[install])
 WINE_CONFIG_PROGRAM(aspnet_regiis,,[install])
 WINE_CONFIG_PROGRAM(attrib,,[install,po])
 WINE_CONFIG_PROGRAM(cabarc,,[install])
diff --git a/programs/arp/Makefile.in b/programs/arp/Makefile.in
new file mode 100644
index 0000000..ab4803d
--- /dev/null
+++ b/programs/arp/Makefile.in
@@ -0,0 +1,7 @@
+MODULE    = arp.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
+
+ at MAKE_PROG_RULES@
diff --git a/programs/arp/main.c b/programs/arp/main.c
new file mode 100644
index 0000000..cfcff46
--- /dev/null
+++ b/programs/arp/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2013 Qian Hong 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(arp);
+
+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