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