1 | # $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Folders Host Service testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Oracle Corporation
|
---|
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 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # Structure size testcase.
|
---|
23 | #
|
---|
24 | PROGRAMS += tstShflSizes
|
---|
25 | TESTING += $(PATH_tstShflSizes)/tstShflSizes.run
|
---|
26 | ifndef VBOX_ONLY_SDK
|
---|
27 | ifeq ($(KBUILD_TARGET),$(KBUILD_HOST))
|
---|
28 | if1of ($(KBUILD_TARGET_ARCH).$(KBUILD_HOST_ARCH), x86.x86 amd64.amd64 x86.amd64)
|
---|
29 | OTHERS += $(PATH_tstShflSizes)/tstShflSizes.run
|
---|
30 | endif
|
---|
31 | endif
|
---|
32 | endif
|
---|
33 | tstShflSizes_TEMPLATE = VBOXR3AUTOTST
|
---|
34 | tstShflSizes_DEFS = VBOX_WITH_HGCM
|
---|
35 | tstShflSizes_SOURCES = tstShflSizes.cpp
|
---|
36 | tstShflSizes_CLEAN = $(PATH_tstShflSizes)/tstShflSizes.run
|
---|
37 |
|
---|
38 | $$(PATH_tstShflSizes)/tstShflSizes.run: $$(INSTARGET_tstShflSizes)
|
---|
39 | $(INSTARGET_tstShflSizes) quiet
|
---|
40 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
41 |
|
---|
42 |
|
---|
43 | ifdef VBOX_WITH_TESTCASES
|
---|
44 | #
|
---|
45 | # Case conversion testcase.
|
---|
46 | #
|
---|
47 | PROGRAMS += tstShflCase
|
---|
48 | tstShflCase_TEMPLATE = VBOXR3TSTEXE
|
---|
49 | tstShflCase_DEFS = VBOX_WITH_HGCM
|
---|
50 | tstShflCase_SOURCES = tstShflCase.cpp
|
---|
51 | tstShflCase_LIBS = $(LIB_RUNTIME)
|
---|
52 |
|
---|
53 | endif # VBOX_WITH_TESTCASES
|
---|
54 |
|
---|
55 |
|
---|
56 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
57 |
|
---|