1 | # $Id: Makefile.kmk 4071 2007-08-07 17:07:59Z 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 | DEPTH = ../..
|
---|
18 | include $(PATH_KBUILD)/header.kmk
|
---|
19 |
|
---|
20 |
|
---|
21 | subdirs := liblzf-1.51 $(subdirs.$(BUILD_TARGET))
|
---|
22 | ifndef VBOX_OSE
|
---|
23 | ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
|
---|
24 | subdirs += zlib-1.2.1 libpng-1.2.8
|
---|
25 | endif
|
---|
26 | ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
|
---|
27 | subdirs += libpng-1.2.8
|
---|
28 | endif
|
---|
29 | endif
|
---|
30 | ifdef VBOX_WITH_VRDP
|
---|
31 | ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.7e/include)
|
---|
32 | subdirs += openssl-0.9.7e
|
---|
33 | endif
|
---|
34 | endif
|
---|
35 | ifdef VBOX_WITH_MAIN
|
---|
36 | ifdef VBOX_WITH_XPCOM
|
---|
37 | subdirs += xpcom18a4
|
---|
38 | endif
|
---|
39 | # Only build xerces if we don't use an external library.
|
---|
40 | ifeq ($(SDK_VBOX_XERCES_INCS),$(PATH_ROOT)/src/libs/xerces-2.6.0/src)
|
---|
41 | subdirs += xerces-2.6.0
|
---|
42 | endif
|
---|
43 | # Only build xalan if we don't use an external library.
|
---|
44 | ifeq ($(SDK_VBOX_XALAN_INCS),$(PATH_ROOT)/src/libs/xalan-1.10.0)
|
---|
45 | subdirs += xalan-1.10.0
|
---|
46 | endif
|
---|
47 | # FFmpeg for test videos
|
---|
48 | ifdef VBOX_WITH_FFMPEG
|
---|
49 | ifeq ($(BUILD_TARGET),darwin)
|
---|
50 | subdirs += ffmpeg-20060710
|
---|
51 | endif
|
---|
52 | endif
|
---|
53 | endif
|
---|
54 |
|
---|
55 | # optimized walking
|
---|
56 | SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
|
---|
57 | SUBDIRS_LIBRARIES = $(subdirs)
|
---|
58 | SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
|
---|
59 | SUBDIRS_DLLS = $(filter xpcom18a4 ffmpeg-20060710,$(subdirs))
|
---|
60 | SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
|
---|
61 | SUBDIRS_CLEAN = $(subdirs)
|
---|
62 | SUBDIRS_NOTHING = $(subdirs)
|
---|
63 |
|
---|
64 | include $(PATH_KBUILD)/footer.kmk
|
---|