diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-07 01:57:07 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-07 02:11:56 -0700 |
commit | f442c1e89e99ae5a0068a2d32e7284c2623f09fd (patch) | |
tree | 1bc659f486af707673c36916c4d75ef7f517dece /Makefile.in | |
parent | 518ad0177ae2f1aaefc49285b3536a6bd8d9973c (diff) | |
download | zlib-f442c1e89e99ae5a0068a2d32e7284c2623f09fd.tar.gz zlib-f442c1e89e99ae5a0068a2d32e7284c2623f09fd.tar.bz2 zlib-f442c1e89e99ae5a0068a2d32e7284c2623f09fd.zip |
Add a ./config --solo option to make zlib subset with no libary use
A common request has been the ability to compile zlib to require no
other libraries. This --solo option provides that ability. The price
is that the gz*, compress*, and uncompress functions are eliminated,
and that the user must provide memory allocation and free routines to
deflate and inflate when initializing.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 67375ef..c1c37fe 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -54,11 +54,13 @@ man3dir = ${mandir}/man3 | |||
54 | pkgconfigdir = ${libdir}/pkgconfig | 54 | pkgconfigdir = ${libdir}/pkgconfig |
55 | tempfile := $(shell mktemp -u __XXXXXX) | 55 | tempfile := $(shell mktemp -u __XXXXXX) |
56 | 56 | ||
57 | OBJC = adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o \ | 57 | OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o |
58 | gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o | 58 | OBJG = compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o |
59 | OBJC = $(OBJZ) $(OBJG) | ||
59 | 60 | ||
60 | PIC_OBJC = adler32.lo compress.lo crc32.lo deflate.lo gzclose.lo gzlib.lo gzread.lo \ | 61 | PIC_OBJZ = adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo |
61 | gzwrite.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo uncompr.lo zutil.lo | 62 | PIC_OBJG = compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo |
63 | PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG) | ||
62 | 64 | ||
63 | # to use the asm code: make OBJA=match.o, PIC_OBJA=match.lo | 65 | # to use the asm code: make OBJA=match.o, PIC_OBJA=match.lo |
64 | OBJA = | 66 | OBJA = |