VirtualBox

Changeset 98163 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jan 20, 2023 3:55:53 PM (23 months ago)
Author:
vboxsync
Message:

ValKit/Audio: Don't build vkathost in an only-build unless it's the valkit one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/Makefile.kmk

    r98128 r98163  
    6060 if defined(VBOX_ONLY_VALIDATIONKIT) || !defined(VBOX_ONLY_BUILD)
    6161  PROGRAMS += vkat
    62   ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
    63    if !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    64     PROGRAMS += vkathost
    65    endif
     62  if defined(VBOX_WITH_HOST_SHIPPING_AUDIO_TEST) && !defined(VBOX_ONLY_BUILD)
     63   PROGRAMS += vkathost
    6664  endif
    6765 endif
    68  ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
    69   if defined(VBOX_ONLY_ADDITIONS) || !defined(VBOX_ONLY_BUILD)
    70    ifndef VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER
    71     ifdef VBOX_WITH_ADDITIONS
    72      PROGRAMS += vkatadd
    73     endif
    74    endif
    75   endif
     66 if    defined(VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST) \
     67    && defined(VBOX_WITH_ADDITIONS) \
     68    && defined(VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER) \
     69    && (defined(VBOX_ONLY_ADDITIONS) || !defined(VBOX_ONLY_BUILD))
     70  PROGRAMS += vkatadd
    7671 endif
    7772endif
     
    186181vkatadd_LIBS.solaris   = m
    187182
     183
    188184#
    189185# Build the valkit vkat to bin as VBoxAudioTest, so that it can be shipped with
     
    193189#       vkat binary to bin/ directory but built this as an own binary.
    194190#
    195 ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
    196  ifn1of ($(KBUILD_TARGET), os2 freebsd netbsd openbsd)
    197   ifndef VBOX_ONLY_ADDITIONS
    198    vkathost_TEMPLATE  := VBoxR3Exe
    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
    205    vkathost_LIBS       = \
    206         $(LIB_RUNTIME)
    207   endif
    208  endif
    209 endif
     191vkathost_TEMPLATE  := VBoxR3Exe
     192vkathost_EXTENDS   := vkat
     193vkathost_INST      := $(INST_BIN)
     194vkathost_NAME      := VBoxAudioTest
     195vkathost_SOURCES    = \
     196        $(vkat_SOURCES) \
     197        $(VBOX_PATH_SRC_DEVICES)/build/VBoxDD.d
     198vkathost_LIBS       = \
     199        $(LIB_RUNTIME)
     200
    210201
    211202if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette