aboutsummaryrefslogtreecommitdiff
path: root/lib/zlib/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib/Makemodule.am')
-rw-r--r--lib/zlib/Makemodule.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/zlib/Makemodule.am b/lib/zlib/Makemodule.am
new file mode 100644
index 0000000..496fbe4
--- /dev/null
+++ b/lib/zlib/Makemodule.am
@@ -0,0 +1,15 @@
+if WITH_OWN_ZLIB
+libz_la_SOURCES = lib/zlib/adler32.c lib/zlib/inffixed.h lib/zlib/zconf.h
+libz_la_SOURCES += lib/zlib/deflate.c lib/zlib/deflate.h lib/zlib/inffast.c
+libz_la_SOURCES += lib/zlib/inffast.h lib/zlib/inflate.c lib/zlib/inflate.h
+libz_la_SOURCES += lib/zlib/inftrees.c lib/zlib/inftrees.h lib/zlib/trees.c
+libz_la_SOURCES += lib/zlib/zlib.h lib/zlib/trees.h lib/zlib/zutil.c
+libz_la_SOURCES += lib/zlib/zutil.h
+
+libz_la_CPPFLAGS = -I$(top_srcdir)/lib/zlib -DZLIB_CONST=1
+libz_la_CPPFLAGS += -DNO_GZCOMPRESS=1 -DNO_GZIP=1 -DHAVE_MEMCPY=1
+
+noinst_LTLIBRARIES += libz.la
+endif
+
+EXTRA_DIST += lib/zlib/README