* Added the ncurses headers to the Development optional package.

* Simplified the addition of the libpng and zlib headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24656 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-03-29 14:49:30 +00:00
parent 55883aeef0
commit 020bfa8211

View File

@ -513,13 +513,10 @@ if [ IsOptionalHaikuImagePackageAdded Development ]
AddSymlinkToHaikuImage develop headers : 3rdparty : gnu ;
# TODO: Change BEINCLUDES and gcc to refer to 3rdparty rather than gnu.
# individual headers of third party libs
local zlibHeaders = <header>zlib.h <header>zconf.h ;
SEARCH on $(zlibHeaders) = [ FDirName $(HAIKU_TOP) headers libs zlib ] ;
local pngHeaders = <header>png.h <header>pngconf.h ;
SEARCH on $(pngHeaders) = [ FDirName $(HAIKU_TOP) headers libs png ] ;
AddFilesToHaikuImage develop headers 3rdparty
: $(zlibHeaders) $(pngHeaders) ;
# third party libs headers
AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
AddHeaderDirectoryToHaikuImage libs png : 3rdparty ;
AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ;
if $(HAIKU_GCC_VERSION[1]) > 2 {
# gcc 4