From 772513d82432ecf323bca55251551fd5c8a7562d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 1 Oct 2013 16:08:25 +0000 Subject: [PATCH] Upgrade bundled zlib to 1.2.8. No real changes from wxWidgets point of view. Closes #15314. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Makefile.in | 52 +- build/bakefiles/zlib.bkl | 15 +- build/msw/makefile.bcc | 52 +- build/msw/makefile.gcc | 40 +- build/msw/makefile.vc | 52 +- build/msw/makefile.wat | 40 +- build/msw/wx_vc10_wxzlib.vcxproj | 7 +- build/msw/wx_vc10_wxzlib.vcxproj.filters | 13 +- build/msw/wx_vc7_wxzlib.vcproj | 11 +- build/msw/wx_vc8_wxzlib.vcproj | 14 +- build/msw/wx_vc9_wxzlib.vcproj | 14 +- build/msw/wx_wxzlib.dsp | 14 +- src/zlib/ChangeLog | 621 +++++++++- src/zlib/FAQ | 267 +++-- src/zlib/INDEX | 41 +- src/zlib/README | 94 +- src/zlib/adler32.c | 102 +- src/zlib/algorithm.txt | 209 ---- src/zlib/compress.c | 7 +- src/zlib/crc32.c | 112 +- src/zlib/crc32.h | 2 +- src/zlib/deflate.c | 519 +++++--- src/zlib/deflate.h | 45 +- src/zlib/example.c | 564 --------- src/zlib/gzclose.c | 25 + src/zlib/gzguts.h | 209 ++++ src/zlib/gzio.c | 1031 ---------------- src/zlib/gzlib.c | 634 ++++++++++ src/zlib/gzread.c | 594 ++++++++++ src/zlib/gzwrite.c | 577 +++++++++ src/zlib/infback.c | 105 +- src/zlib/inffast.c | 84 +- src/zlib/inffast.h | 4 +- src/zlib/inffixed.h | 6 +- src/zlib/inflate.c | 410 ++++--- src/zlib/inflate.h | 31 +- src/zlib/inftrees.c | 93 +- src/zlib/inftrees.h | 27 +- src/zlib/minigzip.c | 321 ----- src/zlib/trees.c | 145 +-- src/zlib/trees.h | 4 +- src/zlib/uncompr.c | 6 +- src/zlib/zconf.h | 289 ++++- src/zlib/zlib.3 | 70 +- src/zlib/zlib.h | 1377 ++++++++++++++-------- src/zlib/zlib.map | 83 ++ src/zlib/zlib.pc.in | 13 + src/zlib/zutil.c | 56 +- src/zlib/zutil.h | 142 +-- 49 files changed, 5528 insertions(+), 3715 deletions(-) delete mode 100644 src/zlib/algorithm.txt delete mode 100644 src/zlib/example.c create mode 100644 src/zlib/gzclose.c create mode 100644 src/zlib/gzguts.h delete mode 100644 src/zlib/gzio.c create mode 100644 src/zlib/gzlib.c create mode 100644 src/zlib/gzread.c create mode 100644 src/zlib/gzwrite.c delete mode 100644 src/zlib/minigzip.c create mode 100644 src/zlib/zlib.map create mode 100644 src/zlib/zlib.pc.in diff --git a/Makefile.in b/Makefile.in index 06eb0a97ab..37da0a5379 100644 --- a/Makefile.in +++ b/Makefile.in @@ -90,15 +90,18 @@ WXZLIB_OBJECTS = \ wxzlib_adler32.o \ wxzlib_compress.o \ wxzlib_crc32.o \ - wxzlib_gzio.o \ - wxzlib_uncompr.o \ wxzlib_deflate.o \ - wxzlib_trees.o \ - wxzlib_zutil.o \ - wxzlib_inflate.o \ + wxzlib_gzclose.o \ + wxzlib_gzlib.o \ + wxzlib_gzread.o \ + wxzlib_gzwrite.o \ wxzlib_infback.o \ + wxzlib_inffast.o \ + wxzlib_inflate.o \ wxzlib_inftrees.o \ - wxzlib_inffast.o + wxzlib_trees.o \ + wxzlib_uncompr.o \ + wxzlib_zutil.o WXPNG_CFLAGS = -DNDEBUG $(__INC_ZLIB_p) $(____SHARED) $(CPPFLAGS) $(CFLAGS) WXPNG_OBJECTS = \ wxpng_png.o \ @@ -16168,32 +16171,41 @@ wxzlib_compress.o: $(srcdir)/src/zlib/compress.c wxzlib_crc32.o: $(srcdir)/src/zlib/crc32.c $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/crc32.c -wxzlib_gzio.o: $(srcdir)/src/zlib/gzio.c - $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/gzio.c - -wxzlib_uncompr.o: $(srcdir)/src/zlib/uncompr.c - $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/uncompr.c - wxzlib_deflate.o: $(srcdir)/src/zlib/deflate.c $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/deflate.c -wxzlib_trees.o: $(srcdir)/src/zlib/trees.c - $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/trees.c +wxzlib_gzclose.o: $(srcdir)/src/zlib/gzclose.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/gzclose.c -wxzlib_zutil.o: $(srcdir)/src/zlib/zutil.c - $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/zutil.c +wxzlib_gzlib.o: $(srcdir)/src/zlib/gzlib.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/gzlib.c -wxzlib_inflate.o: $(srcdir)/src/zlib/inflate.c - $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/inflate.c +wxzlib_gzread.o: $(srcdir)/src/zlib/gzread.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/gzread.c + +wxzlib_gzwrite.o: $(srcdir)/src/zlib/gzwrite.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/gzwrite.c wxzlib_infback.o: $(srcdir)/src/zlib/infback.c $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/infback.c +wxzlib_inffast.o: $(srcdir)/src/zlib/inffast.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/inffast.c + +wxzlib_inflate.o: $(srcdir)/src/zlib/inflate.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/inflate.c + wxzlib_inftrees.o: $(srcdir)/src/zlib/inftrees.c $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/inftrees.c -wxzlib_inffast.o: $(srcdir)/src/zlib/inffast.c - $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/inffast.c +wxzlib_trees.o: $(srcdir)/src/zlib/trees.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/trees.c + +wxzlib_uncompr.o: $(srcdir)/src/zlib/uncompr.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/uncompr.c + +wxzlib_zutil.o: $(srcdir)/src/zlib/zutil.c + $(CCC) -c -o $@ $(WXZLIB_CFLAGS) $(srcdir)/src/zlib/zutil.c wxpng_png.o: $(srcdir)/src/png/png.c $(CCC) -c -o $@ $(WXPNG_CFLAGS) $(srcdir)/src/png/png.c diff --git a/build/bakefiles/zlib.bkl b/build/bakefiles/zlib.bkl index 2028607e88..30c0e6e2ee 100644 --- a/build/bakefiles/zlib.bkl +++ b/build/bakefiles/zlib.bkl @@ -34,15 +34,18 @@ src/zlib/adler32.c src/zlib/compress.c src/zlib/crc32.c - src/zlib/gzio.c - src/zlib/uncompr.c src/zlib/deflate.c - src/zlib/trees.c - src/zlib/zutil.c - src/zlib/inflate.c + src/zlib/gzclose.c + src/zlib/gzlib.c + src/zlib/gzread.c + src/zlib/gzwrite.c src/zlib/infback.c - src/zlib/inftrees.c src/zlib/inffast.c + src/zlib/inflate.c + src/zlib/inftrees.c + src/zlib/trees.c + src/zlib/uncompr.c + src/zlib/zutil.c diff --git a/build/msw/makefile.bcc b/build/msw/makefile.bcc index e0c804e88c..68b99bd54a 100644 --- a/build/msw/makefile.bcc +++ b/build/msw/makefile.bcc @@ -62,15 +62,18 @@ WXZLIB_OBJECTS = \ $(OBJS)\wxzlib_adler32.obj \ $(OBJS)\wxzlib_compress.obj \ $(OBJS)\wxzlib_crc32.obj \ - $(OBJS)\wxzlib_gzio.obj \ - $(OBJS)\wxzlib_uncompr.obj \ $(OBJS)\wxzlib_deflate.obj \ - $(OBJS)\wxzlib_trees.obj \ - $(OBJS)\wxzlib_zutil.obj \ - $(OBJS)\wxzlib_inflate.obj \ + $(OBJS)\wxzlib_gzclose.obj \ + $(OBJS)\wxzlib_gzlib.obj \ + $(OBJS)\wxzlib_gzread.obj \ + $(OBJS)\wxzlib_gzwrite.obj \ $(OBJS)\wxzlib_infback.obj \ + $(OBJS)\wxzlib_inffast.obj \ + $(OBJS)\wxzlib_inflate.obj \ $(OBJS)\wxzlib_inftrees.obj \ - $(OBJS)\wxzlib_inffast.obj + $(OBJS)\wxzlib_trees.obj \ + $(OBJS)\wxzlib_uncompr.obj \ + $(OBJS)\wxzlib_zutil.obj WXPNG_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ $(__OPTIMIZEFLAG) $(__THREADSFLAG) -DNDEBUG -I..\..\src\zlib -w-8004 \ $(CPPFLAGS) $(CFLAGS) @@ -5541,32 +5544,41 @@ $(OBJS)\wxzlib_compress.obj: ..\..\src\zlib\compress.c $(OBJS)\wxzlib_crc32.obj: ..\..\src\zlib\crc32.c $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\crc32.c -$(OBJS)\wxzlib_gzio.obj: ..\..\src\zlib\gzio.c - $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzio.c - -$(OBJS)\wxzlib_uncompr.obj: ..\..\src\zlib\uncompr.c - $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\uncompr.c - $(OBJS)\wxzlib_deflate.obj: ..\..\src\zlib\deflate.c $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\deflate.c -$(OBJS)\wxzlib_trees.obj: ..\..\src\zlib\trees.c - $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\trees.c +$(OBJS)\wxzlib_gzclose.obj: ..\..\src\zlib\gzclose.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzclose.c -$(OBJS)\wxzlib_zutil.obj: ..\..\src\zlib\zutil.c - $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\zutil.c +$(OBJS)\wxzlib_gzlib.obj: ..\..\src\zlib\gzlib.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzlib.c -$(OBJS)\wxzlib_inflate.obj: ..\..\src\zlib\inflate.c - $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inflate.c +$(OBJS)\wxzlib_gzread.obj: ..\..\src\zlib\gzread.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzread.c + +$(OBJS)\wxzlib_gzwrite.obj: ..\..\src\zlib\gzwrite.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzwrite.c $(OBJS)\wxzlib_infback.obj: ..\..\src\zlib\infback.c $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\infback.c +$(OBJS)\wxzlib_inffast.obj: ..\..\src\zlib\inffast.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inffast.c + +$(OBJS)\wxzlib_inflate.obj: ..\..\src\zlib\inflate.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inflate.c + $(OBJS)\wxzlib_inftrees.obj: ..\..\src\zlib\inftrees.c $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inftrees.c -$(OBJS)\wxzlib_inffast.obj: ..\..\src\zlib\inffast.c - $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inffast.c +$(OBJS)\wxzlib_trees.obj: ..\..\src\zlib\trees.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\trees.c + +$(OBJS)\wxzlib_uncompr.obj: ..\..\src\zlib\uncompr.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\uncompr.c + +$(OBJS)\wxzlib_zutil.obj: ..\..\src\zlib\zutil.c + $(CC) -q -c -P- -o$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\zutil.c $(OBJS)\wxpng_png.obj: ..\..\src\png\png.c $(CC) -q -c -P- -o$@ $(WXPNG_CFLAGS) ..\..\src\png\png.c diff --git a/build/msw/makefile.gcc b/build/msw/makefile.gcc index 850daa0770..d84ff02157 100644 --- a/build/msw/makefile.gcc +++ b/build/msw/makefile.gcc @@ -53,15 +53,18 @@ WXZLIB_OBJECTS = \ $(OBJS)\wxzlib_adler32.o \ $(OBJS)\wxzlib_compress.o \ $(OBJS)\wxzlib_crc32.o \ - $(OBJS)\wxzlib_gzio.o \ - $(OBJS)\wxzlib_uncompr.o \ $(OBJS)\wxzlib_deflate.o \ - $(OBJS)\wxzlib_trees.o \ - $(OBJS)\wxzlib_zutil.o \ - $(OBJS)\wxzlib_inflate.o \ + $(OBJS)\wxzlib_gzclose.o \ + $(OBJS)\wxzlib_gzlib.o \ + $(OBJS)\wxzlib_gzread.o \ + $(OBJS)\wxzlib_gzwrite.o \ $(OBJS)\wxzlib_infback.o \ + $(OBJS)\wxzlib_inffast.o \ + $(OBJS)\wxzlib_inflate.o \ $(OBJS)\wxzlib_inftrees.o \ - $(OBJS)\wxzlib_inffast.o + $(OBJS)\wxzlib_trees.o \ + $(OBJS)\wxzlib_uncompr.o \ + $(OBJS)\wxzlib_zutil.o WXPNG_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \ -DHAVE_W32API_H -DNDEBUG -I..\..\src\zlib $(CPPFLAGS) $(CFLAGS) WXPNG_OBJECTS = \ @@ -5711,31 +5714,40 @@ $(OBJS)\wxzlib_compress.o: ../../src/zlib/compress.c $(OBJS)\wxzlib_crc32.o: ../../src/zlib/crc32.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_gzio.o: ../../src/zlib/gzio.c +$(OBJS)\wxzlib_deflate.o: ../../src/zlib/deflate.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_uncompr.o: ../../src/zlib/uncompr.c +$(OBJS)\wxzlib_gzclose.o: ../../src/zlib/gzclose.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_deflate.o: ../../src/zlib/deflate.c +$(OBJS)\wxzlib_gzlib.o: ../../src/zlib/gzlib.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_trees.o: ../../src/zlib/trees.c +$(OBJS)\wxzlib_gzread.o: ../../src/zlib/gzread.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_zutil.o: ../../src/zlib/zutil.c +$(OBJS)\wxzlib_gzwrite.o: ../../src/zlib/gzwrite.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_inflate.o: ../../src/zlib/inflate.c +$(OBJS)\wxzlib_infback.o: ../../src/zlib/infback.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_infback.o: ../../src/zlib/infback.c +$(OBJS)\wxzlib_inffast.o: ../../src/zlib/inffast.c + $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< + +$(OBJS)\wxzlib_inflate.o: ../../src/zlib/inflate.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< $(OBJS)\wxzlib_inftrees.o: ../../src/zlib/inftrees.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< -$(OBJS)\wxzlib_inffast.o: ../../src/zlib/inffast.c +$(OBJS)\wxzlib_trees.o: ../../src/zlib/trees.c + $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< + +$(OBJS)\wxzlib_uncompr.o: ../../src/zlib/uncompr.c + $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< + +$(OBJS)\wxzlib_zutil.o: ../../src/zlib/zutil.c $(CC) -c -o $@ $(WXZLIB_CFLAGS) $(CPPDEPS) $< $(OBJS)\wxpng_png.o: ../../src/png/png.c diff --git a/build/msw/makefile.vc b/build/msw/makefile.vc index e16b439743..bb36bb7f35 100644 --- a/build/msw/makefile.vc +++ b/build/msw/makefile.vc @@ -58,15 +58,18 @@ WXZLIB_OBJECTS = \ $(OBJS)\wxzlib_adler32.obj \ $(OBJS)\wxzlib_compress.obj \ $(OBJS)\wxzlib_crc32.obj \ - $(OBJS)\wxzlib_gzio.obj \ - $(OBJS)\wxzlib_uncompr.obj \ $(OBJS)\wxzlib_deflate.obj \ - $(OBJS)\wxzlib_trees.obj \ - $(OBJS)\wxzlib_zutil.obj \ - $(OBJS)\wxzlib_inflate.obj \ + $(OBJS)\wxzlib_gzclose.obj \ + $(OBJS)\wxzlib_gzlib.obj \ + $(OBJS)\wxzlib_gzread.obj \ + $(OBJS)\wxzlib_gzwrite.obj \ $(OBJS)\wxzlib_infback.obj \ + $(OBJS)\wxzlib_inffast.obj \ + $(OBJS)\wxzlib_inflate.obj \ $(OBJS)\wxzlib_inftrees.obj \ - $(OBJS)\wxzlib_inffast.obj + $(OBJS)\wxzlib_trees.obj \ + $(OBJS)\wxzlib_uncompr.obj \ + $(OBJS)\wxzlib_zutil.obj WXPNG_CFLAGS = /M$(__RUNTIME_LIBS_40)$(__DEBUGRUNTIME) /DWIN32 $(__DEBUGINFO) \ /Fd$(LIBDIRNAME)\wxpng$(WXDEBUGFLAG).pdb $(____DEBUGRUNTIME) \ $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \ @@ -6226,32 +6229,41 @@ $(OBJS)\wxzlib_compress.obj: ..\..\src\zlib\compress.c $(OBJS)\wxzlib_crc32.obj: ..\..\src\zlib\crc32.c $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\crc32.c -$(OBJS)\wxzlib_gzio.obj: ..\..\src\zlib\gzio.c - $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzio.c - -$(OBJS)\wxzlib_uncompr.obj: ..\..\src\zlib\uncompr.c - $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\uncompr.c - $(OBJS)\wxzlib_deflate.obj: ..\..\src\zlib\deflate.c $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\deflate.c -$(OBJS)\wxzlib_trees.obj: ..\..\src\zlib\trees.c - $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\trees.c +$(OBJS)\wxzlib_gzclose.obj: ..\..\src\zlib\gzclose.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzclose.c -$(OBJS)\wxzlib_zutil.obj: ..\..\src\zlib\zutil.c - $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\zutil.c +$(OBJS)\wxzlib_gzlib.obj: ..\..\src\zlib\gzlib.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzlib.c -$(OBJS)\wxzlib_inflate.obj: ..\..\src\zlib\inflate.c - $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inflate.c +$(OBJS)\wxzlib_gzread.obj: ..\..\src\zlib\gzread.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzread.c + +$(OBJS)\wxzlib_gzwrite.obj: ..\..\src\zlib\gzwrite.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\gzwrite.c $(OBJS)\wxzlib_infback.obj: ..\..\src\zlib\infback.c $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\infback.c +$(OBJS)\wxzlib_inffast.obj: ..\..\src\zlib\inffast.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inffast.c + +$(OBJS)\wxzlib_inflate.obj: ..\..\src\zlib\inflate.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inflate.c + $(OBJS)\wxzlib_inftrees.obj: ..\..\src\zlib\inftrees.c $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inftrees.c -$(OBJS)\wxzlib_inffast.obj: ..\..\src\zlib\inffast.c - $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\inffast.c +$(OBJS)\wxzlib_trees.obj: ..\..\src\zlib\trees.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\trees.c + +$(OBJS)\wxzlib_uncompr.obj: ..\..\src\zlib\uncompr.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\uncompr.c + +$(OBJS)\wxzlib_zutil.obj: ..\..\src\zlib\zutil.c + $(CC) /c /nologo /TC /Fo$@ $(WXZLIB_CFLAGS) ..\..\src\zlib\zutil.c $(OBJS)\wxpng_png.obj: ..\..\src\png\png.c $(CC) /c /nologo /TC /Fo$@ $(WXPNG_CFLAGS) ..\..\src\png\png.c diff --git a/build/msw/makefile.wat b/build/msw/makefile.wat index 79603d5a90..8b72363947 100644 --- a/build/msw/makefile.wat +++ b/build/msw/makefile.wat @@ -3682,15 +3682,18 @@ WXZLIB_OBJECTS = & $(OBJS)\wxzlib_adler32.obj & $(OBJS)\wxzlib_compress.obj & $(OBJS)\wxzlib_crc32.obj & - $(OBJS)\wxzlib_gzio.obj & - $(OBJS)\wxzlib_uncompr.obj & $(OBJS)\wxzlib_deflate.obj & - $(OBJS)\wxzlib_trees.obj & - $(OBJS)\wxzlib_zutil.obj & - $(OBJS)\wxzlib_inflate.obj & + $(OBJS)\wxzlib_gzclose.obj & + $(OBJS)\wxzlib_gzlib.obj & + $(OBJS)\wxzlib_gzread.obj & + $(OBJS)\wxzlib_gzwrite.obj & $(OBJS)\wxzlib_infback.obj & + $(OBJS)\wxzlib_inffast.obj & + $(OBJS)\wxzlib_inflate.obj & $(OBJS)\wxzlib_inftrees.obj & - $(OBJS)\wxzlib_inffast.obj + $(OBJS)\wxzlib_trees.obj & + $(OBJS)\wxzlib_uncompr.obj & + $(OBJS)\wxzlib_zutil.obj WXPNG_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & $(__RUNTIME_LIBS) -dNDEBUG -i=..\..\src\zlib -wcd=124 $(CPPFLAGS) $(CFLAGS) WXPNG_OBJECTS = & @@ -5984,31 +5987,40 @@ $(OBJS)\wxzlib_compress.obj : .AUTODEPEND ..\..\src\zlib\compress.c $(OBJS)\wxzlib_crc32.obj : .AUTODEPEND ..\..\src\zlib\crc32.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_gzio.obj : .AUTODEPEND ..\..\src\zlib\gzio.c +$(OBJS)\wxzlib_deflate.obj : .AUTODEPEND ..\..\src\zlib\deflate.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_uncompr.obj : .AUTODEPEND ..\..\src\zlib\uncompr.c +$(OBJS)\wxzlib_gzclose.obj : .AUTODEPEND ..\..\src\zlib\gzclose.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_deflate.obj : .AUTODEPEND ..\..\src\zlib\deflate.c +$(OBJS)\wxzlib_gzlib.obj : .AUTODEPEND ..\..\src\zlib\gzlib.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_trees.obj : .AUTODEPEND ..\..\src\zlib\trees.c +$(OBJS)\wxzlib_gzread.obj : .AUTODEPEND ..\..\src\zlib\gzread.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_zutil.obj : .AUTODEPEND ..\..\src\zlib\zutil.c +$(OBJS)\wxzlib_gzwrite.obj : .AUTODEPEND ..\..\src\zlib\gzwrite.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_inflate.obj : .AUTODEPEND ..\..\src\zlib\inflate.c +$(OBJS)\wxzlib_infback.obj : .AUTODEPEND ..\..\src\zlib\infback.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_infback.obj : .AUTODEPEND ..\..\src\zlib\infback.c +$(OBJS)\wxzlib_inffast.obj : .AUTODEPEND ..\..\src\zlib\inffast.c + $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< + +$(OBJS)\wxzlib_inflate.obj : .AUTODEPEND ..\..\src\zlib\inflate.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< $(OBJS)\wxzlib_inftrees.obj : .AUTODEPEND ..\..\src\zlib\inftrees.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< -$(OBJS)\wxzlib_inffast.obj : .AUTODEPEND ..\..\src\zlib\inffast.c +$(OBJS)\wxzlib_trees.obj : .AUTODEPEND ..\..\src\zlib\trees.c + $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< + +$(OBJS)\wxzlib_uncompr.obj : .AUTODEPEND ..\..\src\zlib\uncompr.c + $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< + +$(OBJS)\wxzlib_zutil.obj : .AUTODEPEND ..\..\src\zlib\zutil.c $(CC) -bt=nt -zq -fo=$^@ $(WXZLIB_CFLAGS) $< $(OBJS)\wxpng_png.obj : .AUTODEPEND ..\..\src\png\png.c diff --git a/build/msw/wx_vc10_wxzlib.vcxproj b/build/msw/wx_vc10_wxzlib.vcxproj index ee9d9aa80f..2fd15bda29 100644 --- a/build/msw/wx_vc10_wxzlib.vcxproj +++ b/build/msw/wx_vc10_wxzlib.vcxproj @@ -209,7 +209,10 @@ - + + + + @@ -221,4 +224,4 @@ - \ No newline at end of file + diff --git a/build/msw/wx_vc10_wxzlib.vcxproj.filters b/build/msw/wx_vc10_wxzlib.vcxproj.filters index d4b0dc11dc..61fc76f670 100644 --- a/build/msw/wx_vc10_wxzlib.vcxproj.filters +++ b/build/msw/wx_vc10_wxzlib.vcxproj.filters @@ -19,7 +19,16 @@ Source Files - + + Source Files + + + Source Files + + + Source Files + + Source Files @@ -44,4 +53,4 @@ Source Files - \ No newline at end of file + diff --git a/build/msw/wx_vc7_wxzlib.vcproj b/build/msw/wx_vc7_wxzlib.vcproj index ef0fb08ba8..b851b994f7 100644 --- a/build/msw/wx_vc7_wxzlib.vcproj +++ b/build/msw/wx_vc7_wxzlib.vcproj @@ -256,7 +256,16 @@ RelativePath="..\..\src\zlib\deflate.c"> + RelativePath="..\..\src\zlib\gzclose.c"> + + + + + + diff --git a/build/msw/wx_vc8_wxzlib.vcproj b/build/msw/wx_vc8_wxzlib.vcproj index ae86eaa4e8..f635817480 100644 --- a/build/msw/wx_vc8_wxzlib.vcproj +++ b/build/msw/wx_vc8_wxzlib.vcproj @@ -366,7 +366,19 @@ > + + + + + + + + + + + +