VirtualBox

Changeset 79903 in vbox for trunk/include/Makefile.kmk


Ignore:
Timestamp:
Jul 19, 2019 7:27:57 PM (6 years ago)
Author:
vboxsync
Message:

/include/Makefile.kmk: Adjustedments for 32-bit builds. bugref:9511

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Makefile.kmk

    r78311 r79903  
    140140# ring-3, ring-0 and raw-mode context specific exclusions.
    141141VBOX_HDRS_ALL_R3      := $(filter-out $(VBOX_HDRS_R0DRV_ONLY), $(VBOX_HDRS_ALL))
     142if "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" == ""
     143 ifeq ($(KBUILD_TARGET),win)
     144VBOX_HDRS_ALL_R3      := $(filter-out VBox/com/VirtualBox.h VBox/com/listeners.h VBox/settings.h,$(VBOX_HDRS_ALL_R3))
     145 else
     146VBOX_HDRS_ALL_R3      := $(filter-out VBox/com/% VBox/settings.h,$(VBOX_HDRS_ALL_R3))
     147 endif
     148endif
    142149VBOX_HDRS_ALL_R3_C    := $(filter-out $(VBOX_HDRS_CPP_FEATURES) $(VBOX_HDRS_R3_CPP), $(VBOX_HDRS_ALL_R3))
    143150VBOX_HDRS_ALL_R0      := $(filter-out $(VBOX_HDRS_R3_CPP) $(VBOX_HDRS_R3_ONLY) $(VBOX_HDRS_R0DRV_ONLY), $(VBOX_HDRS_ALL))
     
    160167#$(error $(subst $(SP),$(NLTAB),$(strip $(sort $(VBOX_HDRS_ALL_RC_C)))))
    161168
     169if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
    162170SyntaxVBoxIncludeR3_TEMPLATE = VBOXMAINEXE
    163171SyntaxVBoxIncludeR3_DEFS = VBOX_WITH_HGCM
     172else
     173SyntaxVBoxIncludeR3_TEMPLATE = VBOXR3EXE
     174SyntaxVBoxIncludeR3_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
     175endif
    164176SyntaxVBoxIncludeR3_CDEFS = IPRT_WITHOUT_NAMED_UNIONS_AND_STRUCTS
    165177SyntaxVBoxIncludeR3_SOURCES := \
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