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.l4 = libuuid ## @todo Use uuid-generic.cpp !
|
---|
26 | subdirs := liblzf-1.51 $(subdirs.$(BUILD_TARGET))
|
---|
27 | ifndef VBOX_OSE
|
---|
28 | ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
|
---|
29 | subdirs += zlib-1.2.1 libpng-1.2.8
|
---|
30 | endif
|
---|
31 | ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
|
---|
32 | subdirs += libpng-1.2.8
|
---|
33 | endif
|
---|
34 | endif
|
---|
35 | ifdef VBOX_WITH_VRDP
|
---|
36 | ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.7e/include)
|
---|
37 | subdirs += openssl-0.9.7e
|
---|
38 | endif
|
---|
39 | endif
|
---|
40 | ifdef VBOX_WITH_MAIN
|
---|
41 | ifdef VBOX_WITH_XPCOM
|
---|
42 | subdirs += xpcom18a4
|
---|
43 | endif
|
---|
44 | # Only build xerces if we don't use an external library.
|
---|
45 | ifeq ($(SDK_VBOX_XERCES_INCS),$(PATH_ROOT)/src/libs/xerces-2.6.0/src)
|
---|
46 | subdirs += xerces-2.6.0
|
---|
47 | endif
|
---|
48 | # Only build xalan if we don't use an external library.
|
---|
49 | ifeq ($(SDK_VBOX_XALAN_INCS),$(PATH_ROOT)/src/libs/xalan-1.10.0)
|
---|
50 | subdirs += xalan-1.10.0
|
---|
51 | endif
|
---|
52 | endif
|
---|
53 |
|
---|
54 | # optimized walking
|
---|
55 | SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
|
---|
56 | SUBDIRS_LIBRARIES = $(subdirs)
|
---|
57 | SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
|
---|
58 | SUBDIRS_DLLS = $(filter xpcom18a4,$(subdirs))
|
---|
59 | SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
|
---|
60 | SUBDIRS_CLEAN = $(subdirs)
|
---|
61 | SUBDIRS_NOTHING = $(subdirs)
|
---|
62 |
|
---|
63 | include $(PATH_KBUILD)/footer.kmk
|
---|