From: Mohamad Al-Jaf mohamadaljaf@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57853 --- configure.ac | 1 + programs/makecab/Makefile.in | 6 ++++++ programs/makecab/makecab.c | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 programs/makecab/Makefile.in create mode 100644 programs/makecab/makecab.c
diff --git a/configure.ac b/configure.ac index dd139950e10..aaaf044901c 100644 --- a/configure.ac +++ b/configure.ac @@ -3466,6 +3466,7 @@ WINE_CONFIG_MAKEFILE(programs/iexplore) WINE_CONFIG_MAKEFILE(programs/ipconfig) WINE_CONFIG_MAKEFILE(programs/klist) WINE_CONFIG_MAKEFILE(programs/lodctr) +WINE_CONFIG_MAKEFILE(programs/makecab) WINE_CONFIG_MAKEFILE(programs/mofcomp) WINE_CONFIG_MAKEFILE(programs/mshta) WINE_CONFIG_MAKEFILE(programs/msidb) diff --git a/programs/makecab/Makefile.in b/programs/makecab/Makefile.in new file mode 100644 index 00000000000..f6edb6ee92d --- /dev/null +++ b/programs/makecab/Makefile.in @@ -0,0 +1,6 @@ +MODULE = makecab.exe + +EXTRADLLFLAGS = -mconsole -municode + +SOURCES = \ + makecab.c diff --git a/programs/makecab/makecab.c b/programs/makecab/makecab.c new file mode 100644 index 00000000000..596f7a8585d --- /dev/null +++ b/programs/makecab/makecab.c @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2025 Mohamad Al-Jaf + * + * 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(makecab); + +int __cdecl 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; +}