Makefile.am 818 B

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