Changeset 106794 in vbox for trunk/src/VBox/Main/Makefile.kmk
- Timestamp:
- Oct 30, 2024 3:08:57 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r106356 r106794 340 340 LIBRARIES += VBoxAPIWrap 341 341 VBoxAPIWrap_TEMPLATE = VBoxMainLib 342 if eq ($(KBUILD_TARGET),win)343 if ndef VBOX_WITHOUT_PRECOMPILED_HEADERS342 if defined(VBOX_WITH_PRECOMPILED_HEADERS) && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 343 ifeq ($(KBUILD_TARGET),win) 344 344 VBoxAPIWrap_USES = vccprecomp 345 345 VBoxAPIWrap_PCH_HDR := $(PATH_SUB_CURRENT)/src-all/win/VBoxAPIWrap-precomp_vcc.h 346 e ndif347 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS)348 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header.349 VBoxAPIWrap_USES = gccprecomp350 VBoxAPIWrap_PCH_HDR := $(PATH_SUB_CURRENT)/src-all/xpcom/VBoxAPIWrap-precomp_gcc.h346 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" 347 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 348 VBoxAPIWrap_USES = gccprecomp 349 VBoxAPIWrap_PCH_HDR := $(PATH_SUB_CURRENT)/src-all/xpcom/VBoxAPIWrap-precomp_gcc.h 350 endif 351 351 endif 352 352 endif … … 517 517 PROGRAMS += VBoxSVC 518 518 VBoxSVC_TEMPLATE = VBoxMainExe 519 if defined(VBOX_WITH_PRECOMPILED_HEADERS) && "$(KBUILD_TARGET)" == "win" 520 VBoxSVC_USES += vccprecomp 521 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/win/precomp_vcc.h 522 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 523 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 524 VBoxSVC_USES += gccprecomp 525 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/xpcom/precomp_gcc.h 519 if defined(VBOX_WITH_PRECOMPILED_HEADERS) && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 520 if "$(KBUILD_TARGET)" == "win" 521 VBoxSVC_USES += vccprecomp 522 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/win/precomp_vcc.h 523 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" 524 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 525 VBoxSVC_USES += gccprecomp 526 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/xpcom/precomp_gcc.h 527 endif 526 528 endif 527 529 endif … … 1008 1010 DLLS += VBoxC 1009 1011 VBoxC_TEMPLATE = VBoxMainComp 1010 if defined(VBOX_WITH_PRECOMPILED_HEADERS) && "$(KBUILD_TARGET)" == "win" 1011 VBoxC_USES = vccprecomp 1012 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/win/precomp_vcc.h 1013 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 1014 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 1015 VBoxC_USES += gccprecomp 1016 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/xpcom/precomp_gcc.h 1012 if defined(VBOX_WITH_PRECOMPILED_HEADERS) && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 1013 if "$(KBUILD_TARGET)" == "win" 1014 VBoxC_USES = vccprecomp 1015 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/win/precomp_vcc.h 1016 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" 1017 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 1018 VBoxC_USES += gccprecomp 1019 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/xpcom/precomp_gcc.h 1020 endif 1017 1021 endif 1018 1022 endif
Note:
See TracChangeset
for help on using the changeset viewer.