1 | # $Id: Makefile.kmk 9462 2008-06-06 11:28:35Z 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 |
|
---|
22 | DEPTH ?= ../../../../..
|
---|
23 | SUB_DEPTH = ../..
|
---|
24 | include $(KBUILD_PATH)/subheader.kmk
|
---|
25 |
|
---|
26 | PROGRAMS += tstShflSizes
|
---|
27 | tstShflSizes_TEMPLATE = VBOXR3TSTEXE
|
---|
28 | tstShflSizes_DEFS = VBOX_HGCM
|
---|
29 | tstShflSizes_SOURCES = tstShflSizes.cpp
|
---|
30 | tstShflSizes_LIBS = $(LIB_RUNTIME)
|
---|
31 |
|
---|
32 | ifdef VBOX_WITH_TESTCASES
|
---|
33 | #
|
---|
34 | # Structure size testcase.
|
---|
35 | #
|
---|
36 | PROGRAMS += tstShflCase
|
---|
37 |
|
---|
38 | tstShflCase_TEMPLATE = VBOXR3TSTEXE
|
---|
39 | tstShflCase_DEFS = VBOX_HGCM
|
---|
40 | tstShflCase_SOURCES = tstShflCase.cpp
|
---|
41 | tstShflCase_LIBS = $(LIB_RUNTIME)
|
---|
42 |
|
---|
43 | endif # VBOX_WITH_TESTCASES
|
---|
44 |
|
---|
45 | ifeq ($(KBUILD_TARGET),$(KBUILD_HOST))
|
---|
46 | ifeq ($(filter-out x86.x86 amd64.amd64 x86.amd64, $(KBUILD_TARGET_ARCH).$(KBUILD_HOST_ARCH)),)
|
---|
47 | OTHERS += \
|
---|
48 | $(PATH_TARGET)/tstShflSizes.run
|
---|
49 | endif
|
---|
50 | endif
|
---|
51 |
|
---|
52 | TESTING += \
|
---|
53 | $(PATH_TARGET)/tstShflSizes.run
|
---|
54 |
|
---|
55 | OTHER_CLEAN += \
|
---|
56 | $(PATH_TARGET)/tstShflSizes.run
|
---|
57 |
|
---|
58 | include $(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 |
|
---|