1 | #
|
---|
2 | # Top-level makefile for the external libraries.
|
---|
3 | #
|
---|
4 |
|
---|
5 | #
|
---|
6 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
7 | #
|
---|
8 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | # available from http://www.virtualbox.org. This file is free software;
|
---|
10 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | # General Public License as published by the Free Software Foundation,
|
---|
12 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | #
|
---|
16 | # If you received this file as part of a commercial VirtualBox
|
---|
17 | # distribution, then only the terms of your commercial VirtualBox
|
---|
18 | # license agreement apply instead of the previous paragraph.
|
---|
19 | #
|
---|
20 |
|
---|
21 | DEPTH = ../..
|
---|
22 | include $(PATH_KBUILD)/header.kmk
|
---|
23 |
|
---|
24 |
|
---|
25 | subdirs := liblzf-1.51 $(subdirs.$(BUILD_TARGET))
|
---|
26 | ifndef VBOX_OSE
|
---|
27 | ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
|
---|
28 | subdirs += zlib-1.2.1 libpng-1.2.8
|
---|
29 | endif
|
---|
30 | ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
|
---|
31 | subdirs += libpng-1.2.8
|
---|
32 | endif
|
---|
33 | endif
|
---|
34 | ifdef VBOX_WITH_VRDP
|
---|
35 | ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.7e/include)
|
---|
36 | subdirs += openssl-0.9.7e
|
---|
37 | endif
|
---|
38 | endif
|
---|
39 | ifdef VBOX_WITH_MAIN
|
---|
40 | ifdef VBOX_WITH_XPCOM
|
---|
41 | subdirs += xpcom18a4
|
---|
42 | endif
|
---|
43 | # Only build xerces if we don't use an external library.
|
---|
44 | ifeq ($(SDK_VBOX_XERCES_INCS),$(PATH_ROOT)/src/libs/xerces-2.6.0/src)
|
---|
45 | subdirs += xerces-2.6.0
|
---|
46 | endif
|
---|
47 | # Only build xalan if we don't use an external library.
|
---|
48 | ifeq ($(SDK_VBOX_XALAN_INCS),$(PATH_ROOT)/src/libs/xalan-1.10.0)
|
---|
49 | subdirs += xalan-1.10.0
|
---|
50 | endif
|
---|
51 | endif
|
---|
52 |
|
---|
53 | # optimized walking
|
---|
54 | SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
|
---|
55 | SUBDIRS_LIBRARIES = $(subdirs)
|
---|
56 | SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
|
---|
57 | SUBDIRS_DLLS = $(filter xpcom18a4,$(subdirs))
|
---|
58 | SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
|
---|
59 | SUBDIRS_CLEAN = $(subdirs)
|
---|
60 | SUBDIRS_NOTHING = $(subdirs)
|
---|
61 |
|
---|
62 | include $(PATH_KBUILD)/footer.kmk
|
---|