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