VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Mouse/NT5/Makefile.kmk@ 37163

Last change on this file since 37163 was 37163, checked in by vboxsync, 14 years ago

VBoxMouse: new mouse filter driver

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 37163 2011-05-20 11:46:18Z vboxsync $
2## @file
3# Makefile for the Windows NT5+ Guest Additions Mouse Filter Driver
4#
5
6#
7# Copyright (C) 2011 Oracle Corporation
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
18SUB_DEPTH = ../../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# VBoxMouse - Windows NT5+ Guest Additions Mouse Filter Driver
23#
24SYSMODS += VBoxMouse
25VBoxMouse_TEMPLATE = VBOXGUESTR0
26VBoxMouse_DEFS = LOG_TO_BACKDOOR
27#VBoxMouse_DEFS += LOG_ENABLED
28VBoxMouse_CXXFLAGS = -Od
29VBoxMouse_CFLAGS = -Od
30VBoxMouse_LDFLAGS.x86 = -Entry:DriverEntry@8
31VBoxMouse_LDFLAGS.amd64 = -Entry:DriverEntry
32VBoxMouse_SOURCES = VBoxMFDriver.cpp \
33 VBoxMFInternal.cpp \
34 VBoxMF.rc
35VBoxMouse_LIBS = \
36 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
37 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
38 $(VBOX_LIB_IPRT_GUEST_R0) \
39 $(VBOX_LIB_VBGL_R0)
40
41#
42# Install the inf & cat.
43#
44INSTALLS += VBoxMouse-inf
45VBoxMouse-inf_INST = $(INST_ADDITIONS)
46VBoxMouse-inf_MODE = a+r,u+w
47ifndef VBOX_SIGNING_MODE
48VBoxMouse-inf_SOURCES = VBoxMouse.inf
49else
50VBoxMouse-inf_SOURCES = \
51 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf \
52 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat
53VBoxMouse-inf_CLEAN += \
54 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat \
55 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys \
56 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf
57VBoxMouse-inf_BLDDIRS = $(PATH_TARGET)/VBoxMouseCat.dir
58
59$(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf: $(PATH_SUB_CURRENT)/VBoxMouse.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
60 $(call MSG_GENERATE,VBoxMouse-inf,$@,$<)
61 $(call VBOX_EDIT_INF_FN,$<,$@)
62
63$(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat: $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf $$(TARGET_VBoxMouse)
64 $(call MSG_TOOL,Inf2Cat,VBoxMouse-inf,$@,$<)
65 $(INSTALL) -m 644 $(TARGET_VBoxMouse) $(@D)
66 $(call VBOX_MAKE_CAT_FN, $(@D),$@)
67endif # signing
68
69include $(KBUILD_PATH)/subfooter.kmk
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