summaryrefslogtreecommitdiffstats
path: root/zlib/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-02-13 21:58:50 +0100
committerWerner Koch <wk@gnupg.org>1998-02-13 21:58:50 +0100
commitf477447d9af4097e8c5d4c15a3dd381237e93ee2 (patch)
treea655392c92fed02f06ebf503bf10b835b56e54e0 /zlib/Makefile.am
parentadded assembler stuff for hppa (diff)
downloadgnupg2-ad509ff7eda546a48b529ca068f6d34ef8b4b223.tar.xz
gnupg2-ad509ff7eda546a48b529ca068f6d34ef8b4b223.zip
added option exportV0-2-6
Diffstat (limited to 'zlib/Makefile.am')
-rw-r--r--zlib/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/zlib/Makefile.am b/zlib/Makefile.am
index e75e2e5b9..2d2d749df 100644
--- a/zlib/Makefile.am
+++ b/zlib/Makefile.am
@@ -6,7 +6,13 @@
CFLAGS = -O -Wall
EXTRA_DIST = README algorithm.doc ChangeLog example.c
+
+# I found no other easy way to use this only if zlib is neede
+# doing this with SUBDIR = @xxx@ in the top Makefile.am does not
+# work because automake doesn't scan this Makefile.am here.
+if ENABLE_LOCAL_ZLIB
noinst_LIBRARIES = libzlib.a
+endif
libzlib_a_SOURCES = adler32.c compress.c crc32.c gzio.c \
@@ -20,3 +26,4 @@ libzlib_a_SOURCES = adler32.c compress.c crc32.c gzio.c \
CLEANFILES = example foo.gz
+