Module: wine
Branch: master
Commit: 16bad58a8c7b6d89cc96e3a5654be7a9d47a6f30
URL: http://source.winehq.org/git/wine.git/?a=commit;h=16bad58a8c7b6d89cc96e3a56…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Tue Jul 27 15:51:18 2010 +0200
wscript.exe: Added stub implementation.
---
configure | 1 +
configure.ac | 1 +
programs/wscript/Makefile.in | 13 +++++++++++++
programs/wscript/main.c | 32 ++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 7661617..ead05fb 100755
--- a/configure
+++ b/configure
@@ -14913,6 +14913,7 @@ wine_fn_config_program winoldap.mod16 enable_win16 install
wine_fn_config_program winver enable_winver install
wine_fn_config_program wordpad enable_wordpad install
wine_fn_config_program write enable_write install
+wine_fn_config_program wscript enable_wscript install
wine_fn_config_program xcopy enable_xcopy install
wine_fn_config_makefile server enable_server
wine_fn_config_tool tools
diff --git a/configure.ac b/configure.ac
index 5ba22c4..a3a6c67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2769,6 +2769,7 @@ WINE_CONFIG_PROGRAM(winoldap.mod16,install,enable_win16)
WINE_CONFIG_PROGRAM(winver,install)
WINE_CONFIG_PROGRAM(wordpad,install)
WINE_CONFIG_PROGRAM(write,install)
+WINE_CONFIG_PROGRAM(wscript,install)
WINE_CONFIG_PROGRAM(xcopy,install)
WINE_CONFIG_MAKEFILE([server])
WINE_CONFIG_TOOL(tools)
diff --git a/programs/wscript/Makefile.in b/programs/wscript/Makefile.in
new file mode 100644
index 0000000..8d208ba
--- /dev/null
+++ b/programs/wscript/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = wscript.exe
+APPMODE = -mwindows -municode
+IMPORTS =
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+
+C_SRCS = \
+ main.c
+
+@MAKE_PROG_RULES@
diff --git a/programs/wscript/main.c b/programs/wscript/main.c
new file mode 100644
index 0000000..33e14e9
--- /dev/null
+++ b/programs/wscript/main.c
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2010 Jacek Caban 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 <stdarg.h>
+
+#include <windef.h>
+#include <winbase.h>
+
+#include <wine/debug.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(wscript);
+
+int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cmdshow)
+{
+ WINE_FIXME("(%p %p %s %x)\n", hInst, hPrevInst, wine_dbgstr_w(cmdline), cmdshow);
+ return 0;
+}