libmspack 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.travis.yml +5 -0
- data/.yardopts +1 -0
- data/Gemfile +4 -0
- data/README.md +75 -0
- data/Rakefile +22 -0
- data/UNLICENSE +24 -0
- data/ext/Rakefile +16 -0
- data/ext/i386-windows/libmspack.dll +0 -0
- data/ext/libmspack/AUTHORS +12 -0
- data/ext/libmspack/COPYING.LIB +504 -0
- data/ext/libmspack/ChangeLog +491 -0
- data/ext/libmspack/Makefile.am +100 -0
- data/ext/libmspack/NEWS +0 -0
- data/ext/libmspack/README +130 -0
- data/ext/libmspack/TODO +8 -0
- data/ext/libmspack/cleanup.sh +9 -0
- data/ext/libmspack/configure.ac +50 -0
- data/ext/libmspack/debian/changelog +6 -0
- data/ext/libmspack/debian/control +14 -0
- data/ext/libmspack/debian/rules +101 -0
- data/ext/libmspack/doc/Doxyfile.in +22 -0
- data/ext/libmspack/doc/Makefile.in +14 -0
- data/ext/libmspack/doc/szdd_kwaj_format.html +331 -0
- data/ext/libmspack/libmspack.pc.in +10 -0
- data/ext/libmspack/mspack/cab.h +127 -0
- data/ext/libmspack/mspack/cabc.c +24 -0
- data/ext/libmspack/mspack/cabd.c +1444 -0
- data/ext/libmspack/mspack/chm.h +122 -0
- data/ext/libmspack/mspack/chmc.c +24 -0
- data/ext/libmspack/mspack/chmd.c +1392 -0
- data/ext/libmspack/mspack/crc32.c +95 -0
- data/ext/libmspack/mspack/crc32.h +17 -0
- data/ext/libmspack/mspack/des.h +15 -0
- data/ext/libmspack/mspack/hlp.h +33 -0
- data/ext/libmspack/mspack/hlpc.c +24 -0
- data/ext/libmspack/mspack/hlpd.c +24 -0
- data/ext/libmspack/mspack/kwaj.h +118 -0
- data/ext/libmspack/mspack/kwajc.c +24 -0
- data/ext/libmspack/mspack/kwajd.c +561 -0
- data/ext/libmspack/mspack/lit.h +35 -0
- data/ext/libmspack/mspack/litc.c +24 -0
- data/ext/libmspack/mspack/litd.c +24 -0
- data/ext/libmspack/mspack/lzss.h +66 -0
- data/ext/libmspack/mspack/lzssd.c +93 -0
- data/ext/libmspack/mspack/lzx.h +221 -0
- data/ext/libmspack/mspack/lzxc.c +18 -0
- data/ext/libmspack/mspack/lzxd.c +895 -0
- data/ext/libmspack/mspack/mspack.def +28 -0
- data/ext/libmspack/mspack/mspack.h +2353 -0
- data/ext/libmspack/mspack/mszip.h +126 -0
- data/ext/libmspack/mspack/mszipc.c +18 -0
- data/ext/libmspack/mspack/mszipd.c +514 -0
- data/ext/libmspack/mspack/oab.h +60 -0
- data/ext/libmspack/mspack/oabc.c +24 -0
- data/ext/libmspack/mspack/oabd.c +408 -0
- data/ext/libmspack/mspack/qtm.h +128 -0
- data/ext/libmspack/mspack/qtmc.c +18 -0
- data/ext/libmspack/mspack/qtmd.c +489 -0
- data/ext/libmspack/mspack/readbits.h +207 -0
- data/ext/libmspack/mspack/readhuff.h +173 -0
- data/ext/libmspack/mspack/sha.h +15 -0
- data/ext/libmspack/mspack/system.c +239 -0
- data/ext/libmspack/mspack/system.h +124 -0
- data/ext/libmspack/mspack/szdd.h +39 -0
- data/ext/libmspack/mspack/szddc.c +24 -0
- data/ext/libmspack/mspack/szddd.c +247 -0
- data/ext/libmspack/rebuild.sh +8 -0
- data/ext/libmspack/test/cabd_c10 +19 -0
- data/ext/libmspack/test/cabd_compare +34 -0
- data/ext/libmspack/test/cabd_md5.c +161 -0
- data/ext/libmspack/test/cabd_memory.c +179 -0
- data/ext/libmspack/test/cabd_test.c +386 -0
- data/ext/libmspack/test/cabrip.c +81 -0
- data/ext/libmspack/test/chmd_compare +38 -0
- data/ext/libmspack/test/chmd_find.c +95 -0
- data/ext/libmspack/test/chmd_md5.c +67 -0
- data/ext/libmspack/test/chmd_order.c +144 -0
- data/ext/libmspack/test/chminfo.c +284 -0
- data/ext/libmspack/test/chmx.c +216 -0
- data/ext/libmspack/test/error.h +22 -0
- data/ext/libmspack/test/expand.c +79 -0
- data/ext/libmspack/test/md5.c +457 -0
- data/ext/libmspack/test/md5.h +165 -0
- data/ext/libmspack/test/md5_fh.h +123 -0
- data/ext/libmspack/test/msdecompile_md5 +24 -0
- data/ext/libmspack/test/msexpand_md5 +39 -0
- data/ext/libmspack/test/multifh.c +435 -0
- data/ext/libmspack/test/oabx.c +41 -0
- data/ext/libmspack/test/test_files/cabd/1.pl +84 -0
- data/ext/libmspack/test/test_files/cabd/2.pl +75 -0
- data/ext/libmspack/test/test_files/cabd/bad_folderindex.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/bad_nofiles.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/bad_nofolders.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/bad_signature.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/multi_basic_pt1.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/multi_basic_pt2.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/multi_basic_pt3.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/multi_basic_pt4.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/multi_basic_pt5.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/normal_255c_filename.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/normal_2files_1folder.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_nodata.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_nofiles.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_nofolder.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_shortextheader.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_shortfile1.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_shortfile2.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_shortfolder.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_shortheader.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_nofname.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_noninfo.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_nonname.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_nopinfo.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_nopname.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_shortfname.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_shortninfo.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_shortnname.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_shortpinfo.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/partial_str_shortpname.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_---.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_--D.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_-F-.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_-FD.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_H--.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_H-D.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_HF-.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/reserve_HFD.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/search_basic.cab +0 -0
- data/ext/libmspack/test/test_files/cabd/search_tricky1.cab +0 -0
- data/ext/libmspack/winbuild.sh +26 -0
- data/ext/x86_64-windows/libmspack.dll +0 -0
- data/lib/libmspack/constants.rb +9 -0
- data/lib/libmspack/exceptions.rb +12 -0
- data/lib/libmspack/mscab.rb +722 -0
- data/lib/libmspack/mschm.rb +301 -0
- data/lib/libmspack/mshlp.rb +15 -0
- data/lib/libmspack/mskwaj.rb +124 -0
- data/lib/libmspack/mslit.rb +18 -0
- data/lib/libmspack/msoab.rb +36 -0
- data/lib/libmspack/mspack.rb +208 -0
- data/lib/libmspack/msszdd.rb +81 -0
- data/lib/libmspack/system.rb +84 -0
- data/lib/libmspack/version.rb +4 -0
- data/lib/libmspack.rb +121 -0
- data/libmspack.gemspec +33 -0
- data/spec/libmspack_spec.rb +26 -0
- data/spec/spec_helper.rb +5 -0
- metadata +309 -0
@@ -0,0 +1,130 @@
|
|
1
|
+
libmspack 0.4alpha
|
2
|
+
|
3
|
+
The purpose of libmspack is to provide compressors and decompressors,
|
4
|
+
archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,
|
5
|
+
LIT, HLP, KWAJ and SZDD. It is also designed to be easily embeddable,
|
6
|
+
stable, robust and resource-efficient.
|
7
|
+
|
8
|
+
The library is not intended as a generalised "any archiver" interface.
|
9
|
+
Users of the library must explicitly choose the format they intend to work
|
10
|
+
with.
|
11
|
+
|
12
|
+
All special features of the above formats will be covered as fully as
|
13
|
+
possible -- for example, CAB's multi-part cabinet sets, or CHM's fast
|
14
|
+
lookup indices. All compression methods used by the formats will be
|
15
|
+
implemented as completely as possible.
|
16
|
+
|
17
|
+
However, other than what is required for access to these formats and their
|
18
|
+
features, no other functionality is intended. There is no file metadata
|
19
|
+
translation functionality. All file I/O is abstracted, although a default
|
20
|
+
implementation using the standard C library is provided.
|
21
|
+
|
22
|
+
|
23
|
+
DOCUMENTATION
|
24
|
+
|
25
|
+
The API documentation is stored in the doc/ directory. It is generated
|
26
|
+
automatically from mspack.h with doxygen. It is also available online at
|
27
|
+
http://www.cabextract.org.uk/libmspack/doc/
|
28
|
+
|
29
|
+
|
30
|
+
BUILDING / INSTALLING
|
31
|
+
|
32
|
+
./configure
|
33
|
+
make
|
34
|
+
make install
|
35
|
+
|
36
|
+
This will install the main libmspack library and mspack.h header file.
|
37
|
+
Some other libraries and executables are built, but not installed.
|
38
|
+
|
39
|
+
If building from the Subversion repository, running rebuild.sh will create
|
40
|
+
all the automatically generated files like the configure script, and will
|
41
|
+
then ./configure, make and make distcheck. Running cleanup.sh will perform
|
42
|
+
a thorough clean, deleting all automatically generated files.
|
43
|
+
|
44
|
+
In addition to gcc, you also need the following for building from Subversion:
|
45
|
+
|
46
|
+
- at least autoconf 2.57
|
47
|
+
- at least automake 1.7
|
48
|
+
- libtool
|
49
|
+
|
50
|
+
This is an alpha release. Unless you are in a position to package the
|
51
|
+
libmspack library for the environment you intend to run your application,
|
52
|
+
it is recommended that you do not rely on users of your software having
|
53
|
+
the binary library installed and instead you should include the libmspack
|
54
|
+
source files directly in your application's build environment.
|
55
|
+
|
56
|
+
|
57
|
+
LEGAL ISSUES
|
58
|
+
|
59
|
+
The the best of my knowledge, libmspack does not infringe on any
|
60
|
+
compression or decompression patents. However, this is not legal
|
61
|
+
advice, and it is recommended that you perform your own patent search.
|
62
|
+
|
63
|
+
libmspack is licensed under the LGPL - see COPYING.LIB in this directory.
|
64
|
+
|
65
|
+
The LGPL requires you to build libmspack as a stand alone library then link
|
66
|
+
your code to it using a linker. I personally grant you some extra rights:
|
67
|
+
you can incorporate libmspack's source code wholly or partially in your own
|
68
|
+
code, without having to build and link libmspack as an independent library,
|
69
|
+
provided you meet ALL of the following conditions:
|
70
|
+
|
71
|
+
1. ANY modifications to the existing libmspack source code are published and
|
72
|
+
distributed under the LGPL license.
|
73
|
+
2. You MUST NOT use libmspack function calls, structures or definitions unless
|
74
|
+
they are defined in the public library interface "mspack.h".
|
75
|
+
3. When distributing your code, you MUST make clear your code uses libmspack,
|
76
|
+
and either include the full libmspack distribution with your code, or
|
77
|
+
provide access to it as per clause 4 of the LGPL.
|
78
|
+
|
79
|
+
EXAMPLE CODE
|
80
|
+
|
81
|
+
There are a number of useful programs in the test/ directory which
|
82
|
+
exercise and demonstrate libmspack's features.
|
83
|
+
|
84
|
+
cabd_c10 - Tests the CAB decompressor on the C10 collection.
|
85
|
+
cabd_compare - Compares the CAB decompressor with Microsoft's EXTRACT.EXE
|
86
|
+
cabd_md5 - Prints the MD5 checksums of all files within a CAB file/set.
|
87
|
+
cabd_memory - An mspack_system implementation that reads/writes to memory.
|
88
|
+
cabd_test - Regression tests for libmspack's CAB decompression.
|
89
|
+
cabrip - Extracts any CAB files embedded in another file.
|
90
|
+
chmd_compare - Compares the CHM decompressor to Microsoft's HH.EXE
|
91
|
+
chmd_find - Fast-finds a file within a CHM file.
|
92
|
+
chmd_md5 - Prints the MD5 checksums of all files within a CHM file.
|
93
|
+
chmd_order - Tests extracting files in a CHM file in four different ways.
|
94
|
+
chminfo - Prints verbose information about CHM file structures.
|
95
|
+
chmx - Extracts all files in a CHM file to disk.
|
96
|
+
expand - Extracts an SZDD or KWAJ file.
|
97
|
+
msdecompile_md5- Runs Microsoft's HH.EXE -DECOMPILE via WINE.
|
98
|
+
msexpand_md5 - Runs Microsoft's EXTRACT.EXE via WINE.
|
99
|
+
multifh - An mspack_system implementation that can simultaneously work
|
100
|
+
on in-memory images, raw file descriptors, open file handles
|
101
|
+
and regular disk files.
|
102
|
+
|
103
|
+
Here is a simple example of usage, which will create a CAB decompressor,
|
104
|
+
then use that to open an existing Microsoft CAB file called "example.cab",
|
105
|
+
and list the names of all the files contained in that cab.
|
106
|
+
|
107
|
+
#include <stdio.h>
|
108
|
+
#include <unistd.h>
|
109
|
+
#include <mspack.h>
|
110
|
+
|
111
|
+
int main() {
|
112
|
+
struct mscab_decompressor *cabd;
|
113
|
+
struct mscabd_cabinet *cab;
|
114
|
+
struct mscabd_file *file;
|
115
|
+
int test;
|
116
|
+
|
117
|
+
MSPACK_SYS_SELFTEST(test);
|
118
|
+
if (test != MSPACK_ERR_OK) exit(0);
|
119
|
+
|
120
|
+
if ((cabd = mspack_create_cab_decompressor(NULL))) {
|
121
|
+
if ((cab = cabd->open(cabd, "example.cab"))) {
|
122
|
+
for (file = cab->files; file; file = file->next) {
|
123
|
+
printf("%s\n", file->filename);
|
124
|
+
}
|
125
|
+
cabd->close(cabd, cab);
|
126
|
+
}
|
127
|
+
mspack_destroy_cab_decompressor(cabd);
|
128
|
+
}
|
129
|
+
return 0;
|
130
|
+
}
|
data/ext/libmspack/TODO
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
* CAB compression
|
2
|
+
* cabd_find(): if many bytes are missing from the end of a cabinet, it should still find it
|
3
|
+
* CHM compression
|
4
|
+
* HLP: everything
|
5
|
+
* LIT: everything
|
6
|
+
* SZDD/KWAJ: compression
|
7
|
+
* WIM: everything
|
8
|
+
* chm: make chunk cache size user-controllable
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# -*- Autoconf -*-
|
2
|
+
# Process this file with autoconf to produce a configure script.
|
3
|
+
AC_PREREQ(2.59)
|
4
|
+
AC_INIT([libmspack],[0.4alpha],[kyzer@4u.net])
|
5
|
+
AC_CONFIG_MACRO_DIR([m4])
|
6
|
+
AM_INIT_AUTOMAKE
|
7
|
+
AC_CONFIG_SRCDIR([mspack/mspack.h])
|
8
|
+
AC_CONFIG_HEADER([config.h])
|
9
|
+
|
10
|
+
dnl Enable silent rules by default (if yet support in automake)
|
11
|
+
dnl use 'make V=1' to look at verbose commandline
|
12
|
+
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
13
|
+
|
14
|
+
# --enable-debug option
|
15
|
+
AC_ARG_ENABLE(debug,
|
16
|
+
AS_HELP_STRING(--enable-debug,enable debugging),
|
17
|
+
enable_debug=$enableval,
|
18
|
+
enable_debug=no)
|
19
|
+
if test x$enable_debug = xyes; then
|
20
|
+
AC_DEFINE(DEBUG, 1, [Turn debugging mode on?])
|
21
|
+
fi
|
22
|
+
AM_CONDITIONAL(DEBUG, test x$enable_debug = 'xyes')
|
23
|
+
|
24
|
+
# Checks for programs.
|
25
|
+
AC_PROG_CC
|
26
|
+
AM_CONDITIONAL(GCC, test x$GCC = 'xyes')
|
27
|
+
AC_PROG_INSTALL
|
28
|
+
LT_INIT
|
29
|
+
AC_EXEEXT
|
30
|
+
|
31
|
+
# Checks for header files.
|
32
|
+
AC_HEADER_STDC
|
33
|
+
AC_CHECK_HEADERS([ctype.h limits.h stdlib.h wctype.h])
|
34
|
+
|
35
|
+
# Checks for typedefs, structures, and compiler characteristics.
|
36
|
+
AC_C_CONST
|
37
|
+
AC_C_INLINE
|
38
|
+
AC_TYPE_MODE_T
|
39
|
+
AC_TYPE_OFF_T
|
40
|
+
AC_TYPE_SIZE_T
|
41
|
+
AC_CHECK_SIZEOF([off_t])
|
42
|
+
AC_CHECK_FUNCS([tolower towlower])
|
43
|
+
|
44
|
+
# largefile support
|
45
|
+
AC_SYS_LARGEFILE
|
46
|
+
AC_FUNC_FSEEKO
|
47
|
+
|
48
|
+
# Checks for library functions.
|
49
|
+
AC_CONFIG_FILES([Makefile doc/Makefile doc/Doxyfile libmspack.pc])
|
50
|
+
AC_OUTPUT
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Source: libmspack
|
2
|
+
Section: libs
|
3
|
+
Priority: optional
|
4
|
+
Maintainer: Markus Sinner <sinner@herdsoft.com>
|
5
|
+
Build-Depends: debhelper (>> 3.0.0)
|
6
|
+
Standards-Version: 3.5.2
|
7
|
+
|
8
|
+
Package: libmspack
|
9
|
+
Architecture: any
|
10
|
+
Depends: ${shlibs:Depends}
|
11
|
+
Description: Library that implements different Microsoft-Compressions
|
12
|
+
The purpose of libmspack is to provide both compression and decompression
|
13
|
+
of some loosely related file formats used by Microsoft. Currently the most
|
14
|
+
common formats are implemented.
|
@@ -0,0 +1,101 @@
|
|
1
|
+
#!/usr/bin/make -f
|
2
|
+
# Sample debian/rules that uses debhelper.
|
3
|
+
# GNU copyright 1997 to 1999 by Joey Hess.
|
4
|
+
|
5
|
+
# Uncomment this to turn on verbose mode.
|
6
|
+
#export DH_VERBOSE=1
|
7
|
+
|
8
|
+
# This is the debhelper compatibility version to use.
|
9
|
+
export DH_COMPAT=3
|
10
|
+
|
11
|
+
# These are used for cross-compiling and for saving the configure script
|
12
|
+
# from having to guess our platform (since we know it already)
|
13
|
+
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
14
|
+
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
15
|
+
|
16
|
+
|
17
|
+
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
18
|
+
CFLAGS += -g
|
19
|
+
endif
|
20
|
+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
21
|
+
INSTALL_PROGRAM += -s
|
22
|
+
endif
|
23
|
+
|
24
|
+
config.status: configure
|
25
|
+
dh_testdir
|
26
|
+
# Add here commands to configure the package.
|
27
|
+
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
|
28
|
+
|
29
|
+
|
30
|
+
build: build-stamp
|
31
|
+
|
32
|
+
build-stamp: config.status
|
33
|
+
dh_testdir
|
34
|
+
|
35
|
+
# Add here commands to compile the package.
|
36
|
+
$(MAKE)
|
37
|
+
#/usr/bin/docbook-to-man debian/libmspack.sgml > libmspack.1
|
38
|
+
|
39
|
+
touch build-stamp
|
40
|
+
|
41
|
+
clean:
|
42
|
+
dh_testdir
|
43
|
+
dh_testroot
|
44
|
+
rm -f build-stamp
|
45
|
+
|
46
|
+
# Add here commands to clean up after the build process.
|
47
|
+
-$(MAKE) distclean
|
48
|
+
-test -r /usr/share/misc/config.sub && \
|
49
|
+
cp -f /usr/share/misc/config.sub config.sub
|
50
|
+
-test -r /usr/share/misc/config.guess && \
|
51
|
+
cp -f /usr/share/misc/config.guess config.guess
|
52
|
+
|
53
|
+
|
54
|
+
dh_clean
|
55
|
+
|
56
|
+
install: build
|
57
|
+
dh_testdir
|
58
|
+
dh_testroot
|
59
|
+
dh_clean -k
|
60
|
+
dh_installdirs
|
61
|
+
|
62
|
+
# Add here commands to install the package into debian/libmspack.
|
63
|
+
$(MAKE) install prefix=$(CURDIR)/debian/libmspack/usr
|
64
|
+
|
65
|
+
|
66
|
+
# Build architecture-independent files here.
|
67
|
+
binary-indep: build install
|
68
|
+
# We have nothing to do by default.
|
69
|
+
|
70
|
+
# Build architecture-dependent files here.
|
71
|
+
binary-arch: build install
|
72
|
+
dh_testdir
|
73
|
+
dh_testroot
|
74
|
+
# dh_installdebconf
|
75
|
+
dh_installdocs
|
76
|
+
dh_installexamples
|
77
|
+
dh_installmenu
|
78
|
+
# dh_installlogrotate
|
79
|
+
# dh_installemacsen
|
80
|
+
# dh_installpam
|
81
|
+
# dh_installmime
|
82
|
+
# dh_installinit
|
83
|
+
dh_installcron
|
84
|
+
dh_installman
|
85
|
+
dh_installinfo
|
86
|
+
# dh_undocumented
|
87
|
+
dh_installchangelogs ChangeLog
|
88
|
+
dh_link
|
89
|
+
dh_strip
|
90
|
+
dh_compress
|
91
|
+
dh_fixperms
|
92
|
+
# dh_makeshlibs
|
93
|
+
dh_installdeb
|
94
|
+
# dh_perl
|
95
|
+
dh_shlibdeps
|
96
|
+
dh_gencontrol
|
97
|
+
dh_md5sums
|
98
|
+
dh_builddeb
|
99
|
+
|
100
|
+
binary: binary-indep binary-arch
|
101
|
+
.PHONY: build clean binary-indep binary-arch binary install
|
@@ -0,0 +1,22 @@
|
|
1
|
+
PROJECT_NAME = libmspack
|
2
|
+
OUTPUT_DIRECTORY = .
|
3
|
+
EXTRACT_ALL = YES
|
4
|
+
EXTRACT_LOCAL_CLASSES = YES
|
5
|
+
HIDE_UNDOC_MEMBERS = YES
|
6
|
+
SHOW_INCLUDE_FILES = YES
|
7
|
+
JAVADOC_AUTOBRIEF = YES
|
8
|
+
OPTIMIZE_OUTPUT_FOR_C = YES
|
9
|
+
SHOW_USED_FILES = YES
|
10
|
+
INPUT = @top_srcdir@/mspack/mspack.h
|
11
|
+
FULL_PATH_NAMES = NO
|
12
|
+
GENERATE_HTML = YES
|
13
|
+
HTML_OUTPUT = .
|
14
|
+
HTML_FILE_EXTENSION = .html
|
15
|
+
HTML_TIMESTAMP = NO
|
16
|
+
GENERATE_HTMLHELP = NO
|
17
|
+
GENERATE_LATEX = NO
|
18
|
+
GENERATE_RTF = NO
|
19
|
+
GENERATE_MAN = NO
|
20
|
+
GENERATE_XML = NO
|
21
|
+
GENERATE_AUTOGEN_DEF = NO
|
22
|
+
CLASS_DIAGRAMS = NO
|
@@ -0,0 +1,14 @@
|
|
1
|
+
DOCS = annotated.html classes.html files.html functions*.html globals*.html \
|
2
|
+
jquery.js index.html mspack*.html struct*.html doxygen.* tab* search \
|
3
|
+
*.png
|
4
|
+
|
5
|
+
all: index.html
|
6
|
+
|
7
|
+
clean:
|
8
|
+
-rm -rf $(DOCS) installdox
|
9
|
+
|
10
|
+
index.html: @top_srcdir@/mspack/mspack.h Doxyfile
|
11
|
+
doxygen
|
12
|
+
|
13
|
+
mspack_docs.zip: index.html
|
14
|
+
zip -9r $@ $(DOCS)
|