diff --git a/configure b/configure index 76616170195..ead05fb8081 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 5ba22c41e7e..a3a6c6754ea 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 00000000000..8d208ba3905 --- /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 00000000000..33e14e99b15 --- /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 + +#include +#include + +#include + +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; +}