VirtualBox

source: vbox/trunk/src/libs/Makefile.kmk@ 45907

Last change on this file since 45907 was 45772, checked in by vboxsync, 12 years ago

VPX: allow to build against libvpx provided by the build system

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1# $Id: Makefile.kmk 45772 2013-04-26 11:58:45Z vboxsync $
2## @file
3# Top-level makefile for the external libraries.
4#
5
6#
7# Copyright (C) 2006-2013 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# Note! A number of the libs may be detected on the host system by the configure script.
23# The usual way for testing for this is to see whether the Config.kmk default
24# include path specific to the lib has been changed.
25#
26
27# Compression libs used by IPRT and <what was it again?>.
28include $(PATH_SUB_CURRENT)/liblzf-3.4/Makefile.kmk
29if !defined(VBOX_ONLY_SDK) \
30 && "$(SDK_VBOX_ZLIB_INCS)" == "$(PATH_ROOT)/src/libs/zlib-1.2.6"
31 include $(PATH_SUB_CURRENT)/zlib-1.2.6/Makefile.kmk
32endif
33
34# PNG support (for screenshots).
35if !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_TESTSUITE) \
36 && "$(SDK_VBOX_LIBPNG_INCS)" == "$(PATH_ROOT)/src/libs/libpng-1.2.8"
37 include $(PATH_SUB_CURRENT)/libpng-1.2.8/Makefile.kmk
38endif # !VBOX_ONLY_DOCS
39
40# Libcurl for inet access
41if defined(VBOX_WITH_LIBCURL) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) && !defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_TESTSUITE) \
42 && "$(SDK_VBOX_LIBCURL_INCS)" == "$(PATH_ROOT)/src/libs/curl-7.27.0/include"
43 include $(PATH_SUB_CURRENT)/curl-7.27.0/Makefile.kmk
44endif
45
46# The kStuff lib used by IPRT and the debugger.
47if defined(IPRT_WITH_KSTUFF)
48 include $(PATH_SUB_CURRENT)/kStuff/Makefile.kmk
49endif
50
51# OpenSSL.
52if !defined(VBOX_ONLY_SDK) \
53 && ( "$(SDK_VBOX_OPENSSL_INCS)" == "$(SDK_VBOX_OPENSSL_VBOX_DEFAULT_INCS)" \
54 || defined(VBOX_WITH_EXTPACK_PUEL_BUILD))
55 include $(PATH_SUB_CURRENT)/openssl-0.9.8y/Makefile.kmk
56endif
57
58# libjpeg for VRDP video redirection
59if defined(VBOX_WITH_VRDP)
60 include $(PATH_SUB_CURRENT)/jpeg-8a/Makefile.kmk
61endif
62
63# Main related things - XPCOM and XSLT.
64if defined(VBOX_WITH_MAIN) \
65 && !defined(VBOX_ONLY_EXTPACKS) \
66 && !defined(VBOX_ONLY_TESTSUITE)
67 if defined(VBOX_WITH_XPCOM) && !defined(VBOX_ONLY_DOCS)
68 include $(PATH_SUB_CURRENT)/xpcom18a4/Makefile.kmk
69 endif
70
71 # VP8 for video capture
72 if defined(VBOX_WITH_VPX) && !defined(VBOX_ONLY_DOCS) && !defined(VBOX_WITH_SDK) \
73 && ("$(SDK_VBOX_VPX_INCS)" == "$(SDK_VBOX_VPX_DEFAULT_INCS)")
74 if1of ($(KBUILD_TARGET), darwin linux solaris win)
75 include $(PATH_SUB_CURRENT)/libvpx/Makefile.kmk
76 endif
77 endif
78endif
79
80if !defined(VBOX_ONLY_TESTSUITE) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS)
81 ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.31/include)
82 include $(PATH_SUB_CURRENT)/libxml2-2.6.31/Makefile.kmk
83 endif
84endif
85
86include $(FILE_KBUILD_SUB_FOOTER)
87
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette