VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/usb/Makefile.kmk@ 95433

Last change on this file since 95433 was 95259, checked in by vboxsync, 3 years ago

src/*.kmk: Applied VBOX_WITH_AUTOMATIC_DEFS_QUOTING to some 9 makefiles where it was missing.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 95259 2022-06-13 15:32:38Z vboxsync $
2## @file
3# VirtualBox Validation Kit - USB test helpers.
4#
5
6#
7# Copyright (C) 2014-2022 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# The contents of this file may alternatively be used under the terms
18# of the Common Development and Distribution License Version 1.0
19# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20# VirtualBox OSE distribution, in which case the provisions of the
21# CDDL are applicable instead of those of the GPL.
22#
23# You may elect to license modified versions of this file under the
24# terms and conditions of either the GPL or the CDDL or both.
25#
26
27SUB_DEPTH = ../../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30#
31# USB Linux test frontend.
32#
33ifeq ($(KBUILD_TARGET),linux)
34 PROGRAMS += UsbTest
35 UsbTest_TEMPLATE = VBoxValidationKitR3
36 UsbTest_SOURCES = UsbTest.cpp
37endif
38
39PROGRAMS += UsbTestService
40UsbTestService_TEMPLATE = VBoxValidationKitR3
41ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
42 UsbTestService_DEFS = \
43 KBUILD_TARGET="$(KBUILD_TARGET)" \
44 KBUILD_TARGET_ARCH="$(KBUILD_TARGET_ARCH)"
45else
46 UsbTestService_DEFS = \
47 KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
48 KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
49endif
50UsbTestService_SOURCES = \
51 UsbTestService.cpp \
52 UsbTestServiceGadgetCfg.cpp \
53 UsbTestServiceGadgetClassTest.cpp \
54 UsbTestServiceGadgetHost.cpp \
55 UsbTestServiceGadgetHostUsbIp.cpp \
56 UsbTestServiceGadget.cpp \
57 UsbTestServiceProtocol.cpp \
58 UsbTestServiceTcp.cpp
59UsbTestService_SOURCES.linux = \
60 UsbTestServicePlatform-linux.cpp
61
62$(evalcall def_vbox_validationkit_process_python_sources)
63include $(FILE_KBUILD_SUB_FOOTER)
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