VirtualBox

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

Last change on this file since 8985 was 8760, checked in by vboxsync, 17 years ago

PATH_KBUILD -> KBUILD_PATH.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Makefile.kmk 8760 2008-05-11 18:39:30Z 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
22DEPTH ?= ../../../../..
23SUB_DEPTH = ../..
24include $(KBUILD_PATH)/subheader.kmk
25
26PROGRAMS += tstShflSizes
27tstShflSizes_TEMPLATE = VBOXR3TSTEXE
28tstShflSizes_DEFS = VBOX_HGCM
29tstShflSizes_SOURCES = tstShflSizes.cpp
30tstShflSizes_LIBS = $(LIB_RUNTIME)
31
32ifdef VBOX_WITH_TESTCASES
33#
34# Structure size testcase.
35#
36PROGRAMS += tstShflCase
37
38tstShflCase_TEMPLATE = VBOXR3TSTEXE
39tstShflCase_DEFS = VBOX_HGCM
40tstShflCase_SOURCES = tstShflCase.cpp
41tstShflCase_LIBS = $(LIB_RUNTIME)
42
43endif # VBOX_WITH_TESTCASES
44
45ifeq ($(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
50endif
51
52OTHER_CLEAN += \
53 $(PATH_TARGET)/tstShflSizes.run
54
55include $(KBUILD_PATH)/subfooter.kmk
56
57$(PATH_TARGET)/tstShflSizes.run: $(INSTARGET_tstShflSizes)
58 $(QUIET)$(RM) -f $@
59 $(INSTARGET_tstShflSizes) quiet
60 $(QUIET)$(APPEND) "$@" "done"
61
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