Changeset 98119 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jan 18, 2023 12:40:22 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/Makefile.kmk
r98118 r98119 48 48 49 49 # 50 # Globals. 51 # 52 VBOX_PATH_SRC_DEVICES = $(PATH_ROOT)/src/VBox/Devices 53 VKAT_PATH_AUDIO = $(VBOX_PATH_SRC_DEVICES)/Audio 54 55 56 # 50 57 # Append what we build here to PROGRAMS (at the top because it's a bit messy). 51 58 # … … 55 62 ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST 56 63 if !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) 57 PROGRAMS .win+= vkathost64 PROGRAMS += vkathost 58 65 endif 59 66 endif … … 79 86 ntPlayToneWaveX_SOURCES = ntPlayToneWaveX.cpp 80 87 ntPlayToneWaveX_LIBS += \ 81 88 WinMM.Lib 82 89 endif 83 90 … … 86 93 # The Validation Kit Audio Test (VKAT) utility. 87 94 # 88 VKAT_PATH_AUDIO = $(PATH_ROOT)/src/VBox/Devices/Audio89 95 vkat_TEMPLATE = VBoxValidationKitR3 90 96 vkat_VBOX_IMPORT_CHECKER.win.x86 = nt4 91 97 vkat_DEFS = VBOX_AUDIO_VKAT IN_VMM_R3 IN_VMM_STATIC 92 vkat_INCS += \98 vkat_INCS = \ 93 99 $(PATH_ROOT)/src/VBox/Devices/build \ 94 100 $(PATH_ROOT)/src/VBox/Devices \ … … 181 187 182 188 # 183 # Build the valkit vkat to bin as VBoxAudioTest, so that it can be shipped with the host installer too. 184 # 185 # We use the same name as for the GAs, even if the binaries is the same as the 186 # validation kit. 189 # Build the valkit vkat to bin as VBoxAudioTest, so that it can be shipped with 190 # the host installer too. 191 # 192 # Note: We also need to have this as a signed binary, so don't just copy the 193 # vkat binary to bin/ directory but built this as an own binary. 187 194 # 188 195 ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST 189 196 ifn1of ($(KBUILD_TARGET), os2 freebsd netbsd openbsd) 190 197 ifndef VBOX_ONLY_ADDITIONS 191 ifeq ($(KBUILD_TARGET), win) 192 # We also need to have this as a signed binary, so don't just copy the vkat binary from below to 193 # the bin/ directory but built this as an own binary. 194 # 195 ## @todo Not sure if we can make this more elegant, but works for me now. 196 vkathost_TEMPLATE = VBoxR3Static 197 vkathost_EXTENDS = vkat 198 vkathost_NAME = VBoxAudioTest 199 else # On non-Windows we simply copy the vkat executable already built to save build time. 200 vkathost_TEMPLATE = VBOXR3EXE 201 vkathost_SOURCES = $(vkat_1_TARGET)=>VBoxAudioTest$(HOSTSUFF_EXE) 202 vkathost_MODE = a+rx,u+w 203 endif 198 vkathost_TEMPLATE := VBoxR3Static 199 vkathost_EXTENDS := vkat 200 vkathost_INST := $(INST_BIN) 201 vkathost_NAME := VBoxAudioTest 202 vkathost_SOURCES = \ 203 $(vkat_SOURCES) \ 204 $(VBOX_PATH_SRC_DEVICES)/build/VBoxDD.d 204 205 endif 205 206 endif … … 224 225 225 226 include $(FILE_KBUILD_SUB_FOOTER) 227
Note:
See TracChangeset
for help on using the changeset viewer.