VirtualBox

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

Last change on this file since 26069 was 26063, checked in by vboxsync, 15 years ago

Miniport/Makefile.kmk: cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1# $Id: Makefile.kmk 26063 2010-01-27 10:45:39Z vboxsync $
2## @file
3# Sub-Makefile for VBoxVideo.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../../../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25
26#
27# VBoxVideo
28#
29# Note. This has to run on NT4!
30# (VBOX_LIB_IPRT_GUEST_R0_NT4 == VBOX_LIB_IPRT_GUEST_R0 on 64-bit)
31#
32SYSMODS += VBoxVideo
33VBoxVideo_TEMPLATE = VBOXGUESTR0
34ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
35 VBoxVideo_NOINST = true
36endif
37VBoxVideo_DEFS = LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
38ifdef VBOX_WITH_HGSMI
39 VBoxVideo_DEFS += VBOX_WITH_HGSMI
40endif
41ifdef VBOX_WITH_VIDEOHWACCEL
42 VBoxVideo_DEFS += VBOX_WITH_VIDEOHWACCEL
43endif
44#VBoxVideo_DEFS += LOG_ENABLED
45VBoxVideo_INCS = ../../include
46VBoxVideo_LDFLAGS.x86 = /Entry:DriverEntry@8
47VBoxVideo_LDFLAGS.amd64 = /Entry:DriverEntry
48VBoxVideo_SOURCES = \
49 VBoxVideo.cpp \
50 Helper.cpp \
51 VBoxVideo.def \
52 VBoxVideo.rc
53ifdef VBOX_WITH_HGSMI
54 VBoxVideo_SOURCES += \
55 VBoxVideoHGSMI.cpp
56endif
57VBoxVideo_LIBS.x86 = \
58 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib
59VBoxVideo_LIBS = \
60 $(PATH_SDK_W2K3DDK_LIB)/videoprt.lib \
61 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
62 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
63 $(VBOX_LIB_VBGL_R0) \
64 $(VBOX_LIB_IPRT_GUEST_R0_NT4)
65ifdef VBOX_WITH_HGSMI
66 VBoxVideo_LIBS += \
67 $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
68endif
69
70
71
72ifdef VBOXWDDM
73 #
74 # VBoxVideoWddm
75 #
76 SYSMODS += VBoxVideoWddm
77 VBoxVideoWddm_TEMPLATE = VBOXGUESTR0
78 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
79 $(error FIXME)
80 VBoxVideoWddm_NOINST = true
81 endif
82 VBoxVideoWddm_SDKS=WINDDKWLH
83 VBoxVideoWddm_DEFS += LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
84 VBoxVideoWddm_DEFS += VBOX_WITH_HGSMI VBOXWDDM
85 ifdef VBOX_WITH_VIDEOHWACCEL
86 VBoxVideoWddm_DEFS += VBOX_WITH_VIDEOHWACCEL
87 endif
88 #VBoxVideoWddm_DEFS += LOG_ENABLED
89 VBoxVideoWddm_INCS += ../../include
90 VBoxVideoWddm_LDFLAGS.x86 += /Entry:DriverEntry@8
91 VBoxVideoWddm_LDFLAGS.amd64 += /Entry:DriverEntry
92 VBoxVideoWddm_SOURCES = \
93 VBoxVideoHGSMI.cpp \
94 VBoxVideo.cpp \
95 wddm/VBoxVideoWddm.cpp \
96 wddm/VBoxVideoVidPn.cpp \
97 wddm/VBoxVideoWddm.def \
98 wddm/VBoxVideoWddm.rc
99 #VBoxVideoWddm_LIBS.x86 += \
100 # $(PATH_SDK_WINDDKWLH_LIB)/exsup.lib
101 VBoxVideoWddm_LIBS.x86 += \
102 $(PATH_SDK_WINDDKWLH_LIB)/bufferoverflowu.lib
103 VBoxVideoWddm_LIBS = \
104 $(PATH_SDK_WINDDKWLH_LIB)/ntoskrnl.lib \
105 $(PATH_SDK_WINDDKWLH_LIB)/hal.lib \
106 $(PATH_SDK_WINDDKWLH_LIB)/displib.lib \
107 $(VBOX_LIB_VBGL_R0) \
108 $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
109 $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
110endif # VBOXWDDM
111
112include $(KBUILD_PATH)/subfooter.kmk
113
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