Changeset 93265 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/driver/Makefile.kmk
- Timestamp:
- Jan 17, 2022 10:51:43 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/Makefile.kmk
r93251 r93265 21 21 # 22 22 # VBoxSF 23 # Note! On X86 this is only used for windows 8 and later. 24 # Note! On X86 we must link against ntoskrnl.lib from the default WDK when /guard:cf is enabled, 25 # or the linker barfs at loadcfg.obj not containing a large enough load config structure. 23 26 # 24 27 SYSMODS += VBoxSF … … 47 50 $(VBoxSF_0_OUTDIR)/rdbsslib.lib \ 48 51 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/copysup.lib \ 52 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/hal.lib \ 53 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ksecdd.lib 54 ifneq ($(VBOX_VCC_CC_GUARD_CF),) 55 VBoxSF_LIBS += \ 56 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \ 57 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib 58 else 59 VBoxSF_LIBS += \ 49 60 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \ 50 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/hal.lib \ 51 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ksecdd.lib \ 52 $(PATH_SDK_$($(if-expr "$(VBOX_VCC_TOOL_STEM)" >= "VCC142" && !defined(VBOX_WITHOUT_CONTROL_FLOW_GUARD),VBOX_WINDDK,VBOX_WINDDK_GST_WLH))_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib \ 53 \ 61 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib 62 endif 63 VBoxSF_LIBS += \ 54 64 $(VBOX_LIB_VBGL_R0) \ 55 65 $(VBOX_LIB_IPRT_GUEST_R0) … … 58 68 $(VBoxSF_0_OUTDIR)/rdbsslib.lib 59 69 70 VBoxSF_USES.win += vboximportchecker 71 VBoxSF_VBOX_IMPORT_CHECKER.win.x86 = w8/r0 72 VBoxSF_VBOX_IMPORT_CHECKER.win.amd64 = xp64/r0 73 60 74 61 75 ifeq ($(KBUILD_TARGET_ARCH),x86) 76 # 77 # This driver version is used for Windows 2000, XP, W2K3, Vista and 7. 78 # 62 79 SYSMODS += VBoxSFW2K 63 64 80 VBoxSFW2K_EXTENDS := VBoxSF 65 81 VBoxSFW2K_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST_W2K3) … … 68 84 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib \ 69 85 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/copysup.lib \ 70 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \71 86 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/hal.lib \ 72 87 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ksecdd.lib \ 73 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/BufferOverflowK.lib \74 $(PATH_SDK_$($(if-expr "$(VBOX_VCC_TOOL_STEM)" >= "VCC142" && !defined(VBOX_WITHOUT_CONTROL_FLOW_GUARD),VBOX_WINDDK,VBOX_WINDDK_GST_W2K3))_LIB.x86)/BufferOverflowK.lib \75 88 \ 76 89 $(VBOX_LIB_VBGL_R0) \ 77 90 $(VBOX_LIB_IPRT_GUEST_R0) 91 ifneq ($(VBOX_VCC_CC_GUARD_CF),) 92 VBoxSFW2K_LIBS += \ 93 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/ntoskrnl.lib \ 94 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/BufferOverflowK.lib 95 else 96 VBoxSFW2K_LIBS += \ 97 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \ 98 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/BufferOverflowK.lib 99 endif 78 100 VBoxSFW2K_CLEAN = \ 79 101 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib 102 VBoxSFW2K_USES.win += vboximportchecker 103 VBoxSFW2K_VBOX_IMPORT_CHECKER.win.x86 = w2k/r0 80 104 endif 81 105
Note:
See TracChangeset
for help on using the changeset viewer.