VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk@ 33116

Last change on this file since 33116 was 33048, checked in by vboxsync, 14 years ago

Additions/WINNT/Graphics: make VBOX_WITH_HGSMI conditional code unconditional

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# $Id: Makefile.kmk 33048 2010-10-11 20:57:20Z vboxsync $
2## @file
3# Sub-Makefile for VBoxVideo.
4#
5
6#
7# Copyright (C) 2006-2007 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#
23# VBoxVideo
24#
25# Note. This has to run on NT4!
26# (VBOX_LIB_IPRT_GUEST_R0_NT4 == VBOX_LIB_IPRT_GUEST_R0 on 64-bit)
27#
28SYSMODS += VBoxVideo
29VBoxVideo_TEMPLATE = VBOXGUESTR0
30ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
31 VBoxVideo_NOINST = true
32endif
33VBoxVideo_DEFS = LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
34ifdef VBOX_WITH_VIDEOHWACCEL
35 VBoxVideo_DEFS += VBOX_WITH_VIDEOHWACCEL
36endif
37VBoxVideo_DEFS += VBOX_WITH_MULTIMONITOR_FIX
38#VBoxVideo_DEFS += LOG_ENABLED
39VBoxVideo_INCS = ../../include
40VBoxVideo_LDFLAGS.x86 = /Entry:DriverEntry@8
41VBoxVideo_LDFLAGS.amd64 = /Entry:DriverEntry
42VBoxVideo_SOURCES = \
43 VBoxVideo.cpp \
44 Helper.cpp \
45 VBoxVideo.def \
46 VBoxVideo.rc \
47 VBoxVideoHGSMI.cpp
48VBoxVideo_LIBS.x86 = \
49 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib
50VBoxVideo_LIBS = \
51 $(PATH_SDK_W2K3DDK_LIB)/videoprt.lib \
52 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
53 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
54 $(VBOX_LIB_VBGL_R0) \
55 $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
56 $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
57
58
59
60ifdef VBOX_WITH_WDDM
61 #
62 # VBoxVideoWddm
63 #
64 SYSMODS += VBoxVideoWddm
65 VBoxVideoWddm_TEMPLATE = VBOXGUESTR0
66 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
67 VBoxVideoWddm_NOINST = true
68 endif
69
70 VBoxVideoWddm_SDKS=WINDDKWLH
71 VBoxVideoWddm_DEFS += VBOX_WITH_8BPP_MODES
72 VBoxVideoWddm_DEFS += VBOX_WITH_WDDM
73 ifdef VBOX_WITH_VIDEOHWACCEL
74 VBoxVideoWddm_DEFS += VBOX_WITH_VIDEOHWACCEL
75 endif
76 ifdef VBOXWDDM_WITH_VBVA
77 VBoxVideoWddm_DEFS += VBOXWDDM_WITH_VBVA
78 VBoxVideoWddm_DEFS += VBOXWDDM_RENDER_FROM_SHADOW
79 ifdef VBOXVDMA_WITH_VBVA
80 VBoxVideoWddm_DEFS += VBOXVDMA_WITH_VBVA
81 endif
82 endif
83 ifdef VBOX_WITH_VDMA
84 VBoxVideoWddm_DEFS += VBOX_WITH_VDMA
85 endif
86 ifdef DEBUG_misha
87 VBoxVideoWddm_DEFS += LOG_ENABLED
88 endif
89 #VBoxVideoWddm_DEFS += VBOX_WITH_MULTIMONITOR_FIX
90 #VBoxVideoWddm_DEFS += LOG_TO_BACKDOOR
91 VBoxVideoWddm_INCS += ../../include
92 VBoxVideoWddm_LDFLAGS.x86 += /Entry:DriverEntry@8
93 VBoxVideoWddm_LDFLAGS.amd64 += /Entry:DriverEntry
94 VBoxVideoWddm_SOURCES = \
95 VBoxVideoHGSMI.cpp \
96 VBoxVideo.cpp \
97 Helper.cpp \
98 wddm/VBoxVideoWddm.cpp \
99 wddm/VBoxVideoVidPn.cpp \
100 wddm/VBoxVideoVdma.cpp \
101 wddm/VBoxVideoShgsmi.cpp \
102 wddm/VBoxVideoCm.cpp \
103 wddm/VBoxVideoMisc.cpp \
104 wddm/VBoxVideoWddm.rc
105 ifdef VBOXWDDM_WITH_VBVA
106 VBoxVideoWddm_SOURCES += \
107 wddm/VBoxVideoVbva.cpp
108 endif
109 ifdef VBOX_WITH_VIDEOHWACCEL
110 VBoxVideoWddm_SOURCES += \
111 wddm/VBoxVideoVhwa.cpp
112 endif
113 VBoxVideoWddm_LIBS.x86 = \
114 $(PATH_SDK_WINDDKWLH_LIB)/BufferOverflowK.lib
115 #VBoxVideoWddm_LIBS.x86 += \
116 # $(PATH_SDK_WINDDKWLH_LIB)/exsup.lib
117 VBoxVideoWddm_LIBS = \
118 $(PATH_SDK_WINDDKWLH_LIB)/ntoskrnl.lib \
119 $(PATH_SDK_WINDDKWLH_LIB)/hal.lib \
120 $(PATH_SDK_WINDDKWLH_LIB)/displib.lib \
121 $(VBOX_LIB_VBGL_R0) \
122 $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
123 $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
124endif # VBOX_WITH_WDDM
125
126include $(KBUILD_PATH)/subfooter.kmk
127
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