XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/vesa/Imakefile,v 1.6 2003/02/17 17:06:44 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

SRCS = vesa.c

OBJS = vesa.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(SERVERSRC)/fb -I$(XF86SRC)/xf4bpp -I$(XF86SRC)/xf1bpp \
	   -I$(XF86SRC)/xf24_32bpp \
	   -I$(SERVERSRC)/mfb -I$(SERVERSRC)/afb -I$(SERVERSRC)/mi \
	   -I$(SERVERSRC)/miext/shadow -I$(SERVERSRC)/render \
	   -I$(XF86SRC)/vgahw \
	   -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
	   -I$(SERVERSRC)/include -I$(FONTINCSRC) -I$(XINCLUDESRC)\
	   -I$(XF86SRC)/rac -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
	   -I$(XF86SRC)/vbe -I$(XF86SRC)/int10 \
	   -I$(EXTINCSRC)
#endif

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

ModuleObjectRule()

ObjectModuleTarget(vesa,$(OBJS))

InstallObjectModule(vesa,$(MODULEDIR),drivers)

#if !defined(XF86DriverSDK)
InstallModuleManPage(vesa)
#endif 

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/vesa)
InstallDriverSDKNonExecFile(vesa.c,$(DRIVERSDKDIR)/drivers/vesa)

InstallDriverSDKObjectModule(vesa,$(DRIVERSDKMODULEDIR),drivers)

