Makefile.kmk revision e54483d7177df3e3bd541b5c0ec4f0a55584b1da
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# Sub-Makefile for the common guest addition code library.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# available from http://www.virtualbox.org. This file is free software;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# you can redistribute it and/or modify it under the terms of the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# General Public License (GPL) as published by the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# additional information or have any questions.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsyncSUB_DEPTH = ../../../../..
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# Target config.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLIBRARIES += \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync VBoxGuestR0Lib \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync VBoxGuestR0LibBase
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLIBRARIES += \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync VBoxGuestR3Lib \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync VBoxGuestR3LibShared
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncif1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LIBRARIES += \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync VBoxGuestR3LibXFree86
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncifndef VBOX_WITH_ADDITION_DRIVERS
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LIBRARIES := $(filter-out VBoxGuestR0Lib VBoxGuestR0LibBase, $(LIBRARIES))
Init.cpp \
HGCM.cpp \
Init.cpp \
$(if $(VBOX_WITH_GUEST_PROPS),VBoxGuestR3LibGuestProp.cpp,) \
ifeq ($(KBUILD_TARGET),win) ## @todo get rid of this hack (as soon as it's all implemented / #defined).
$(if $(VBOX_WITH_GUEST_PROPS),VBoxGuestR3LibGuestProp.cpp,) \
$(if $(VBOX_WITH_GUEST_PROPS),VBoxGuestR3LibGuestProp.cpp,) \
$(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/common/ \
$(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/os-support \
$(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/include \
$(VBOX_PATH_X11_XFREE_4_2)/exports/include/X11
include $(KBUILD_PATH)/subfooter.kmk