1 | # $Id: Makefile.kmk 93115 2022-01-01 11:31:46Z 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 |
|
---|
27 | SUB_DEPTH = ../../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | #
|
---|
31 | # USB Linux test frontend.
|
---|
32 | #
|
---|
33 | ifeq ($(KBUILD_TARGET),linux)
|
---|
34 | PROGRAMS += UsbTest
|
---|
35 | UsbTest_TEMPLATE = VBoxValidationKitR3
|
---|
36 | UsbTest_SOURCES = UsbTest.cpp
|
---|
37 | endif
|
---|
38 |
|
---|
39 | PROGRAMS += UsbTestService
|
---|
40 | UsbTestService_TEMPLATE = VBoxValidationKitR3
|
---|
41 | UsbTestService_DEFS = \
|
---|
42 | KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
|
---|
43 | KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
|
---|
44 | UsbTestService_SOURCES = \
|
---|
45 | UsbTestService.cpp \
|
---|
46 | UsbTestServiceGadgetCfg.cpp \
|
---|
47 | UsbTestServiceGadgetClassTest.cpp \
|
---|
48 | UsbTestServiceGadgetHost.cpp \
|
---|
49 | UsbTestServiceGadgetHostUsbIp.cpp \
|
---|
50 | UsbTestServiceGadget.cpp \
|
---|
51 | UsbTestServiceProtocol.cpp \
|
---|
52 | UsbTestServiceTcp.cpp
|
---|
53 | UsbTestService_SOURCES.linux = \
|
---|
54 | UsbTestServicePlatform-linux.cpp
|
---|
55 |
|
---|
56 | $(evalcall def_vbox_validationkit_process_python_sources)
|
---|
57 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
58 |
|
---|