VirtualBox

source: vbox/trunk/src/libs/Makefile.kmk@ 9325

Last change on this file since 9325 was 9325, checked in by vboxsync, 17 years ago

windows not yet

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Makefile.kmk 9325 2008-06-02 20:38:21Z vboxsync $
2## @file
3# Top-level makefile for the external libraries.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22DEPTH = ../..
23include $(KBUILD_PATH)/header.kmk
24
25
26subdirs := liblzf-1.51 $(subdirs.$(KBUILD_TARGET))
27ifdef IPRT_WITH_KSTUFF
28 subdirs += kStuff
29endif
30# @todo win and os2 need that even in OSE, all others should set proper *_INCS
31# values by the configure script
32#ifndef VBOX_OSE
33 ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
34 subdirs += zlib-1.2.1
35 endif
36 ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
37 subdirs += libpng-1.2.8
38 endif
39#endif # !VBOX_OSE
40ifdef VBOX_WITH_VRDP
41 if1of ($(KBUILD_TARGET),linux solaris darwin)
42 ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.8h/include)
43 subdirs += openssl-0.9.8h
44 endif
45 else
46 ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.7e/include)
47 subdirs += openssl-0.9.7e
48 endif
49 endif
50endif
51ifdef VBOX_WITH_MAIN
52 ifdef VBOX_WITH_XPCOM
53 subdirs += xpcom18a4
54 endif
55 # Only build libxml2 if we don't use an external library.
56 ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include)
57 subdirs += libxml2-2.6.30
58 endif
59 # Only build libxslt if we don't use an external library.
60 ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22)
61 subdirs += libxslt-1.1.22
62 endif
63 # FFmpeg for test videos
64 ifdef VBOX_WITH_FFMPEG
65 ifeq ($(KBUILD_TARGET),darwin)
66 subdirs += ffmpeg-20060710
67 endif
68 endif
69endif
70
71# optimized walking
72SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
73SUBDIRS_LIBRARIES = $(subdirs)
74SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
75SUBDIRS_DLLS = $(filter xpcom18a4 ffmpeg-20060710,$(subdirs))
76SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
77SUBDIRS_CLEAN = $(subdirs)
78SUBDIRS_NOTHING = $(subdirs)
79
80include $(KBUILD_PATH)/footer.kmk
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette