From a7a2caf129f0178a166aa878beb0d45727faa898 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Fri, 2 Apr 2010 10:19:18 -0500 Subject: [PATCH] ngen.exe: Add stubbed command. --- configure.ac | 1 + programs/ngen/Makefile.in | 13 +++++++++++++ programs/ngen/ngen_main.c | 33 +++++++++++++++++++++++++++++++++ tools/wine.inf.in | 4 ++++ 4 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 programs/ngen/Makefile.in create mode 100644 programs/ngen/ngen_main.c diff --git a/configure.ac b/configure.ac index 835a128..c73de4e 100644 --- a/configure.ac +++ b/configure.ac @@ -2655,6 +2655,7 @@ WINE_CONFIG_PROGRAM(lodctr,install) WINE_CONFIG_PROGRAM(mshta,install) WINE_CONFIG_PROGRAM(msiexec,installbin) WINE_CONFIG_PROGRAM(net,install) +WINE_CONFIG_PROGRAM(ngen,install) WINE_CONFIG_PROGRAM(notepad,installbin) WINE_CONFIG_PROGRAM(oleview,install) WINE_CONFIG_PROGRAM(ping,install) diff --git a/programs/ngen/Makefile.in b/programs/ngen/Makefile.in new file mode 100644 index 0000000..bfdb124 --- /dev/null +++ b/programs/ngen/Makefile.in @@ -0,0 +1,13 @@ +EXTRADEFS = -DWINE_NO_UNICODE_MACROS +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = ngen.exe +APPMODE = -mconsole -municode +IMPORTS = kernel32 + +C_SRCS = \ + ngen_main.c + +@MAKE_PROG_RULES@ diff --git a/programs/ngen/ngen_main.c b/programs/ngen/ngen_main.c new file mode 100644 index 0000000..c379340 --- /dev/null +++ b/programs/ngen/ngen_main.c @@ -0,0 +1,33 @@ +/* + * Copyright 2010 Vincent Povirk 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(ngen); + +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; +} diff --git a/tools/wine.inf.in b/tools/wine.inf.in index 8f53088..c480b49 100644 --- a/tools/wine.inf.in +++ b/tools/wine.inf.in @@ -2564,6 +2564,8 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" 11,spool\drivers\color, 11,spool\printers, 11,wbem, +10,Microsoft.NET\Framework\v1.1.4322, +10,Microsoft.NET\Framework\v2.0.50727, 10,,explorer.exe 10,,hh.exe 10,,notepad.exe @@ -2572,6 +2574,8 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" 11,,notepad.exe 11,,winetest.exe,- 12,,mountmgr.sys +10,Microsoft.NET\Framework\v1.1.4322,ngen.exe +10,Microsoft.NET\Framework\v2.0.50727,ngen.exe 16422,Internet Explorer,iexplore.exe 11,,* -- 1.6.3.3