VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/audio/Makefile.kmk@ 88928

Last change on this file since 88928 was 88928, checked in by vboxsync, 4 years ago
Audio/VaKit: Allow dynamic test backend selection via "[-bbackend]". bugref:10008
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 88928 2021-05-07 14:25:30Z vboxsync $
2## @file
3# VirtualBox Validation Kit - Audio Utilities.
4#
5
6#
7# Copyright (C) 2010-2021 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# Utility to play sine wave to Default Audio Device.
32#
33if 0 # Disabled for now; does not work without WinMM.dll.
34 PROGRAMS.win += ntPlayToneWaveX
35 ntPlayToneWaveX_TEMPLATE = VBoxValidationKitR3
36 ntPlayToneWaveX_SOURCES = ntPlayToneWaveX.cpp
37 ntPlayToneWaveX_LIBS += \
38 WinMM.Lib
39endif
40
41#
42# The Validation Kit Audio Test (VKAT) utility.
43#
44VKAT_PATH_AUDIO=$(PATH_ROOT)/src/VBox/Devices/Audio
45
46PROGRAMS += AudioTest
47AudioTest_TEMPLATE = VBoxValidationKitR3
48AudioTest_DEFS += VBOX_AUDIO_VKAT
49AudioTest_SOURCES = \
50 vkat.cpp \
51 $(VKAT_PATH_AUDIO)/AudioTest.cpp
52
53ifdef VBOX_WITH_AUDIO_PULSE
54 AudioTest_DEFS += VBOX_WITH_AUDIO_PULSE
55 AudioTest_SOURCES += \
56 $(VKAT_PATH_AUDIO)/DrvHostAudioPulseAudioStubs.cpp \
57 $(VKAT_PATH_AUDIO)/DrvHostAudioPulseAudio.cpp
58endif
59
60ifdef VBOX_WITH_AUDIO_ALSA
61 AudioTest_DEFS += VBOX_WITH_AUDIO_ALSA
62 AudioTest_SOURCES += \
63 $(VKAT_PATH_AUDIO)/DrvHostAudioAlsa.cpp \
64 $(VKAT_PATH_AUDIO)/DrvHostAudioAlsaStubs.cpp
65endif
66
67ifdef VBOX_WITH_AUDIO_OSS
68 AudioTest_DEFS += VBOX_WITH_AUDIO_OSS
69 AudioTest_SOURCES += \
70 $(VKAT_PATH_AUDIO)/DrvHostAudioOss.cpp
71endif
72
73include $(FILE_KBUILD_SUB_FOOTER)
74
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