VirtualBox

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

Last change on this file since 9508 was 9508, checked in by vboxsync, 17 years ago

64-bit windows guest addition preparations.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 9508 2008-06-08 03:15:52Z 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
22DEPTH ?= ../../../../../..
23SUB_DEPTH = ../../..
24include $(KBUILD_PATH)/subheader.kmk
25
26
27#
28# VBoxVideo
29#
30# Note. This has to run on NT4!
31# (VBOX_LIB_IPRT_GUEST_R0_NT4 == VBOX_LIB_IPRT_GUEST_R0 on 64-bit)
32#
33SYSMODS += VBoxVideo
34ifdef VBOX_WITH_64BIT_ADDITIONS
35VBoxVideo_TEMPLATE = VBOXGUESTR0
36else
37VBoxVideo_TEMPLATE = VBOXW32GUESTR0
38VBoxVideo_SDKS = W2K3DDKX86 WINPSDKINCS
39endif
40ifdef VBOX_SIGN_ADDITIONS
41 VBoxVideo_NOINST = true
42endif
43VBoxVideo_DEFS = LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
44#VBoxVideo_DEFS += LOG_ENABLED
45VBoxVideo_INCS = ../../include
46ifdef VBOX_WITH_64BIT_ADDITIONS
47VBoxVideo_LDFLAGS.x86 = /Entry:DriverEntry@8
48VBoxVideo_LDFLAGS.amd64 = /Entry:DriverEntry
49else
50VBoxVideo_LDFLAGS = /Entry:DriverEntry@8
51endif
52VBoxVideo_SOURCES = \
53 VBoxVideo.cpp \
54 Helper.cpp \
55 VBoxVideo.def \
56 VBoxVideo.rc
57ifdef VBOX_WITH_64BIT_ADDITIONS
58VBoxVideo_LIBS.x86 = \
59 $(PATH_SDK_W2K3DDKX86_LIB)/exsup.lib
60VBoxVideo_LIBS = \
61 $(PATH_SDK_W2K3DDK_LIB)/videoprt.lib \
62 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
63 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
64 $(VBOX_LIB_VBGL_R0) \
65 $(VBOX_LIB_IPRT_GUEST_R0_NT4)
66else
67VBoxVideo_LIBS = \
68 $(PATH_SDK_W2K3DDKX86_LIB)/exsup.lib \
69 $(PATH_SDK_W2K3DDKX86_LIB)/videoprt.lib \
70 $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
71 $(PATH_SDK_W2K3DDKX86_LIB)/ntoskrnl.lib \
72 $(PATH_SDK_W2K3DDKX86_LIB)/hal.lib \
73 $(PATH_LIB)/additions/VBoxGuestLib$(VBOXW32GUEST_SUFF_LIB) \
74 $(PATH_LIB)/additions/RuntimeW32NT4GuestR0$(VBOXW32GUEST_SUFF_LIB)
75endif
76
77include $(KBUILD_PATH)/subfooter.kmk
78
Note: See TracBrowser for help on using the repository browser.

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