VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/SharedFolders/driver/Makefile.kmk@ 42154

Last change on this file since 42154 was 42154, checked in by vboxsync, 12 years ago

VS2010 preps.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1# $Id: Makefile.kmk 42154 2012-07-13 23:00:53Z vboxsync $
2## @file
3# Sub-Makefile for the VirtualBox Windows Guest Shared Folders FSD.
4#
5
6#
7# Copyright (C) 2006-2012 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# VBoxSF
23#
24SYSMODS += VBoxSF
25VBoxSF_TEMPLATE = VBOXGUESTR0
26VBoxSF_DEFS = LOG_TO_BACKDOOR VBOX_WITH_HGCM IN_RING0
27#VBoxSF_DEFS += LOG_ENABLED
28
29ifeq ($(VBOX_WINDDK_GST),W2K3DDK)
30VBoxSF_SDKS.x86 = ReorderCompilerIncs WINDDKW2K
31else
32VBoxSF_SDKS.x86 = ReorderCompilerIncs $(VBOX_WINDDK_GST_W2K)
33endif
34VBoxSF_SDKS.amd64 = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
35
36VBoxSF_INCS = \
37 ../../../common/VBoxGuestLib
38VBoxSF_LDFLAGS.x86 = -Entry:DriverEntry@8
39VBoxSF_LDFLAGS.amd64 = -Entry:DriverEntry
40VBoxSF_CFLAGS = -wd4005
41VBoxSF_SOURCES = \
42 file.c \
43 info.c \
44 vbsf.c \
45 net.c \
46 path.c \
47 vbsfhlp.c \
48 VBoxSF.rc
49
50ifeq ($(VBOX_WINDDK_GST),W2K3DDK)
51 VBoxSF_LIBS.x86 = \
52 $(PATH_SDK_WINDDKW2K_LIB.x86)/fre/rxce.lib \
53 $(PATH_SDK_WINDDKW2K_LIB.x86)/fre/rdbsslib.lib \
54 $(PATH_SDK_WINDDKW2K_LIB.x86)/fre/copysup.lib \
55 $(PATH_SDK_WINDDKW2K_LIB.x86)/ntoskrnl.lib \
56 $(PATH_SDK_WINDDKW2K_LIB.x86)/hal.lib \
57 $(PATH_SDK_WINDDKW2K_LIB.x86)/ksecdd.lib \
58 $(PATH_SDK_WINDDKW2K_LIB.x86)/BufferOverflowK.lib
59else
60 VBoxSF_LIBS.x86 = \
61 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/rxce.lib \
62 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/rdbsslib.lib \
63 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/copysup.lib \
64 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/ntoskrnl.lib \
65 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/hal.lib \
66 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/ksecdd.lib \
67 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K)_LIB.x86)/BufferOverflowK.lib
68endif
69
70VBoxSF_LIBS.amd64 = \
71 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/rxce.lib \
72 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/rdbsslib.lib \
73 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/copysup.lib \
74 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/ntoskrnl.lib \
75 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/hal.lib \
76 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/ksecdd.lib \
77 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/BufferOverflowK.lib
78
79VBoxSF_LIBS = \
80 $(VBOX_LIB_VBGL_R0) \
81 $(VBOX_LIB_IPRT_GUEST_R0)
82
83include $(FILE_KBUILD_SUB_FOOTER)
84
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette