VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Mouse/NT4/Makefile.kmk

Last change on this file was 98511, checked in by vboxsync, 16 months ago

IPRT,/Config.kmk,Add/*.kmk: Drop int64.lib, use our own implementation from IPRT. bugref:10261

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 98511 2023-02-08 21:31:43Z vboxsync $
2## @file
3# Sub-Makefile for the VirtualBox NT4 guest additions mouse driver.
4#
5
6#
7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31SYSMODS.x86 += VBoxMouseNT
32VBoxMouseNT_TEMPLATE = VBoxGuestR0Drv
33VBoxMouseNT_DEFS = LOG_TO_BACKDOOR RT_WITHOUT_NOCRT_WRAPPERS TARGET_NT3
34VBoxMouseNT_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST_NT4)
35VBoxMouseNT_INCS = \
36 $(VBoxMouseNT_0_OUTDIR)
37VBoxMouseNT_LDFLAGS = -Entry:DriverEntry@8
38VBoxMouseNT_SOURCES = \
39 VBoxPS2NT.cpp \
40 VBoxPS2NT.rc \
41 ../../../../Runtime/r0drv/nt/nt3fakes-r0drv-nt.cpp \
42 ../../../../Runtime/r0drv/nt/nt3fakesA-r0drv-nt.asm \
43 ../../../../Runtime/common/string/strcmp.asm \
44 ../../../../Runtime/common/string/strchr.asm
45VBoxMouseNT_LIBS = \
46 $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
47 $(VBOX_LIB_VBGL_R0) \
48 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/exsup.lib \
49 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/ntoskrnl.lib \
50 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/hal.lib
51ifneq ($(VBOX_VCC_CC_GUARD_CF),)
52 VBoxMouseNT_LIBS.x86 += \
53 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB)/BufferOverflowK.lib
54endif
55VBoxMouseNT_CLEAN = \
56 $(VBoxMouseNT_0_OUTDIR)/VBoxMouseNT.pdb
57VBoxMouseNT_USES.win += vboximportchecker
58VBoxMouseNT_VBOX_IMPORT_CHECKER.win.x86 = nt31/r0
59
60include $(FILE_KBUILD_SUB_FOOTER)
61
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use