XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/i128/Imakefile,v 1.5 2003/02/17 17:06:42 dawes Exp $
XCOMM
XCOMM This is the Imakefile for the I128 driver.  
XCOMM

#define IHaveModules
#include <Server.tmpl>

SRCS = i128_driver.c i128init.c i128IBMDAC.c i128accel.c i128dga.c
OBJS = i128_driver.o i128init.o i128IBMDAC.o i128accel.o i128dga.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/fb \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi -I$(XF86SRC)/int10 \
           -I$(SERVERSRC)/cfb -I$(XF86SRC)/xaa -I$(XF86SRC)/rac \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/fbdevhw \
           -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$(XF86SRC)/vbe $(DRIINCLUDES) -I$(SERVERSRC)/render
#endif

DEFINES = $(DRIDEFINES)

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

ModuleObjectRule()

ObjectModuleTarget(i128,$(OBJS))

InstallObjectModule(i128,$(MODULEDIR),drivers)

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

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128.h,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128reg.h,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128_driver.c,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128accel.c,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128init.c,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128IBMDAC.c,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(Ti302X.h,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(IBMRGB.h,$(DRIVERSDKDIR)/drivers/i128)
InstallDriverSDKNonExecFile(i128dga.c,$(DRIVERSDKDIR)/drivers/i128)

InstallDriverSDKObjectModule(i128,$(DRIVERSDKMODULEDIR),drivers)

