XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/Imakefile,v 1.22 2001/07/02 10:46:04 alanh Exp $ #define IHaveModules #include #define IHaveSubdirs SUBDIRS = XF86CardDrivers DRIVERS = XF86CardDrivers OBJS = `cat driver.list` #if DoLoadableServer MakeSubdirs($(SUBDIRS)) #endif #if MakeHasPosixVariableSubstitutions DONES = $(SUBDIRS:%=%/DONE) #if HasGnuMake || HasBsdMake $(DONES): $(SUBDIRS) #endif #if !DoLoadableServer NormalDepLibraryTarget(driver,$(SUBDIRS) $(DONES) driver.list,$(OBJS)) #endif #else #if !DoLoadableServer NormalDepLibraryTarget(driver,$(SUBDIRS) driver.list,$(OBJS)) #endif #endif INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/include \ -I$(XINCLUDESRC) #if !DoLoadableServer ConfigTargetNoDepend(drvConf,$(ICONFIGFILES),confdrv.SHsuf,$(DRIVERS)) DriverObjectList($(DRIVERS),driver.list) #endif NormalLibraryObjectRule() ForceSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers)