Makefile.kmk revision 5601bfbc69ea7f9194242feb79e89441d8d241f9
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# $Id$
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync## @file
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# Sub-Makefile for the VirtualBox NT4 guest additions mouse driver.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync#
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync#
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync#
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# available from http://www.virtualbox.org. This file is free software;
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# you can redistribute it and/or modify it under the terms of the GNU
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# General Public License (GPL) as published by the Free Software
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync#
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync# additional information or have any questions.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync#
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncSUB_DEPTH = ../../../../..
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncSYSMODS.x86 += VBoxMouseNT
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_TEMPLATE = VBOXGUESTR0
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_DEFS = LOG_TO_BACKDOOR
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_INCS = \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_VBoxMouseNT) \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync ./include \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync ./i386
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_LDFLAGS = -Entry:DriverEntry@8
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_SOURCES = \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync i8042cmn.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync i8042dep.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync devdesc.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync kbdcmn.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync kbddep.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync moucmn.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync moudep.c \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync i8042prt.rc
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_LIBS = \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_SDK_W2K3DDK_LIB)/exsup.lib \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(VBOX_LIB_VBGL_R0) \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(VBOX_LIB_IPRT_GUEST_R0_NT4)
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_DEPS = \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_VBoxMouseNT)/i8042log.rc
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsyncVBoxMouseNT_CLEAN = \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_VBoxMouseNT)/i8042log.dbg \
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync $(PATH_VBoxMouseNT)/i8042log.h \
$(PATH_VBoxMouseNT)/i8042log.rc \
$(PATH_VBoxMouseNT)/MSG00001.bin
$$(PATH_VBoxMouseNT)/i8042log.rc: $(PATH_SUB_CURRENT)/i8042log.mc | $$(dir $$@)
$(call MSG_COMPILE,VBoxMouseNT,$<,$@,RC)
$(QUIET)$(WIN32_MC) \
-r $(PATH_VBoxMouseNT)/ \
-x $(PATH_VBoxMouseNT)/ \
-h $(PATH_VBoxMouseNT)/ \
$(subst /,\\,$<)
include $(KBUILD_PATH)/subfooter.kmk