subst: Add stub program.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-10-05 01:04:59 -05:00 committed by Alexandre Julliard
parent a4be8a31e5
commit 7756d6ba9b
4 changed files with 41 additions and 0 deletions

2
configure vendored
View File

@ -1554,6 +1554,7 @@ enable_services
enable_shutdown
enable_spoolsv
enable_start
enable_subst
enable_svchost
enable_systeminfo
enable_taskkill
@ -18489,6 +18490,7 @@ wine_fn_config_test programs/services/tests services.exe_test
wine_fn_config_program shutdown enable_shutdown install
wine_fn_config_program spoolsv enable_spoolsv install
wine_fn_config_program start enable_start clean,install
wine_fn_config_program subst enable_subst install
wine_fn_config_program svchost enable_svchost install
wine_fn_config_program systeminfo enable_systeminfo install
wine_fn_config_program taskkill enable_taskkill clean,install

View File

@ -3580,6 +3580,7 @@ WINE_CONFIG_TEST(programs/services/tests)
WINE_CONFIG_PROGRAM(shutdown,,[install])
WINE_CONFIG_PROGRAM(spoolsv,,[install])
WINE_CONFIG_PROGRAM(start,,[clean,install])
WINE_CONFIG_PROGRAM(subst,,[install])
WINE_CONFIG_PROGRAM(svchost,,[install])
WINE_CONFIG_PROGRAM(systeminfo,,[install])
WINE_CONFIG_PROGRAM(taskkill,,[clean,install])

View File

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

33
programs/subst/main.c Normal file
View File

@ -0,0 +1,33 @@
/*
* Copyright 2016 Austin English
*
* 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(subst);
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;
}