Complete outsourcing of zlib

* Add optional packages Zlib and Zlib-devel.
* Simplify the build feature section for zlib and also extract the
  source package.
* Replace all remaining references to the zlib instance in the tree and
  remove it.
This commit is contained in:
Ingo Weinhold
2013-05-06 04:37:18 +02:00
parent 4bee3d6fb9
commit 7c6bff1734
66 changed files with 127 additions and 15798 deletions
+7 -3
View File
@@ -1,11 +1,15 @@
SubDir HAIKU_TOP src tools translation pnginfo ;
UseLibraryHeaders zlib ;
UseBuildFeatureHeaders zlib ;
UseHeaders $(HAIKU_LIBPNG_HEADERS) : true ;
Includes [ FGristFiles pnginfo.cpp ]
: $(HAIKU_LIBPNG_HEADERS_DEPENDENCY) ;
:
$(HAIKU_LIBPNG_HEADERS_DEPENDENCY)
[ BuildFeatureAttribute zlib : headers ]
;
BinCommand pnginfo : pnginfo.cpp : be $(HAIKU_LIBPNG_LIB) libz.a
BinCommand pnginfo : pnginfo.cpp : be $(HAIKU_LIBPNG_LIB)
[ BuildFeatureAttribute zlib : library ]
$(TARGET_LIBSUPC++) ;