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