• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1lib_LTLIBRARIES = libminizip.la
2
3if COND_DEMOS
4bin_PROGRAMS = miniunzip minizip
5endif
6
7zlib_top_srcdir = $(top_srcdir)/../..
8zlib_top_builddir = $(top_builddir)/../..
9
10AM_CPPFLAGS = -I$(zlib_top_srcdir)
11AM_LDFLAGS = -L$(zlib_top_builddir)
12
13if WIN32
14iowin32_src = iowin32.c
15iowin32_h = iowin32.h
16endif
17
18libminizip_la_SOURCES = \
19	ioapi.c \
20	mztools.c \
21	unzip.c \
22	zip.c \
23	${iowin32_src}
24
25libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
26
27minizip_includedir = $(includedir)/minizip
28minizip_include_HEADERS = \
29	crypt.h \
30	ioapi.h \
31	mztools.h \
32	unzip.h \
33	zip.h \
34	${iowin32_h}
35
36pkgconfigdir = $(libdir)/pkgconfig
37pkgconfig_DATA = minizip.pc
38
39EXTRA_PROGRAMS = miniunzip minizip
40
41miniunzip_SOURCES = miniunz.c
42miniunzip_LDADD = libminizip.la
43
44minizip_SOURCES = minizip.c
45minizip_LDADD = libminizip.la -lz
46