Makefile.kmk revision a5b0b691c49d35639207d4539753eaebf3f05275
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# $Id$
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync## @file
5b70201b19671de724afb22863f2043cd2b271efvboxsync# Sub-Makefile for the Guest Properties Host Service testcases.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# available from http://www.virtualbox.org. This file is free software;
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# you can redistribute it and/or modify it under the terms of the GNU
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# General Public License (GPL) as published by the Free Software
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# additional information or have any questions.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
b143a7b913cb5c0e5e449f802dc1134b23e2eacavboxsyncSUB_DEPTH = ../../../../..
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsyncifdef VBOX_WITH_TESTCASES
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# Case conversion testcase.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsyncPROGRAMS += tstGuestPropSvc
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsynctstGuestPropSvc_TEMPLATE = VBOXR3TSTEXE
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync# The second define here is to ensure that the testcase will run fast, without
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync# waiting for any thread synchronisation.
a5b0b691c49d35639207d4539753eaebf3f05275vboxsynctstGuestPropSvc_DEFS = VBOX_WITH_HGCM VBOX_GUEST_PROP_TEST_NOTHREAD
a5b0b691c49d35639207d4539753eaebf3f05275vboxsynctstGuestPropSvc_SOURCES = tstGuestPropSvc.cpp ../service.cpp
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsynctstGuestPropSvc_LIBS = $(LIB_RUNTIME)
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync# Set this in LocalConfig.kmk if you are working on the guest property service
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync# to automatically run the testcase at build time.
a5b0b691c49d35639207d4539753eaebf3f05275vboxsyncifdef VBOX_RUN_GUEST_PROPERTY_TEST
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync ifndef VBOX_ONLY_SDK
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync TESTING += $(PATH_tstGuestPropSvc)/tstGuestPropSvc.run
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync OTHERS += $(PATH_tstGuestPropSvc)/tstGuestPropSvc.run
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync$$(PATH_tstGuestPropSvc)/tstGuestPropSvc.run: $$(INSTARGET_tstGuestPropSvc)
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync $(INSTARGET_tstGuestPropSvc) quiet
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync $(QUIET)$(APPEND) -t "$@" "done"
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync endif
a5b0b691c49d35639207d4539753eaebf3f05275vboxsyncendif
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsyncendif # VBOX_WITH_TESTCASES
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync