1 | # $Id: Makefile.kmk 6329 2008-01-10 15:27:39Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Folders Host Service testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 innotek GmbH
|
---|
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 | DEPTH ?= ../../../../..
|
---|
19 | SUB_DEPTH = ../..
|
---|
20 | include $(PATH_KBUILD)/subheader.kmk
|
---|
21 |
|
---|
22 | PROGRAMS += tstShflSizes
|
---|
23 | tstShflSizes_TEMPLATE = VBOXR3TSTEXE
|
---|
24 | tstShflSizes_DEFS = VBOX_HGCM
|
---|
25 | tstShflSizes_SOURCES = tstShflSizes.cpp
|
---|
26 | tstShflSizes_LIBS = $(LIB_RUNTIME)
|
---|
27 |
|
---|
28 | ifdef VBOX_WITH_TESTCASES
|
---|
29 | #
|
---|
30 | # Structure size testcase.
|
---|
31 | #
|
---|
32 | PROGRAMS += tstShflCase
|
---|
33 |
|
---|
34 | tstShflCase_TEMPLATE = VBOXR3TSTEXE
|
---|
35 | tstShflCase_DEFS = VBOX_HGCM
|
---|
36 | tstShflCase_SOURCES = tstShflCase.cpp
|
---|
37 | tstShflCase_LIBS = $(LIB_RUNTIME)
|
---|
38 |
|
---|
39 | endif # VBOX_WITH_TESTCASES
|
---|
40 |
|
---|
41 | ifeq ($(BUILD_TARGET),$(BUILD_PLATFORM))
|
---|
42 | ifeq ($(filter-out x86.x86 amd64.amd64 x86.amd64, $(BUILD_TARGET_ARCH).$(BUILD_PLATFORM_ARCH)),)
|
---|
43 | OTHERS += \
|
---|
44 | $(PATH_TARGET)/tstShflSizes.run
|
---|
45 | endif
|
---|
46 | endif
|
---|
47 |
|
---|
48 | OTHER_CLEAN += \
|
---|
49 | $(PATH_TARGET)/tstShflSizes.run
|
---|
50 |
|
---|
51 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
52 |
|
---|
53 | $(PATH_TARGET)/tstShflSizes.run: $(INSTARGET_tstShflSizes)
|
---|
54 | $(QUIET)$(RM) -f $@
|
---|
55 | $(INSTARGET_tstShflSizes) quiet
|
---|
56 | $(QUIET)$(APPEND) "$@" "done"
|
---|
57 |
|
---|