VirtualBox

Changeset 99701 in vbox


Ignore:
Timestamp:
May 9, 2023 1:02:23 PM (21 months ago)
Author:
vboxsync
Message:

*kmk: VBOX_ONLY_SDK_ON_WINDOWS changes and cleanups. bugref:10442

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r99634 r99701  
    23792379
    23802380# Define the macro for win path conversion.
    2381 ifndef VBOX_ONLY_SDK
     2381if !defined(VBOX_ONLY_SDK) || defined(VBOX_ONLY_SDK_ON_WINDOWS)
    23822382 VBOX_FN_MAKE_WIN_PATH = "$(quote-sh-dq $(subst /,\,$(requote unq, $(1))))"
    23832383else
    23842384 # Z: is always FS root for Wine.
    23852385 VBOX_FN_MAKE_WIN_PATH  = $(subst /,\\,$(patsubst /%,Z:/%,$(1)))
    2386 endif #!VBOX_ONLY_SDK
     2386endif
    23872387
    23882388# The kprofile build automagically links with kProfile.
  • trunk/Makefile.kmk

    r99641 r99701  
    9999 # and .linux property suffixes.
    100100 #
    101  INSTALLS += InstallExternalLibs
     101 if !defined(VBOX_ONLY_SDK_ON_WINDOWS)
     102  INSTALLS += InstallExternalLibs
     103 endif
    102104
    103105 InstallExternalLibs_INST = $(INST_BIN)
     
    234236   VBOX_QT_PATH_LIB = $(PATH_SDK_QT5_LIB)
    235237  endif
    236   ifdef VBOX_WITH_QTGUI
     238  if defined(VBOX_WITH_QTGUI) && !defined(VBOX_ONLY_SDK)
    237239   INSTALLS += qt5-bin
    238240  endif
     
    290292   include $(KBUILD_PATH)/units/qt5.kmk
    291293   ifeq ($(KBUILD_TARGET),win)
    292     ifdef VBOX_WITH_QTGUI
     294    if defined(VBOX_WITH_QTGUI) && !defined(VBOX_ONLY_SDK)
    293295     INSTALLS += qt5-bin
    294296    endif
     
    308310    endif # VBOX_WITH_QT_PDBS
    309311   else # x11
    310     ifdef VBOX_WITH_QTGUI
     312    if defined(VBOX_WITH_QTGUI) && !defined(VBOX_ONLY_SDK)
    311313     INSTALLS += qt5-bin
    312314    endif
     
    21372139.NOTPARALLEL: sdk sdk-fetch
    21382140sdk:
    2139         + $(KMK) VBOX_ONLY_SDK=1 \
     2141        + $(KMK) VBOX_ONLY_SDK=1 $(if-expr "$(KBUILD_HOST)" == "win",VBOX_ONLY_SDK_ON_WINDOWS=1,) \
    21402142                pass_bldprogs pass_others pass_installs pass_packing
    21412143
    21422144sdk-fetch:
    2143         + $(KMK) VBOX_ONLY_SDK=1 -C tools
     2145        + $(KMK) VBOX_ONLY_SDK=1 $(if-expr "$(KBUILD_HOST)" == "win",VBOX_ONLY_SDK_ON_WINDOWS=1,) \
     2146                -C tools
    21442147
    21452148
  • trunk/src/Makefile.kmk

    r99699 r99701  
    3131include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
    3232include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
    33 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
     33if !defined(VBOX_ONLY_SDK_ON_WINDOWS) || "$(KBUILD_TARGET)" != "win"
     34 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
     35endif
    3436ifndef VBOX_ONLY_BUILD
    3537 # Normal build.
  • trunk/src/VBox/Installer/Makefile.kmk

    r98429 r99701  
    7373                $(VBOX_VERSION_STAMP)
    7474        $(call MSG_L1,Making SDK delivery $@)
    75         $(QUIET)$(REDIRECT) $(if $(QUIET),-wo /dev/null,) -C $(PATH_STAGE_BIN) -- $(VBOX_ZIP) -r9 $@ sdk
     75        $(QUIET)$(REDIRECT) $(if $(QUIET),-wo /dev/null,) -C $(PATH_STAGE_BIN) -- $(VBOX_ZIP) -r9 "$@" sdk
    7676endif
    7777
  • trunk/src/VBox/Main/Makefile.kmk

    r99262 r99701  
    4545 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
    4646 include $(PATH_SUB_CURRENT)/cbinding/Makefile.kmk
    47  include $(PATH_SUB_CURRENT)/UnattendedTemplates/Makefile.kmk
    4847 ifndef VBOX_ONLY_SDK
     48  include $(PATH_SUB_CURRENT)/UnattendedTemplates/Makefile.kmk
    4949  include $(PATH_SUB_CURRENT)/src-helper-apps/OpenGLTest/Makefile.kmk
    50  endif
    51  if defined(VBOX_WITH_OPEN_WATCOM) && defined(VBOX_WITH_UNATTENDED)
    52   include $(PATH_SUB_CURRENT)/src-helper-apps/os2/Makefile.kmk
    53  endif
    54  if defined(VBOX_WITH_DEVMAPPER) && !defined(VBOX_ONLY_SDK)
    55   include $(PATH_SUB_CURRENT)/src-helper-apps/VBoxVolInfo/Makefile.kmk
     50  if defined(VBOX_WITH_OPEN_WATCOM) && defined(VBOX_WITH_UNATTENDED)
     51   include $(PATH_SUB_CURRENT)/src-helper-apps/os2/Makefile.kmk
     52  endif
     53  ifdef VBOX_WITH_DEVMAPPER
     54   include $(PATH_SUB_CURRENT)/src-helper-apps/VBoxVolInfo/Makefile.kmk
     55  endif
    5656 endif
    5757endif
     
    221221
    222222# The MS COM specific stuff.
    223 if defined(VBOX_ONLY_SDK) || "$(KBUILD_TARGET)" == "win"
     223if "$(KBUILD_TARGET)" == "win" || (defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_SDK_ON_WINDOWS))
    224224 OTHERS         += \
    225225        $(VBOX_IDL_FILE.MSCOM)
     
    14791479
    14801480
    1481 if defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win" && !defined(VBOX_ONLY_EXTPACKS)
     1481if defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win" && !defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_SDK)
    14821482 #
    14831483 # Experimental COM proxy + stub DLL w/ automatic registration updating.
     
    16591659        $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE)
    16601660
    1661 if defined(VBOX_ONLY_SDK) || "$(KBUILD_TARGET)" == "win"
     1661if "$(KBUILD_TARGET)" == "win" || (defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_SDK_ON_WINDOWS))
    16621662
    16631663 # Note! Because we've got a different proxy stub DLL for pre windows 7 64-bit hosts, we target windows 7 for AMD64.
     
    17311731 endif
    17321732
    1733 endif # defined(VBOX_ONLY_SDK) || "$(KBUILD_TARGET)" == "win"
     1733endif # "$(KBUILD_TARGET)" == "win" || (defined(VBOX_ONLY_SDK) && !defined(VBOX_ONLY_SDK_ON_WINDOWS))
    17341734
    17351735#
  • trunk/src/VBox/Main/cbinding/Makefile.kmk

    r98695 r99701  
    8282        $(QUIET)$(VBOX_XSLTPROC) -o $@ $^
    8383
    84 if !defined(VBOX_ONLY_SDK)
     84ifndef VBOX_ONLY_SDK
    8585
    8686 #
     
    182182 endif
    183183
    184 endif # ! VBOX_ONLY_SDK
     184endif # !VBOX_ONLY_SDK
    185185
    186186# generate rules.
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