XCOMM
XCOMM This is an Imakefile for the glide driver.  
XCOMM
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/glide/Imakefile,v 1.7 2001/05/16 06:48:08 keithp Exp $

#define IHaveModules
#include <Server.tmpl>

#if !HasGlide2 || !defined(Glide2IncDir)
all::
	@echo "This driver requires that you define HasGlide2 and Glide2IncDir in host.def"
	@exit 1
install::
	@echo "This driver requires that you define HasGlide2 and Glide2IncDir in host.def"
	@exit 1
#endif

SRCS = glide_driver.c
OBJS = glide_driver.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(GLIDE2INCDIR) -I$(XF86COMSRC) -I$(XF86OSSRC) \
           -I$(SERVERSRC)/fb -I$(SERVERSRC)/mi \
           -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
           -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
           -I$(SERVERSRC)/Xext -I$(XF86SRC)/xf8_32bpp\
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
           -I$(XF86SRC)/xf24_32bpp -I$(XF86SRC)/shadowfb \
           -I$(EXTINCSRC) -I$(SERVERSRC)/render
#endif

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

ModuleObjectRule()

ObjectModuleTarget(glide,$(OBJS))

InstallObjectModule(glide,$(MODULEDIR),drivers)

InstallModuleManPage(glide)

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/glide)
InstallDriverSDKNonExecFile(glide_driver.c,$(DRIVERSDKDIR)/drivers/glide)

InstallDriverSDKObjectModule(glide,$(DRIVERSDKMODULEDIR),drivers)
