Ilya Shpigor : programs: Add initial extrac32 utility.

Alexandre Julliard julliard at winehq.org
Thu Oct 22 10:39:58 CDT 2009


Module: wine
Branch: master
Commit: 44a82859d35b2a8dfc0620e0ddad5588e6349ba2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=44a82859d35b2a8dfc0620e0ddad5588e6349ba2

Author: Ilya Shpigor <shpigor at etersoft.ru>
Date:   Thu Oct 22 11:10:16 2009 +0400

programs: Add initial extrac32 utility.

---

 configure                     |   10 ++++++++++
 configure.ac                  |    1 +
 programs/extrac32/Makefile.in |   15 +++++++++++++++
 programs/extrac32/extrac32.c  |   31 +++++++++++++++++++++++++++++++
 4 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index dae14db..1507ead 100755
--- a/configure
+++ b/configure
@@ -17564,6 +17564,15 @@ programs/explorer/Makefile: programs/explorer/Makefile.in programs/Makeprog.rule
 ac_config_files="$ac_config_files programs/explorer/Makefile"
 
 ALL_MAKEFILES="$ALL_MAKEFILES \\
+	programs/extrac32/Makefile"
+test "x$enable_extrac32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
+	extrac32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
+	extrac32"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+programs/extrac32/Makefile: programs/extrac32/Makefile.in programs/Makeprog.rules"
+ac_config_files="$ac_config_files programs/extrac32/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
 	programs/hh/Makefile"
 test "x$enable_hh" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
 	hh" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
@@ -19204,6 +19213,7 @@ do
     "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
     "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
     "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
+    "programs/extrac32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/extrac32/Makefile" ;;
     "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
     "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
     "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 5210c35..7fddf44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2581,6 +2581,7 @@ WINE_CONFIG_MAKEFILE([programs/dxdiag/Makefile],[programs/Makeprog.rules],[progr
 WINE_CONFIG_MAKEFILE([programs/eject/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/expand/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/explorer/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
+WINE_CONFIG_MAKEFILE([programs/extrac32/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/hh/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/icinfo/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
 WINE_CONFIG_MAKEFILE([programs/iexplore/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
diff --git a/programs/extrac32/Makefile.in b/programs/extrac32/Makefile.in
new file mode 100644
index 0000000..470c196
--- /dev/null
+++ b/programs/extrac32/Makefile.in
@@ -0,0 +1,15 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = extrac32.exe
+APPMODE   = -mwindows -municode
+EXTRADEFS = -DWINE_NO_UNICODE
+IMPORTS   = kernel32
+
+C_SRCS = \
+	extrac32.c
+
+ at MAKE_PROG_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/programs/extrac32/extrac32.c b/programs/extrac32/extrac32.c
new file mode 100644
index 0000000..7e8fbed
--- /dev/null
+++ b/programs/extrac32/extrac32.c
@@ -0,0 +1,31 @@
+/*
+ * Extract - Wine-compatible program for extract *.cab files.
+ *
+ * Copyright 2007 Etersoft (Lyutin Anatoly)
+ *
+ * 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 <windows.h>
+
+#include "wine/unicode.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(extrac32);
+
+int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int show)
+{
+    return 0;
+}




More information about the wine-cvs mailing list