1 | # $Id: Makefile.kmk 2981 2007-06-01 16:01:28Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the VirtualBox NT4 guest additions mouse 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 |
|
---|
22 | DEPTH ?= ../../../../..
|
---|
23 | SUB_DEPTH = ../..
|
---|
24 | include $(PATH_KBUILD)/subheader.kmk
|
---|
25 |
|
---|
26 |
|
---|
27 | SYSMODS += VBoxMouseNT
|
---|
28 | VBoxMouseNT_TEMPLATE = VBOXW32GUESTR0
|
---|
29 | VBoxMouseNT_SDKS = W2K3DDKX86 WINPSDKINCS
|
---|
30 | VBoxMouseNT_DEFS = LOG_TO_BACKDOOR
|
---|
31 | VBoxMouseNT_INCS = \
|
---|
32 | $(PATH_VBoxMouseNT) \
|
---|
33 | ./include \
|
---|
34 | ./i386
|
---|
35 | VBoxMouseNT_LDFLAGS = -Entry:DriverEntry@8
|
---|
36 | VBoxMouseNT_SOURCES = \
|
---|
37 | i8042cmn.c \
|
---|
38 | i8042dep.c \
|
---|
39 | devdesc.c \
|
---|
40 | kbdcmn.c \
|
---|
41 | kbddep.c \
|
---|
42 | moucmn.c \
|
---|
43 | moudep.c \
|
---|
44 | i8042prt.rc
|
---|
45 | VBoxMouseNT_LIBS = \
|
---|
46 | $(PATH_SDK_W2K3DDKX86_LIB)/exsup.lib \
|
---|
47 | $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
|
---|
48 | $(PATH_SDK_W2K3DDKX86_LIB)/ntoskrnl.lib \
|
---|
49 | $(PATH_SDK_W2K3DDKX86_LIB)/hal.lib \
|
---|
50 | $(PATH_LIB)/additions/VBoxGuestLib$(VBOXW32GUEST_SUFF_LIB) \
|
---|
51 | $(PATH_LIB)/additions/RuntimeW32NT4GuestR0$(VBOXW32GUEST_SUFF_LIB) \
|
---|
52 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/libcmt.lib
|
---|
53 | VBoxMouseNT_DEPS = \
|
---|
54 | $(PATH_VBoxMouseNT)/i8042log.rc
|
---|
55 | VBoxMouseNT_CLEAN = \
|
---|
56 | $(PATH_VBoxMouseNT)/i8042log.dbg \
|
---|
57 | $(PATH_VBoxMouseNT)/i8042log.h \
|
---|
58 | $(PATH_VBoxMouseNT)/i8042log.rc \
|
---|
59 | $(PATH_VBoxMouseNT)/MSG00001.bin
|
---|
60 |
|
---|
61 |
|
---|
62 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
63 |
|
---|
64 |
|
---|
65 | $(PATH_VBoxMouseNT)/i8042log.rc: $(VBoxMouseNT_PATH)/i8042log.mc | $(call DIRDEP,$(PATH_VBoxMouseNT))
|
---|
66 | $(call MSG_COMPILE,VBoxMouseNT,$<,$@,RC)
|
---|
67 | $(QUIET)$(WIN32_MC) \
|
---|
68 | -r $(PATH_VBoxMouseNT)/ \
|
---|
69 | -x $(PATH_VBoxMouseNT)/ \
|
---|
70 | -h $(PATH_VBoxMouseNT)/ \
|
---|
71 | $(subst /,\\,$<)
|
---|
72 |
|
---|