VirtualBox

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

Last change on this file since 9637 was 9637, checked in by vboxsync, 17 years ago

Solved the mystery of the missing VBoxGuestNT install on addx.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 9637 2008-06-12 00:13:21Z 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
22DEPTH ?= ../../../../..
23SUB_DEPTH = ../..
24include $(KBUILD_PATH)/subheader.kmk
25
26#
27# VBoxGuest
28#
29SYSMODS += VBoxGuest
30VBoxGuest_TEMPLATE = VBOXGUESTR0
31ifdef VBOX_SIGN_ADDITIONS
32 VBoxGuest_NOINST = true
33endif
34VBoxGuest_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_HGCM VBOX_REBOOT_ON_UNINSTALL
35#VBoxGuest_DEFS += LOG_ENABLED
36VBoxGuest_INCS = ../include
37VBoxGuest_LDFLAGS.x86 = -Entry:DriverEntry@8
38VBoxGuest_LDFLAGS.amd64 = -Entry:DriverEntry
39VBoxGuest_SOURCES = \
40 VBoxGuest.cpp \
41 VBoxGuestPnP.cpp \
42 Helper.cpp \
43 VBoxGuest.rc
44VBoxGuest_LIBS = \
45 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
46 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
47 $(PATH_SDK_W2K3DDK_LIB)/win32k.lib \
48 $(VBOX_LIB_VBGL_R0BASE) \
49 $(VBOX_LIB_IPRT_GUEST_R0)
50
51
52#
53# VBoxGuestNT - NT version of the driver (x86 only).
54#
55SYSMODS.x86 += VBoxGuestNT
56ifeq (kBuild,0.1.4) # This doesn't work because of the VBoxGuest_NOINST stuff above. ## @todo kBuild: change the NOINST test from ifdef to ifneq ($(strip $($(target)_NOINST)),)
57VBoxGuestNT_EXTENDS = VBoxGuest
58else
59VBoxGuestNT_TEMPLATE = VBOXGUESTR0
60VBoxGuestNT_INCS = $(VBoxGuest_INCS)
61VBoxGuestNT_LDFLAGS.x86 = $(VBoxGuest_LDFLAGS.x86)
62endif
63VBoxGuestNT_DEFS = $(VBoxGuest_DEFS) TARGET_NT4
64VBoxGuestNT_SOURCES = \
65 VBoxGuest.cpp \
66 Helper.cpp \
67 NTLegacy.cpp \
68 VBoxGuest.rc
69VBoxGuestNT_LIBS = \
70 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib \
71 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
72 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
73 $(VBOX_LIB_VBGL_R0BASE) \
74 $(VBOX_LIB_IPRT_GUEST_R0_NT4)
75
76#
77# VBoxGuestInst - The installer.
78#
79#PROGRAMS += VBoxGuestInst
80VBoxGuestInst_TEMPLATE= VBOXGUESTR3EXE
81VBoxGuestInst_SOURCES = VBoxGuestInst.cpp
82
83include $(KBUILD_PATH)/subfooter.kmk
84
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette