* keyedit.c (sign_mk_attrib, trustsig_prompt, sign_uids, keyedit_menu):
[gnupg.git] / zlib / Makefile.am
index e75e2e5..2c1e9cd 100644 (file)
@@ -3,20 +3,26 @@
 # For conditions of distribution and use, see copyright notice in zlib.h
 # This is used if a systems lacks support of zlib
 
-CFLAGS = -O -Wall
+EXTRA_DIST = README algorithm.doc ChangeLog
 
-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 \
+libzlib_a_SOURCES = adler32.c compress.c crc32.c \
                    uncompr.c deflate.c trees.c zutil.c \
                    inflate.c infblock.c inftrees.c \
                    infcodes.c infutil.c inffast.c \
-                   zlib.h zconf.h deflate.h infblock.h  \
-                   infcodes.h inffast.h inftrees.h infutil.h zutil.h
+                   deflate.h infblock.h infcodes.h inffast.h \
+                   inffixed.h inftrees.h infutil.h trees.h \
+                   zconf.h zlib.h zutil.h
 
 
-CLEANFILES = example foo.gz
+CLEANFILES = foo.gz
+