VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/i8042prt/Makefile.kmk@ 12623

Last change on this file since 12623 was 12623, checked in by vboxsync, 16 years ago

i8042prt/Makefile: avoid PATH_VBoxMouseNT reference when its not defined (i.e. when build amd64).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Makefile.kmk 12623 2008-09-21 19:36:36Z vboxsync $
2## @file
3# Sub-Makefile for the VirtualBox NT4 guest additions mouse 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
22SUB_DEPTH = ../../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25ifeq ($(KBUILD_TARGET_ARCH),x86
26SYSMODS += VBoxMouseNT
27VBoxMouseNT_TEMPLATE = VBOXGUESTR0
28VBoxMouseNT_DEFS = LOG_TO_BACKDOOR
29VBoxMouseNT_INCS = \
30 $(PATH_VBoxMouseNT) \
31 ./include \
32 ./i386
33VBoxMouseNT_LDFLAGS = -Entry:DriverEntry@8
34VBoxMouseNT_SOURCES = \
35 i8042cmn.c \
36 i8042dep.c \
37 devdesc.c \
38 kbdcmn.c \
39 kbddep.c \
40 moucmn.c \
41 moudep.c \
42 i8042prt.rc
43VBoxMouseNT_LIBS = \
44 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib \
45 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
46 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
47 $(VBOX_LIB_VBGL_R0) \
48 $(VBOX_LIB_IPRT_GUEST_R0_NT4)
49VBoxMouseNT_DEPS = \
50 $(PATH_VBoxMouseNT)/i8042log.rc
51VBoxMouseNT_CLEAN = \
52 $(PATH_VBoxMouseNT)/i8042log.dbg \
53 $(PATH_VBoxMouseNT)/i8042log.h \
54 $(PATH_VBoxMouseNT)/i8042log.rc \
55 $(PATH_VBoxMouseNT)/MSG00001.bin
56
57$$(PATH_VBoxMouseNT)/i8042log.rc: $(PATH_SUB_CURRENT)/i8042log.mc | $$(dir $$@)
58 $(call MSG_COMPILE,VBoxMouseNT,$<,$@,RC)
59 $(QUIET)$(WIN32_MC) \
60 -r $(PATH_VBoxMouseNT)/ \
61 -x $(PATH_VBoxMouseNT)/ \
62 -h $(PATH_VBoxMouseNT)/ \
63 $(subst /,\\,$<)
64endif # x86
65
66include $(KBUILD_PATH)/subfooter.kmk
67
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