1 | # $Id: Makefile.kmk 53442 2014-12-04 13:49:43Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the audio testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2014 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) && defined(VBOX_WITH_PDM_AUDIO_DRIVER)
|
---|
22 |
|
---|
23 | PROGRAMS += tstAudioMixBuffer
|
---|
24 | TESTING += $(tstAudioMixBuffer_0_OUTDIR)/tstAudioMixBuffer.run
|
---|
25 |
|
---|
26 | tstAudioMixBuffer_TEMPLATE = VBOXR3TSTEXE
|
---|
27 | tstAudioMixBuffer_DEFS += TESTCASE VBOX_WITH_PDM_AUDIO_DRIVER
|
---|
28 | tstAudioMixBuffer_SOURCES = \
|
---|
29 | tstAudioMixBuffer.cpp \
|
---|
30 | ../AudioMixBuffer.cpp \
|
---|
31 | ../DrvAudioCommon.cpp
|
---|
32 | tstAudioMixBuffer_LIBS = $(LIB_RUNTIME)
|
---|
33 |
|
---|
34 | $$(tstAudioMixBuffer_0_OUTDIR)/tstAudioMixBuffer.run: $$(tstAudioMixBuffer_1_STAGE_TARGET)
|
---|
35 | export VBOX_LOG_DEST=nofile; $(tstAudioMixBuffer_1_STAGE_TARGET) quiet
|
---|
36 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
37 |
|
---|
38 | endif
|
---|
39 |
|
---|
40 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
41 |
|
---|