kusano fc6ab3
lib_LTLIBRARIES = libminizip.la
kusano fc6ab3
kusano fc6ab3
if COND_DEMOS
kusano fc6ab3
bin_PROGRAMS = miniunzip minizip
kusano fc6ab3
endif
kusano fc6ab3
kusano fc6ab3
zlib_top_srcdir = $(top_srcdir)/../..
kusano fc6ab3
zlib_top_builddir = $(top_builddir)/../..
kusano fc6ab3
kusano fc6ab3
AM_CPPFLAGS = -I$(zlib_top_srcdir)
kusano fc6ab3
AM_LDFLAGS = -L$(zlib_top_builddir)
kusano fc6ab3
kusano fc6ab3
if WIN32
kusano fc6ab3
iowin32_src = iowin32.c
kusano fc6ab3
iowin32_h = iowin32.h
kusano fc6ab3
endif
kusano fc6ab3
kusano fc6ab3
libminizip_la_SOURCES = \
kusano fc6ab3
	ioapi.c \
kusano fc6ab3
	mztools.c \
kusano fc6ab3
	unzip.c \
kusano fc6ab3
	zip.c \
kusano fc6ab3
	${iowin32_src}
kusano fc6ab3
kusano fc6ab3
libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
kusano fc6ab3
kusano fc6ab3
minizip_includedir = $(includedir)/minizip
kusano fc6ab3
minizip_include_HEADERS = \
kusano fc6ab3
	crypt.h \
kusano fc6ab3
	ioapi.h \
kusano fc6ab3
	mztools.h \
kusano fc6ab3
	unzip.h \
kusano fc6ab3
	zip.h \
kusano fc6ab3
	${iowin32_h}
kusano fc6ab3
kusano fc6ab3
pkgconfigdir = $(libdir)/pkgconfig
kusano fc6ab3
pkgconfig_DATA = minizip.pc
kusano fc6ab3
kusano fc6ab3
EXTRA_PROGRAMS = miniunzip minizip
kusano fc6ab3
kusano fc6ab3
miniunzip_SOURCES = miniunz.c
kusano fc6ab3
miniunzip_LDADD = libminizip.la
kusano fc6ab3
kusano fc6ab3
minizip_SOURCES = minizip.c
kusano fc6ab3
minizip_LDADD = libminizip.la -lz