Bring in whole zlib 1.2.7 (copy from vendor). Most files are useless for us but I
[AROS.git] / workbench / libs / z / contrib / minizip / Makefile.am
blobd343011ebc3b3fd78d2bc3a29801a083c038cf0c
1 lib_LTLIBRARIES = libminizip.la
3 if COND_DEMOS
4 bin_PROGRAMS = miniunzip minizip
5 endif
7 zlib_top_srcdir = $(top_srcdir)/../..
8 zlib_top_builddir = $(top_builddir)/../..
10 AM_CPPFLAGS = -I$(zlib_top_srcdir)
11 AM_LDFLAGS = -L$(zlib_top_builddir)
13 if WIN32
14 iowin32_src = iowin32.c
15 iowin32_h = iowin32.h
16 endif
18 libminizip_la_SOURCES = \
19         ioapi.c \
20         mztools.c \
21         unzip.c \
22         zip.c \
23         ${iowin32_src}
25 libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
27 minizip_includedir = $(includedir)/minizip
28 minizip_include_HEADERS = \
29         crypt.h \
30         ioapi.h \
31         mztools.h \
32         unzip.h \
33         zip.h \
34         ${iowin32_h}
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = minizip.pc
39 EXTRA_PROGRAMS = miniunzip minizip
41 miniunzip_SOURCES = miniunz.c
42 miniunzip_LDADD = libminizip.la
44 minizip_SOURCES = minizip.c
45 minizip_LDADD = libminizip.la -lz