XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/input/wacom/Imakefile,v 1.8 2001/01/24 00:06:39 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#if HasLinuxInput
DEFINES = -DLINUX_INPUT
#endif

SRCS = xf86Wacom.c
OBJS = xf86Wacom.o

DRIVER = wacom

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

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

ModuleObjectRule()

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

InstallObjectModule($(DRIVER),$(MODULEDIR),input)

#if !defined(XF86DriverSDK)
InstallModuleManPage($(DRIVER))
#endif

XCOMM Build a standalone executable to be able to test the driver without
XCOMM a running X server.
LinkFile(testwacom.c,xf86Wacom.c)
SpecialCObjectRule(testwacom,NullParameter,-DTEST)

DependTarget()

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