diff options
author | Yasha Jannoo <alledodo@gmail.com> | 2019-09-14 12:15:04 +0100 |
---|---|---|
committer | Yasha Jannoo <alledodo@gmail.com> | 2019-09-14 12:51:21 +0100 |
commit | f2e1338eba568ac7caa0051d57f1f6a10ae81801 (patch) | |
tree | 4a6589fb83fe95308b75a76505d97a972f2bd7be /zlib/contrib/minizip/Makefile.am | |
parent | e31b0c1803d976e29b258c7307e32fd0d63821e5 (diff) | |
download | starshatter-f2e1338eba568ac7caa0051d57f1f6a10ae81801.zip starshatter-f2e1338eba568ac7caa0051d57f1f6a10ae81801.tar.gz starshatter-f2e1338eba568ac7caa0051d57f1f6a10ae81801.tar.bz2 |
Update zlib 3rd party code to v1.2.11
zlib source code, version 1.2.11. https://www.zlib.net/.
Include all the gynmastics involved in:
- making sure we compile zlibstat and set the output files locations and filename to those expected by the starshatter setup.
- turning off the ASM includes as they are invalid for the new versions of zlib (and crash when running).
- matching the calling conventions of the Starshatter code by ommiting ZLIB_WINAPI from the zlib preprocessor defines.
- fix debug build compile error in zlibstatic:
https://stackoverflow.com/questions/31867018/unresolved-external-symbol-except-handler4-common-in-visual-studio-2015
This fixes some string warnings.
Diffstat (limited to 'zlib/contrib/minizip/Makefile.am')
-rw-r--r-- | zlib/contrib/minizip/Makefile.am | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/zlib/contrib/minizip/Makefile.am b/zlib/contrib/minizip/Makefile.am new file mode 100644 index 0000000..d343011 --- /dev/null +++ b/zlib/contrib/minizip/Makefile.am @@ -0,0 +1,45 @@ +lib_LTLIBRARIES = libminizip.la + +if COND_DEMOS +bin_PROGRAMS = miniunzip minizip +endif + +zlib_top_srcdir = $(top_srcdir)/../.. +zlib_top_builddir = $(top_builddir)/../.. + +AM_CPPFLAGS = -I$(zlib_top_srcdir) +AM_LDFLAGS = -L$(zlib_top_builddir) + +if WIN32 +iowin32_src = iowin32.c +iowin32_h = iowin32.h +endif + +libminizip_la_SOURCES = \ + ioapi.c \ + mztools.c \ + unzip.c \ + zip.c \ + ${iowin32_src} + +libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz + +minizip_includedir = $(includedir)/minizip +minizip_include_HEADERS = \ + crypt.h \ + ioapi.h \ + mztools.h \ + unzip.h \ + zip.h \ + ${iowin32_h} + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = minizip.pc + +EXTRA_PROGRAMS = miniunzip minizip + +miniunzip_SOURCES = miniunz.c +miniunzip_LDADD = libminizip.la + +minizip_SOURCES = minizip.c +minizip_LDADD = libminizip.la -lz |