Makefile.kmk revision 8d43244aa3d322f7807a4b0488f1038dd2595dc1
# $Id$
## @file
# Sub-Makefile for the VBoxControl testcases.
#
#
# Copyright (C) 2006-2007 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 USA or visit http://www.sun.com if you need
# additional information or have any questions.
#
SUB_DEPTH = ../../../../../..
include $(KBUILD_PATH)/subheader.kmk
if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS)
#
# Dummy CLI testcase.
#
PROGRAMS += tstVBoxControl
tstVBoxControl_TEMPLATE = VBOXR3TSTEXE
tstVBoxControl_DEFS = VBOX_CONTROL_TEST
tstVBoxControl_SOURCES = tstVBoxControl.cpp ../VBoxControl.cpp
tstVBoxControl_LIBS = $(LIB_RUNTIME)
tstVBoxControl_DEFS += \
$(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS VBOX_WITH_HGCM,)
endif # VBOX_WITH_TESTCASES
include $(KBUILD_PATH)/subfooter.kmk