XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/input/wacom/Imakefile,v 1.7 2000/12/01 17:43:06 dawes Exp $ #define IHaveModules #include #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)