1 | # $Id: Makefile.kmk 6361 2008-01-15 22:39:01Z 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 (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | DEPTH = ../..
|
---|
19 | include $(PATH_KBUILD)/header.kmk
|
---|
20 |
|
---|
21 |
|
---|
22 | subdirs := liblzf-1.51 $(subdirs.$(BUILD_TARGET))
|
---|
23 | ifdef IPRT_WITH_KSTUFF
|
---|
24 | subdirs += kStuff
|
---|
25 | endif
|
---|
26 | # @todo win and os2 need that even in OSE, all others should set proper *_INCS
|
---|
27 | # values by the configure script
|
---|
28 | #ifndef VBOX_OSE
|
---|
29 | ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
|
---|
30 | subdirs += zlib-1.2.1
|
---|
31 | endif
|
---|
32 | ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
|
---|
33 | subdirs += libpng-1.2.8
|
---|
34 | endif
|
---|
35 | #endif # !VBOX_OSE
|
---|
36 | ifdef VBOX_WITH_VRDP
|
---|
37 | ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.7e/include)
|
---|
38 | subdirs += openssl-0.9.7e
|
---|
39 | endif
|
---|
40 | endif
|
---|
41 | ifdef VBOX_WITH_MAIN
|
---|
42 | ifdef VBOX_WITH_XPCOM
|
---|
43 | subdirs += xpcom18a4
|
---|
44 | endif
|
---|
45 | # Only build libxml2 if we don't use an external library.
|
---|
46 | ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include)
|
---|
47 | subdirs += libxml2-2.6.30
|
---|
48 | endif
|
---|
49 | # FFmpeg for test videos
|
---|
50 | ifdef VBOX_WITH_FFMPEG
|
---|
51 | ifeq ($(BUILD_TARGET),darwin)
|
---|
52 | subdirs += ffmpeg-20060710
|
---|
53 | endif
|
---|
54 | endif
|
---|
55 | endif
|
---|
56 |
|
---|
57 | # optimized walking
|
---|
58 | SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
|
---|
59 | SUBDIRS_LIBRARIES = $(subdirs)
|
---|
60 | SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
|
---|
61 | SUBDIRS_DLLS = $(filter xpcom18a4 ffmpeg-20060710,$(subdirs))
|
---|
62 | SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
|
---|
63 | SUBDIRS_CLEAN = $(subdirs)
|
---|
64 | SUBDIRS_NOTHING = $(subdirs)
|
---|
65 |
|
---|
66 | include $(PATH_KBUILD)/footer.kmk
|
---|