1 | # $Id: Makefile.kmk 2981 2007-06-01 16:01:28Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for the external libraries.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 innotek GmbH
|
---|
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 as published by the Free Software Foundation,
|
---|
13 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
14 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
15 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # If you received this file as part of a commercial VirtualBox
|
---|
18 | # distribution, then only the terms of your commercial VirtualBox
|
---|
19 | # license agreement apply instead of the previous paragraph.
|
---|
20 | #
|
---|
21 |
|
---|
22 | DEPTH = ../..
|
---|
23 | include $(PATH_KBUILD)/header.kmk
|
---|
24 |
|
---|
25 |
|
---|
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 | # FFmpeg for test videos
|
---|
53 | ifdef VBOX_WITH_FFMPEG
|
---|
54 | ifeq ($(BUILD_TARGET),darwin)
|
---|
55 | subdirs += ffmpeg-20060710
|
---|
56 | endif
|
---|
57 | endif
|
---|
58 | endif
|
---|
59 |
|
---|
60 | # optimized walking
|
---|
61 | SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
|
---|
62 | SUBDIRS_LIBRARIES = $(subdirs)
|
---|
63 | SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
|
---|
64 | SUBDIRS_DLLS = $(filter xpcom18a4 ffmpeg-20060710,$(subdirs))
|
---|
65 | SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
|
---|
66 | SUBDIRS_CLEAN = $(subdirs)
|
---|
67 | SUBDIRS_NOTHING = $(subdirs)
|
---|
68 |
|
---|
69 | include $(PATH_KBUILD)/footer.kmk
|
---|