# $Id: Makefile.kmk 38386 2011-08-09 17:34:15Z vboxsync $ ## @file # Top-level makefile for the external libraries. # # # Copyright (C) 2006-2010 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # SUB_DEPTH = ../.. include $(KBUILD_PATH)/subheader.kmk # # Note! A number of the libs may be detected on the host system by the configure script. # The usual way for testing for this is to see whether the Config.kmk default # include path specific to the lib has been changed. # # Compression libs used by IPRT and . include $(PATH_SUB_CURRENT)/liblzf-3.4/Makefile.kmk if !defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_TESTSUITE) \ && "$(SDK_VBOX_ZLIB_INCS)" == "$(PATH_ROOT)/src/libs/zlib-1.2.1" include $(PATH_SUB_CURRENT)/zlib-1.2.1/Makefile.kmk endif # PNG support (for screenshots). if !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_TESTSUITE) \ && "$(SDK_VBOX_LIBPNG_INCS)" == "$(PATH_ROOT)/src/libs/libpng-1.2.8" include $(PATH_SUB_CURRENT)/libpng-1.2.8/Makefile.kmk endif # !VBOX_ONLY_DOCS # Libcurl for inet access if defined(VBOX_WITH_LIBCURL) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) && !defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_TESTSUITE) \ && "$(SDK_VBOX_LIBCURL_INCS)" == "$(PATH_ROOT)/src/libs/curl-7.19.4/include" include $(PATH_SUB_CURRENT)/curl-7.19.4/Makefile.kmk endif # The kStuff lib used by IPRT and the debugger. if defined(IPRT_WITH_KSTUFF) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) include $(PATH_SUB_CURRENT)/kStuff/Makefile.kmk endif # OpenSSL. if !defined(VBOX_ONLY_SDK) \ && ( "$(SDK_VBOX_OPENSSL_INCS)" == "$(SDK_VBOX_OPENSSL_VBOX_DEFAULT_INCS)" \ || defined(VBOX_WITH_EXTPACK_PUEL_BUILD)) include $(PATH_SUB_CURRENT)/openssl-0.9.8p/Makefile.kmk endif # libjpeg for VRDP video redirection if defined(VBOX_WITH_VRDP) && defined(VBOX_WITH_VRDP_VIDEO_CHANNEL) include $(PATH_SUB_CURRENT)/jpeg-8a/Makefile.kmk endif # Main related things - XPCOM and XSLT. if defined(VBOX_WITH_MAIN) \ && !defined(VBOX_ONLY_EXTPACKS) \ && !defined(VBOX_ONLY_TESTSUITE) if defined(VBOX_WITH_XPCOM) && !defined(VBOX_ONLY_DOCS) include $(PATH_SUB_CURRENT)/xpcom18a4/Makefile.kmk endif ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22) include $(PATH_SUB_CURRENT)/libxslt-1.1.22/Makefile.kmk endif # FFmpeg for test videos. if defined(VBOX_WITH_FFMPEG) && !defined(VBOX_OSE) && !defined(VBOX_ONLY_DOCS) && !defined(VBOX_WITH_SDK) if1of ($(KBUILD_TARGET), darwin linux solaris) include $(PATH_SUB_CURRENT)/ffmpeg-20060710/Makefile.kmk endif endif endif if !defined(VBOX_ONLY_TESTSUITE) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include) include $(PATH_SUB_CURRENT)/libxml2-2.6.30/Makefile.kmk endif endif include $(KBUILD_PATH)/subfooter.kmk