# $Id: Makefile.kmk 42154 2012-07-13 23:00:53Z vboxsync $ ## @file # Sub-Makefile for the VirtualBox Windows Guest Shared Folders FSD. # # # Copyright (C) 2006-2012 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # SUB_DEPTH = ../../../../../.. include $(KBUILD_PATH)/subheader.kmk # # VBoxSF # SYSMODS += VBoxSF VBoxSF_TEMPLATE = VBOXGUESTR0 VBoxSF_DEFS = LOG_TO_BACKDOOR VBOX_WITH_HGCM IN_RING0 #VBoxSF_DEFS += LOG_ENABLED ifeq ($(VBOX_WINDDK_GST),W2K3DDK) VBoxSF_SDKS.x86 = ReorderCompilerIncs WINDDKW2K else VBoxSF_SDKS.x86 = ReorderCompilerIncs $(VBOX_WINDDK_GST_W2K) endif VBoxSF_SDKS.amd64 = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH) VBoxSF_INCS = \ ../../../common/VBoxGuestLib VBoxSF_LDFLAGS.x86 = -Entry:DriverEntry@8 VBoxSF_LDFLAGS.amd64 = -Entry:DriverEntry VBoxSF_CFLAGS = -wd4005 VBoxSF_SOURCES = \ file.c \ info.c \ vbsf.c \ net.c \ path.c \ vbsfhlp.c \ VBoxSF.rc ifeq ($(VBOX_WINDDK_GST),W2K3DDK) VBoxSF_LIBS.x86 = \ $(PATH_SDK_WINDDKW2K_LIB.x86)/fre/rxce.lib \ $(PATH_SDK_WINDDKW2K_LIB.x86)/fre/rdbsslib.lib \ $(PATH_SDK_WINDDKW2K_LIB.x86)/fre/copysup.lib \ $(PATH_SDK_WINDDKW2K_LIB.x86)/ntoskrnl.lib \ $(PATH_SDK_WINDDKW2K_LIB.x86)/hal.lib \ $(PATH_SDK_WINDDKW2K_LIB.x86)/ksecdd.lib \ $(PATH_SDK_WINDDKW2K_LIB.x86)/BufferOverflowK.lib else VBoxSF_LIBS.x86 = \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/rxce.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/rdbsslib.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/copysup.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/ntoskrnl.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/hal.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/ksecdd.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/BufferOverflowK.lib endif VBoxSF_LIBS.amd64 = \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/rxce.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/rdbsslib.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/copysup.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/ntoskrnl.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/hal.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/ksecdd.lib \ $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/BufferOverflowK.lib VBoxSF_LIBS = \ $(VBOX_LIB_VBGL_R0) \ $(VBOX_LIB_IPRT_GUEST_R0) include $(FILE_KBUILD_SUB_FOOTER)