VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxGuest/Makefile.kmk@ 2981

Last change on this file since 2981 was 2981, checked in by vboxsync, 18 years ago

InnoTek -> innotek: all the headers and comments.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Makefile.kmk 2981 2007-06-01 16:01:28Z vboxsync $
2## @file
3# Sub-Makefile for VBoxGuest (Windows Guest Additions Driver).
4#
5
6#
7# Copyright (C) 2006-2007 innotek 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
22DEPTH ?= ../../../../..
23SUB_DEPTH = ../..
24include $(PATH_KBUILD)/subheader.kmk
25
26#
27# VBoxGuest
28#
29SYSMODS += VBoxGuest
30VBoxGuest_TEMPLATE = VBOXW32GUESTR0
31ifdef VBOX_SIGN_ADDITIONS
32 VBoxGuest_NOINST = true
33endif
34VBoxGuest_SDKS = W2K3DDKX86 WINPSDKINCS
35VBoxGuest_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_HGCM VBOX_REBOOT_ON_UNINSTALL
36#VBoxGuest_DEFS += LOG_ENABLED
37VBoxGuest_LDFLAGS = -Entry:DriverEntry@8
38VBoxGuest_SOURCES = \
39 VBoxGuest.cpp \
40 VBoxGuestPnP.cpp \
41 Helper.cpp \
42 VBoxGuest.rc
43VBoxGuest_LIBS = \
44 $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
45 $(PATH_SDK_W2K3DDKX86_LIB)/win32k.lib \
46 $(PATH_SDK_W2K3DDKX86_LIB)/ntoskrnl.lib \
47 $(PATH_SDK_W2K3DDKX86_LIB)/hal.lib \
48 $(PATH_LIB)/additions/VBoxGuestLibBase$(VBOXW32GUEST_SUFF_LIB) \
49 $(PATH_LIB)/additions/RuntimeW32GuestR0$(VBOXW32GUEST_SUFF_LIB)
50
51
52#
53# VBoxGuestNT - NT version of the driver.
54#
55SYSMODS += VBoxGuestNT
56VBoxGuestNT_TEMPLATE = VBOXW32GUESTR0
57VBoxGuestNT_SDKS = W2K3DDKX86 WINPSDKINCS
58VBoxGuestNT_DEFS = $(VBoxGuest_DEFS) TARGET_NT4
59VBoxGuestNT_INCS = $(VBoxGuest_INCS)
60VBoxGuestNT_LDFLAGS = $(VBoxGuest_LDFLAGS)
61VBoxGuestNT_SOURCES = \
62 VBoxGuest.cpp \
63 Helper.cpp \
64 NTLegacy.cpp \
65 VBoxGuest.rc
66VBoxGuestNT_LIBS = \
67 $(PATH_SDK_W2K3DDKX86_LIB)/exsup.lib \
68 $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
69 $(PATH_SDK_W2K3DDKX86_LIB)/ntoskrnl.lib \
70 $(PATH_SDK_W2K3DDKX86_LIB)/hal.lib \
71 $(PATH_LIB)/additions/VBoxGuestLibBase$(VBOXW32GUEST_SUFF_LIB) \
72 $(PATH_LIB)/additions/RuntimeW32NT4GuestR0$(VBOXW32GUEST_SUFF_LIB)
73# $(PATH_SDK_W2K3DDKX86_LIB)/win32k.lib - not needed?
74
75
76#
77# VBoxGuestInst - The installer.
78#
79#PROGRAMS += VBoxGuestInst
80VBoxGuestInst_TEMPLATE= VBOXW32GUESTR3
81VBoxGuestInst_SOURCES = VBoxGuestInst.cpp
82
83include $(PATH_KBUILD)/subfooter.kmk
84
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