powershell: Add a stub program.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jactry Zeng 2017-06-28 15:45:30 +08:00 committed by Alexandre Julliard
parent ebbbe85038
commit 54dc788b11
4 changed files with 41 additions and 0 deletions

2
configure vendored
View File

@ -1599,6 +1599,7 @@ enable_notepad
enable_oleview enable_oleview
enable_ping enable_ping
enable_plugplay enable_plugplay
enable_powershell
enable_presentationfontcache enable_presentationfontcache
enable_progman enable_progman
enable_reg enable_reg
@ -18868,6 +18869,7 @@ wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
wine_fn_config_program oleview enable_oleview clean,install wine_fn_config_program oleview enable_oleview clean,install
wine_fn_config_program ping enable_ping install wine_fn_config_program ping enable_ping install
wine_fn_config_program plugplay enable_plugplay install wine_fn_config_program plugplay enable_plugplay install
wine_fn_config_program powershell enable_powershell install
wine_fn_config_program presentationfontcache enable_presentationfontcache install wine_fn_config_program presentationfontcache enable_presentationfontcache install
wine_fn_config_program progman enable_progman clean,install wine_fn_config_program progman enable_progman clean,install
wine_fn_config_program reg enable_reg clean,install wine_fn_config_program reg enable_reg clean,install

View File

@ -3693,6 +3693,7 @@ WINE_CONFIG_PROGRAM(notepad,,[clean,install,installbin,manpage])
WINE_CONFIG_PROGRAM(oleview,,[clean,install]) WINE_CONFIG_PROGRAM(oleview,,[clean,install])
WINE_CONFIG_PROGRAM(ping,,[install]) WINE_CONFIG_PROGRAM(ping,,[install])
WINE_CONFIG_PROGRAM(plugplay,,[install]) WINE_CONFIG_PROGRAM(plugplay,,[install])
WINE_CONFIG_PROGRAM(powershell,,[install])
WINE_CONFIG_PROGRAM(presentationfontcache,,[install]) WINE_CONFIG_PROGRAM(presentationfontcache,,[install])
WINE_CONFIG_PROGRAM(progman,,[clean,install]) WINE_CONFIG_PROGRAM(progman,,[clean,install])
WINE_CONFIG_PROGRAM(reg,,[clean,install]) WINE_CONFIG_PROGRAM(reg,,[clean,install])

View File

@ -0,0 +1,5 @@
MODULE = powershell.exe
APPMODE = -mconsole -municode
C_SRCS = \
main.c

View File

@ -0,0 +1,33 @@
/*
* Copyright 2017 Jactry Zeng 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(powershell);
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;
}