1 | #
|
---|
2 | # Makefile for VBoxGuest (Windows Guest Additions Driver).
|
---|
3 | #
|
---|
4 |
|
---|
5 | #
|
---|
6 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
7 | #
|
---|
8 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | # available from http://www.virtualbox.org. This file is free software;
|
---|
10 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | # General Public License as published by the Free Software Foundation,
|
---|
12 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | #
|
---|
16 | # If you received this file as part of a commercial VirtualBox
|
---|
17 | # distribution, then only the terms of your commercial VirtualBox
|
---|
18 | # license agreement apply instead of the previous paragraph.
|
---|
19 | #
|
---|
20 |
|
---|
21 | DEPTH = ../../../../..
|
---|
22 | include $(PATH_KBUILD)/header.kmk
|
---|
23 |
|
---|
24 | SYSMODS = VBoxGuest VBoxGuestNT
|
---|
25 | #PROGRAMS = VBoxGuestInst
|
---|
26 |
|
---|
27 | #
|
---|
28 | # VBoxGuest
|
---|
29 | #
|
---|
30 | VBoxGuest_TEMPLATE = VBOXW32GUESTR0
|
---|
31 | VBoxGuest_SDKS = W2K3DDKX86 WINPSDKINCS
|
---|
32 | VBoxGuest_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_HGCM VBOX_REBOOT_ON_UNINSTALL
|
---|
33 | #VBoxGuest_DEFS += LOG_ENABLED
|
---|
34 | VBoxGuest_LDFLAGS = -Entry:DriverEntry@8
|
---|
35 | VBoxGuest_SOURCES = \
|
---|
36 | VBoxGuest.cpp \
|
---|
37 | VBoxGuestPnP.cpp \
|
---|
38 | Helper.cpp \
|
---|
39 | VBoxGuest.rc
|
---|
40 | VBoxGuest_LIBS = \
|
---|
41 | $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
|
---|
42 | $(PATH_SDK_W2K3DDKX86_LIB)/win32k.lib \
|
---|
43 | $(PATH_SDK_W2K3DDKX86_LIB)/ntoskrnl.lib \
|
---|
44 | $(PATH_SDK_W2K3DDKX86_LIB)/hal.lib \
|
---|
45 | $(PATH_LIB)/additions/VBoxGuestLibBase$(VBOXW32GUEST_SUFF_LIB) \
|
---|
46 | $(PATH_LIB)/additions/RuntimeW32GuestR0$(VBOXW32GUEST_SUFF_LIB)
|
---|
47 |
|
---|
48 | #
|
---|
49 | # VBoxGuestNT - NT version of the driver.
|
---|
50 | #
|
---|
51 | VBoxGuestNT_TEMPLATE = VBOXW32GUESTR0
|
---|
52 | VBoxGuestNT_SDKS = W2K3DDKX86 WINPSDKINCS
|
---|
53 | VBoxGuestNT_DEFS = $(VBoxGuest_DEFS) TARGET_NT4
|
---|
54 | VBoxGuestNT_INCS = $(VBoxGuest_INCS)
|
---|
55 | VBoxGuestNT_LDFLAGS = $(VBoxGuest_LDFLAGS)
|
---|
56 | VBoxGuestNT_SOURCES = \
|
---|
57 | VBoxGuest.cpp \
|
---|
58 | Helper.cpp \
|
---|
59 | NTLegacy.cpp \
|
---|
60 | VBoxGuest.rc
|
---|
61 | VBoxGuestNT_LIBS = \
|
---|
62 | $(PATH_SDK_W2K3DDKX86_LIB)/exsup.lib \
|
---|
63 | $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
|
---|
64 | $(PATH_SDK_W2K3DDKX86_LIB)/ntoskrnl.lib \
|
---|
65 | $(PATH_SDK_W2K3DDKX86_LIB)/hal.lib \
|
---|
66 | $(PATH_LIB)/additions/VBoxGuestLibBase$(VBOXW32GUEST_SUFF_LIB) \
|
---|
67 | $(PATH_LIB)/additions/RuntimeW32NT4GuestR0$(VBOXW32GUEST_SUFF_LIB)
|
---|
68 | # $(PATH_SDK_W2K3DDKX86_LIB)/win32k.lib - not needed?
|
---|
69 |
|
---|
70 | #
|
---|
71 | # VBoxGuestInst - The installer.
|
---|
72 | #
|
---|
73 | VBoxGuestInst_TEMPLATE= VBOXW32GUESTR3
|
---|
74 | VBoxGuestInst_SOURCES = VBoxGuestInst.cpp
|
---|
75 |
|
---|
76 | include $(PATH_KBUILD)/footer.kmk
|
---|
77 |
|
---|