VirtualBox

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

Last change on this file since 16684 was 14491, checked in by vboxsync, 16 years ago

VBoxGuestNT/Makefile: Fixed makefile todo/warning.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 14491 2008-11-23 01:38:45Z vboxsync $
2## @file
3# Sub-Makefile for VBoxGuest (Windows Guest Additions Driver).
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
22SUB_DEPTH = ../../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25#
26# VBoxGuest
27#
28SYSMODS += VBoxGuest
29VBoxGuest_TEMPLATE = VBOXGUESTR0
30ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
31 VBoxGuest_NOINST = true
32endif
33VBoxGuest_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_WITH_HGCM VBOX_REBOOT_ON_UNINSTALL
34#VBoxGuest_DEFS += LOG_ENABLED
35VBoxGuest_INCS = ../include
36VBoxGuest_LDFLAGS.x86 = -Entry:DriverEntry@8
37VBoxGuest_LDFLAGS.amd64 = -Entry:DriverEntry
38VBoxGuest_SOURCES = \
39 VBoxGuest.cpp \
40 VBoxGuestPnP.cpp \
41 Helper.cpp \
42 VBoxGuest.rc
43VBoxGuest_LIBS = \
44 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
45 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
46 $(VBOX_LIB_VBGL_R0BASE) \
47 $(VBOX_LIB_IPRT_GUEST_R0)
48
49
50#
51# VBoxGuestNT - NT version of the driver (x86 only).
52#
53SYSMODS.x86 += VBoxGuestNT
54VBoxGuestNT_EXTENDS = VBoxGuest
55VBoxGuestNT_NOINST = $(NO_SUCH_VARIABLE)
56VBoxGuestNT_DEFS = $(VBoxGuest_DEFS) TARGET_NT4
57VBoxGuestNT_SOURCES = \
58 VBoxGuest.cpp \
59 Helper.cpp \
60 NTLegacy.cpp \
61 VBoxGuest.rc
62VBoxGuestNT_LIBS = \
63 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib \
64 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
65 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
66 $(VBOX_LIB_VBGL_R0BASE) \
67 $(VBOX_LIB_IPRT_GUEST_R0_NT4)
68
69#
70# VBoxGuestInst - The installer.
71#
72#PROGRAMS += VBoxGuestInst
73VBoxGuestInst_TEMPLATE= VBOXGUESTR3EXE
74VBoxGuestInst_SOURCES = VBoxGuestInst.cpp
75
76include $(KBUILD_PATH)/subfooter.kmk
77
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