1 | # $Id: Makefile.kmk 88234 2021-03-22 10:25:25Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the audio testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2014-2020 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 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
|
---|
22 |
|
---|
23 | PROGRAMS += tstAudioMixBuffer
|
---|
24 | TESTING += $(tstAudioMixBuffer_0_OUTDIR)/tstAudioMixBuffer.run
|
---|
25 |
|
---|
26 | tstAudioMixBuffer_TEMPLATE = VBOXR3TSTEXE
|
---|
27 | tstAudioMixBuffer_DEFS = TESTCASE
|
---|
28 | tstAudioMixBuffer_DEFS.debug = VBOX_WITH_EF_WRAPS
|
---|
29 | tstAudioMixBuffer_SOURCES = \
|
---|
30 | tstAudioMixBuffer.cpp \
|
---|
31 | ../AudioMixBuffer.cpp \
|
---|
32 | ../AudioHlp.cpp
|
---|
33 | tstAudioMixBuffer_LIBS = $(LIB_RUNTIME)
|
---|
34 |
|
---|
35 | $$(tstAudioMixBuffer_0_OUTDIR)/tstAudioMixBuffer.run: $$(tstAudioMixBuffer_1_STAGE_TARGET)
|
---|
36 | export VBOX_LOG_DEST=nofile; $(tstAudioMixBuffer_1_STAGE_TARGET) quiet
|
---|
37 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
38 |
|
---|
39 | ifeq ($(KBUILD_TARGET),win.amd64) # Note: Only runs on Windows 8 or newer.
|
---|
40 | tstAudioClient3_TEMPLATE = VBOXR3TSTEXE
|
---|
41 | tstAudioClient3_DEFS = TESTCASE
|
---|
42 | tstAudioClient3_DEFS.debug = VBOX_WITH_EF_WRAPS
|
---|
43 | tstAudioClient3_SOURCES = tstAudioClient3.cpp
|
---|
44 | tstAudioClient3_LIBS = $(LIB_RUNTIME)
|
---|
45 | tstAudioClient3_INCS = \
|
---|
46 | $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/Include/10.0.17134.0/um \
|
---|
47 | $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/include/10.0.17134.0/shared
|
---|
48 |
|
---|
49 | # Requires manual execution / verification.
|
---|
50 | PROGRAMS += tstAudioClient3
|
---|
51 | endif
|
---|
52 |
|
---|
53 | endif
|
---|
54 |
|
---|
55 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|