XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/input/Imakefile,v 1.15 2002/05/31 18:46:00 dawes Exp $ #define IHaveModules #include #define IHaveSubdirs #if JoystickSupport JOYSTICKDIR = joystick #endif #if UseDeprecatedKeyboardDriver BUILTIN=xf86KEYBOARD KBD #else BUILTIN=KBD #endif SUBDIRS = XInputDrivers $(JOYSTICKDIR) DRIVERS = XInputDrivers OBJS = `cat idriver.list` #if DoLoadableServer MakeSubdirs($(SUBDIRS)) #endif #if MakeHasPosixVariableSubstitutions DONES = $(DRIVERS:%=%/DONE) #if HasGnuMake || HasBsdMake $(DONES): $(SUBDIRS) #endif #if !DoLoadableServer NormalDepLibraryTarget(idriver,$(SUBDIRS) $(DONES) idriver.list,$(OBJS)) #endif #else #if !DoLoadableServer NormalDepLibraryTarget(idriver,$(SUBDIRS) idriver.list,$(OBJS)) #endif #endif INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/include \ -I$(EXTINCSRC) -I$(XINCLUDESRC) #if !DoLoadableServer ConfigTargetNoDepend(drvConf,$(ICONFIGFILES),confdrv.SHsuf,$(BUILTIN) $(DRIVERS)) DriverObjectList($(DRIVERS),idriver.list) #endif NormalLibraryObjectRule() ForceSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS))