VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Display/Makefile.kmk@ 27516

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

wddm: yet another fix to make dwm & stuff more happy

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1# $Id: Makefile.kmk 27516 2010-03-19 07:43:30Z vboxsync $
2## @file
3# Sub-Makefile for VBoxDisp.dll.
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
25SYSMODS += VBoxDisp
26VBoxDisp_TEMPLATE = VBOXGUESTR0
27ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
28 VBoxDisp_NOINST = true
29endif
30VBoxDisp_SYSSUFF = .dll
31VBoxDisp_DEFS = _WIN32_WINNT=0x0501 LOG_TO_BACKDOOR VBOX_WITH_DDRAW VBOX_WITH_OPENGL
32VBoxDisp_INCS = ../../include
33VBoxDisp_DEFS += VBOX_VBVA_ADJUST_RECT
34#VBoxDisp_DEFS += LOG_ENABLED
35ifdef VBOX_WITH_VIDEOHWACCEL
36VBoxDisp_DEFS += VBOX_WITH_VIDEOHWACCEL
37endif
38#VBoxDisp_DEFS += STAT_sunlover
39VBoxDisp_SOURCES = \
40 color.c \
41 debug.c \
42 enable.c \
43 palette.c \
44 pointer.c \
45 screen.c \
46 drv.c \
47 dd.c \
48 vbva.c \
49 vrdp.c \
50 vrdpbmp.c \
51 vrdptext.c \
52 vbox.c \
53 VBoxDisp.def \
54 VBoxDisp.rc
55
56ifdef VBOX_WITH_VIDEOHWACCEL
57VBoxDisp_SOURCES += vhwa.c
58endif
59VBoxDisp_LDFLAGS.x86 = /Entry:DrvEnableDriver@12
60VBoxDisp_LDFLAGS.amd64 = /Entry:DrvEnableDriver
61VBoxDisp_LIBS = \
62 $(PATH_SDK_W2K3DDK_LIB)/win32k.lib \
63 $(VBOX_LIB_IPRT_GUEST_R0)
64
65ifdef VBOX_WITH_HGSMI
66VBoxDisp_LIBS += \
67 $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
68VBoxDisp_DEFS += VBOX_WITH_HGSMI
69endif
70
71ifdef VBOXWDDM
72
73 ifeq ($(KBUILD_TARGET_ARCH), amd64)
74 $(warning VBoxVideoD3D: make it 32bit for 64bit builds)
75 endif
76
77DLLS += VBoxDispD3D
78 if defined(VBOX_SIGNING_MODE)
79VBoxDispD3D_NOINST = true
80 endif
81VBoxDispD3D_TEMPLATE = VBOXGUESTR3DLL
82VBoxDispD3D_DEFS = UNICODE _UNICODE
83VBoxDispD3D_SOURCES = \
84 wddm/VBoxDispD3D.cpp \
85 wddm/VBoxDispD3D.def \
86 wddm/VBoxDispD3D.rc
87VBoxDispD3D_LIBS = \
88 $(VBOX_LIB_IPRT_GUEST_R3) \
89 $(VBOX_LIB_VBGL_R3)
90VBoxDispD3D_SDKS = WINDDKWLH
91
92 ifeq ($(KBUILD_TARGET_ARCH), amd64)
93DLLS += VBoxDispD3D64
94VBoxDispD3D64_EXTENDS = VBoxDispD3D
95VBoxDispD3D64_SOURCES = $(subst VBoxDispD3D.def,VBoxDispD3D64.def,$(VBoxDispD3D_SOURCES))
96 endif
97endif
98
99include $(KBUILD_PATH)/subfooter.kmk
100
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