VirtualBox

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

Last change on this file since 78555 was 78325, checked in by vboxsync, 6 years ago

libs/openssl-1.1.1b: fix two mistakes and re-enable.
bugref:9431: Update OpenSSL to 1.1.1b.
Fix a copy-and-paste error in a make file which did not break the Linux
build and add a missing define for 32-bit builds, which also failed to break
Linux.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1# $Id: Makefile.kmk 78325 2019-04-26 13:43:56Z vboxsync $
2## @file
3# Top-level makefile for the external libraries.
4#
5
6#
7# Copyright (C) 2006-2019 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.11"
31 include $(PATH_SUB_CURRENT)/zlib-1.2.11/Makefile.kmk
32endif
33
34# PNG support (for screenshots).
35if !defined(VBOX_ONLY_ADDITIONS) \
36 && !defined(VBOX_ONLY_DOCS) \
37 && !defined(VBOX_ONLY_SDK) \
38 && !defined(VBOX_ONLY_VALIDATIONKIT) \
39 && "$(SDK_VBOX_LIBPNG_INCS)" == "$(PATH_ROOT)/src/libs/libpng-1.6.36"
40 include $(PATH_SUB_CURRENT)/libpng-1.6.36/Makefile.kmk
41endif # !VBOX_ONLY_DOCS
42
43# Libcurl for inet access
44if defined(VBOX_WITH_LIBCURL) \
45 && !defined(VBOX_ONLY_ADDITIONS) \
46 && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) \
47 && !defined(VBOX_ONLY_SDK) \
48 && !defined(VBOX_ONLY_VALIDATIONKIT) \
49 && "$(SDK_VBOX_LIBCURL_INCS)" == "$(PATH_ROOT)/src/libs/curl-7.64.0/include"
50 include $(PATH_SUB_CURRENT)/curl-7.64.0/Makefile.kmk
51endif
52
53# OpenSSL.
54if !defined(VBOX_ONLY_SDK) \
55 && (!defined(VBOX_ONLY_ADDITIONS) || !defined(VBOX_ONLY_ADDITIONS_WITHOUT_RTISOMAKER)) \
56 && (!defined(VBOX_ONLY_EXTPACKS) || defined(VBOX_NEED_EXTPACK_OPENSSL) || !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS)) \
57 && ("$(SDK_VBOX_OPENSSL_INCS)" == "$(SDK_VBOX_OPENSSL_VBOX_DEFAULT_INCS)" || defined(VBOX_NEED_EXTPACK_OPENSSL))
58 include $(PATH_SUB_CURRENT)/openssl-1.1.1b/Makefile.kmk
59endif
60
61# libjpeg for VRDP video redirection and ExtPack's DrvHostWebcam
62if (defined(VBOX_WITH_VRDP) || defined(VBOX_WITH_EXTPACK_PUEL)) \
63 && !defined(VBOX_ONLY_ADDITIONS)
64 include $(PATH_SUB_CURRENT)/jpeg-9b/Makefile.kmk
65endif
66
67# Main related things - XPCOM and XSLT.
68if defined(VBOX_WITH_MAIN) \
69 && !defined(VBOX_ONLY_ADDITIONS) \
70 && !defined(VBOX_ONLY_VALIDATIONKIT)
71
72 if defined(VBOX_WITH_XPCOM) && !defined(VBOX_ONLY_DOCS)
73 include $(PATH_SUB_CURRENT)/xpcom18a4/Makefile.kmk
74 endif
75
76 # VPX for video capture.
77 if defined(VBOX_WITH_LIBVPX) && !defined(VBOX_ONLY_DOCS) && !defined(VBOX_WITH_SDK) && !defined(VBOX_ONLY_EXTPACKS) \
78 && ("$(SDK_VBOX_VPX_INCS)" == "$(SDK_VBOX_VPX_DEFAULT_INCS)")
79 include $(PATH_SUB_CURRENT)/libvpx-1.6.1/Makefile.kmk
80 endif
81
82 # Opus for supporting audio when doing video capturing.
83 if defined(VBOX_WITH_LIBOPUS) && !defined(VBOX_ONLY_DOCS) && !defined(VBOX_WITH_SDK) && !defined(VBOX_ONLY_EXTPACKS) \
84 && ("$(SDK_VBOX_OPUS_INCS)" == "$(SDK_VBOX_OPUS_DEFAULT_INCS)")
85 include $(PATH_SUB_CURRENT)/libopus-1.2.1/Makefile.kmk
86 endif
87
88endif
89
90if !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) \
91 && !defined(VBOX_ONLY_ADDITIONS)
92 ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.9.4/include)
93 include $(PATH_SUB_CURRENT)/libxml2-2.9.4/Makefile.kmk
94 endif
95endif
96
97include $(FILE_KBUILD_SUB_FOOTER)
98
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