# $Id: Makefile.kmk 14233 2008-11-17 07:32:42Z vboxsync $ ## @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 ../VBoxControlSVN.cpp tstVBoxControl_LIBS = $(LIB_RUNTIME) tstVBoxControl_DEFS += \ $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS VBOX_WITH_HGCM,) # VBoxControlSVN.cpp uses VBOX_SVN_REV. tstVBoxControl_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV) tstVBoxControl_DEPS = $(VBOX_SVN_REV_KMK) endif # VBOX_WITH_TESTCASES include $(KBUILD_PATH)/subfooter.kmk