VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedFolders/testcase/Makefile.kmk@ 11733

Last change on this file since 11733 was 11733, checked in by vboxsync, 16 years ago

Made the automatic build tests no depend on VBoxRT.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Makefile.kmk 11733 2008-08-28 00:47:02Z vboxsync $
2## @file
3# Sub-Makefile for the Shared Folders Host Service testcases.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22ifdef VBOX_KBUILD_HACKING
23SUB_DEPTH = ../../../..
24else
25DEPTH ?= ../../../..
26SUB_DEPTH = ..
27endif
28include $(KBUILD_PATH)/subheader.kmk
29
30PROGRAMS += tstShflSizes
31TESTING += $(PATH_TARGET)/tstShflSizes.run
32tstShflSizes_TEMPLATE = VBOXR3AUTOTST
33tstShflSizes_DEFS = VBOX_HGCM
34tstShflSizes_SOURCES = tstShflSizes.cpp
35
36ifdef VBOX_WITH_TESTCASES
37#
38# Structure size testcase.
39#
40PROGRAMS += tstShflCase
41
42tstShflCase_TEMPLATE = VBOXR3TSTEXE
43tstShflCase_DEFS = VBOX_HGCM
44tstShflCase_SOURCES = tstShflCase.cpp
45tstShflCase_LIBS = $(LIB_RUNTIME)
46tstShflCase_CLEAN = $(PATH_TARGET)/tstShflSizes.run
47
48endif # VBOX_WITH_TESTCASES
49
50ifndef VBOX_ONLY_SDK
51 ifeq ($(KBUILD_TARGET),$(KBUILD_HOST))
52 if1of ($(KBUILD_TARGET_ARCH).$(KBUILD_HOST_ARCH), x86.x86 amd64.amd64 x86.amd64)
53 OTHERS += $(PATH_TARGET)/tstShflSizes.run
54 endif
55 endif
56endif
57
58include $(KBUILD_PATH)/subfooter.kmk
59
60$(PATH_TARGET)/tstShflSizes.run: $$(INSTARGET_tstShflSizes)
61 $(QUIET)$(RM) -f $@
62 $(INSTARGET_tstShflSizes) quiet
63 $(QUIET)$(APPEND) "$@" "done"
64
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette