1 | # $Id: Makefile.kmk 9507 2008-06-08 03:09:23Z 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.alldomusa.eu.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 |
|
---|
22 | DEPTH ?= ../../../../../..
|
---|
23 | SUB_DEPTH = ../../..
|
---|
24 | include $(KBUILD_PATH)/subheader.kmk
|
---|
25 |
|
---|
26 | SYSMODS += VBoxDisp
|
---|
27 | ifdef VBOX_WITH_64BIT_ADDITIONS
|
---|
28 | VBoxDisp_TEMPLATE = VBOXGUESTR0
|
---|
29 | else
|
---|
30 | VBoxDisp_TEMPLATE = VBOXW32GUESTR0
|
---|
31 | endif
|
---|
32 | ifdef VBOX_SIGN_ADDITIONS
|
---|
33 | VBoxDisp_NOINST = true
|
---|
34 | endif
|
---|
35 | VBoxDisp_SYSSUFF = .dll
|
---|
36 | ifndef VBOX_WITH_64BIT_ADDITIONS
|
---|
37 | VBoxDisp_SDKS = W2K3DDKX86 WINPSDKINCS
|
---|
38 | endif
|
---|
39 | VBoxDisp_DEFS = _WIN32_WINNT=0x0501 LOG_TO_BACKDOOR VBOX_WITH_DDRAW VBOX_WITH_OPENGL
|
---|
40 | VBoxDisp_INCS = ../../include
|
---|
41 | VBoxDisp_DEFS += VBOX_VBVA_ADJUST_RECT
|
---|
42 | #VBoxDisp_DEFS += LOG_ENABLED
|
---|
43 | #VBoxDisp_DEFS += STAT_sunlover
|
---|
44 | VBoxDisp_SOURCES = \
|
---|
45 | color.c \
|
---|
46 | debug.c \
|
---|
47 | enable.c \
|
---|
48 | palette.c \
|
---|
49 | pointer.c \
|
---|
50 | screen.c \
|
---|
51 | drv.c \
|
---|
52 | dd.c \
|
---|
53 | vbva.c \
|
---|
54 | vrdp.c \
|
---|
55 | vrdpbmp.c \
|
---|
56 | vrdptext.c \
|
---|
57 | vbox.c \
|
---|
58 | VBoxDisp.def \
|
---|
59 | VBoxDisp.rc
|
---|
60 | ifdef VBOX_WITH_64BIT_ADDITIONS
|
---|
61 | VBoxDisp_LDFLAGS.x86 = /Entry:DrvEnableDriver@12
|
---|
62 | VBoxDisp_LDFLAGS.amd64 = /Entry:DrvEnableDriver
|
---|
63 | VBoxDisp_LIBS = \
|
---|
64 | $(PATH_SDK_W2K3DDK_LIB)/win32k.lib \
|
---|
65 | $(VBOX_LIB_IPRT_GUEST_R0)
|
---|
66 | else
|
---|
67 | VBoxDisp_LDFLAGS = /Entry:DrvEnableDriver@12
|
---|
68 | VBoxDisp_LIBS = \
|
---|
69 | $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
|
---|
70 | $(PATH_SDK_W2K3DDKX86_LIB)/win32k.lib \
|
---|
71 | $(PATH_LIB)/additions/RuntimeW32GuestR0$(VBOXW32GUEST_SUFF_LIB)
|
---|
72 | endif
|
---|
73 | ifndef VBOX_USE_VCC80
|
---|
74 | VBoxDisp_LIBS += \
|
---|
75 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/libcmt.lib
|
---|
76 | endif
|
---|
77 |
|
---|
78 |
|
---|
79 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
80 |
|
---|