Makefile.kmk revision 7fdd763c6c507adde17f4bd278b15891b8ebf568
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# $Id$
f78b12e570284aa8291f4ca1add24937fd107403vboxsync## @file
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Top-level makefile for the external libraries.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# available from http://www.virtualbox.org. This file is free software;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# you can redistribute it and/or modify it under the terms of the GNU
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# General Public License (GPL) as published by the Free Software
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# additional information or have any questions.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncDEPTH = ../..
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncinclude $(PATH_KBUILD)/header.kmk
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncsubdirs := liblzf-1.51 $(subdirs.$(KBUILD_TARGET))
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncifdef IPRT_WITH_KSTUFF
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += kStuff
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncendif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# @todo win and os2 need that even in OSE, all others should set proper *_INCS
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# values by the configure script
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifndef VBOX_OSE
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += zlib-1.2.1
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += libpng-1.2.8
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif # !VBOX_OSE
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncifdef VBOX_WITH_VRDP
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifeq ($(SDK_VBOX_OPENSSL_INCS),$(PATH_ROOT)/src/libs/openssl-0.9.7e/include)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += openssl-0.9.7e
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncendif
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncifdef VBOX_WITH_MAIN
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifdef VBOX_WITH_XPCOM
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += xpcom18a4
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync # Only build libxml2 if we don't use an external library.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += libxml2-2.6.30
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync # Only build libxslt if we don't use an external library.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += libxslt-1.1.22
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync # FFmpeg for test videos
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifdef VBOX_WITH_FFMPEG
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ifeq ($(KBUILD_TARGET),darwin)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync subdirs += ffmpeg-20060710
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncendif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# optimized walking
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs))
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_LIBRARIES = $(subdirs)
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs))
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_DLLS = $(filter xpcom18a4 ffmpeg-20060710,$(subdirs))
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs))
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_CLEAN = $(subdirs)
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS_NOTHING = $(subdirs)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncinclude $(PATH_KBUILD)/footer.kmk
f78b12e570284aa8291f4ca1add24937fd107403vboxsync