ipconfig: Add stub implementation.
authorAndrew Nguyen <anguyen@codeweavers.com>
Mon, 16 Aug 2010 07:54:00 +0000 (02:54 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 17 Aug 2010 12:40:46 +0000 (14:40 +0200)
configure
configure.ac
programs/ipconfig/Makefile.in [new file with mode: 0644]
programs/ipconfig/ipconfig.c [new file with mode: 0644]

index 907dbe04a1628b57373e04839c7c2109efba784c..844dde5dfae63b71eb32d61a58737276f032e86c 100755 (executable)
--- a/configure
+++ b/configure
@@ -14905,6 +14905,7 @@ wine_fn_config_program extrac32 enable_extrac32 install
 wine_fn_config_program hh enable_hh install
 wine_fn_config_program icinfo enable_icinfo install
 wine_fn_config_program iexplore enable_iexplore install
+wine_fn_config_program ipconfig enable_ipconfig install
 wine_fn_config_program lodctr enable_lodctr install
 wine_fn_config_program mshta enable_mshta install
 wine_fn_config_program msiexec enable_msiexec installbin
index 0f61046511a0e706067f38db3f93414da84bb87d..982e6f6f51230945d2037e2434f78cfdda601af5 100644 (file)
@@ -2744,6 +2744,7 @@ WINE_CONFIG_PROGRAM(extrac32,install)
 WINE_CONFIG_PROGRAM(hh,install)
 WINE_CONFIG_PROGRAM(icinfo,install)
 WINE_CONFIG_PROGRAM(iexplore,install)
+WINE_CONFIG_PROGRAM(ipconfig,install)
 WINE_CONFIG_PROGRAM(lodctr,install)
 WINE_CONFIG_PROGRAM(mshta,install)
 WINE_CONFIG_PROGRAM(msiexec,installbin)
diff --git a/programs/ipconfig/Makefile.in b/programs/ipconfig/Makefile.in
new file mode 100644 (file)
index 0000000..0cd8ce6
--- /dev/null
@@ -0,0 +1,11 @@
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = ipconfig.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = ipconfig.c
+
+@MAKE_PROG_RULES@
diff --git a/programs/ipconfig/ipconfig.c b/programs/ipconfig/ipconfig.c
new file mode 100644 (file)
index 0000000..fc5d95c
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * IP configuration utility
+ *
+ * Copyright 2010 Andrew Nguyen
+ *
+ * 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 <windows.h>
+#include <wine/debug.h>
+#include <wine/unicode.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(ipconfig);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    WINE_FIXME("ipconfig.exe is not implemented\n");
+    return 0;
+}