XCOMM
XCOMM Imakefile for the VBox Linux Additions X.org mouse driver.
XCOMM (Only needed if this module is compiled as part of monolithic Xorg)
XCOMM
XCOMM
XCOMM  Copyright (C) 2006-2007 Sun Microsystems, Inc.
XCOMM 
XCOMM  This file is part of VirtualBox Open Source Edition (OSE), as
XCOMM  available from http://www.virtualbox.org. This file is free software;
XCOMM  you can redistribute it and/or modify it under the terms of the GNU
XCOMM  General Public License (GPL) as published by the Free Software
XCOMM  Foundation, in version 2 as it comes in the "COPYING" file of the
XCOMM  VirtualBox OSE distribution. VirtualBox OSE is distributed in the
XCOMM  hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
XCOMM 
XCOMM  Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
XCOMM  Clara, CA 95054 USA or visit http://www.sun.com if you need
XCOMM  additional information or have any questions.
XCOMM 

#define IHaveModules
#include <Server.tmpl>

SRCS = mouse.c pnp.c VBoxUtils.c
OBJS = mouse.o pnp.o VBoxUtils.o

DRIVER = vboxmouse

INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86SRC)/loader -I$(XF86OSSRC) \
	-I$(SERVERSRC)/mi -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
	-I$(EXTINCSRC)

DEFINES = -DPNP_MOUSE -DIN_RING3 -DVBOX
CCOPTIONS += -fno-merge-constants

#if MakeHasPosixVariableSubstitutions
SubdirLibraryRule($(OBJS))
#endif

ModuleObjectRule()

ObjectModuleTarget($(DRIVER),$(OBJS))

InstallInputObjectModule($(DRIVER),$(MODULEDIR))

DependTarget()

InstallDriverSDKObjectModule($(DRIVER),$(DRIVERSDKMODULEDIR),input)
