XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/Imakefile,v 1.11 2002/05/31 18:46:03 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#if DoLoadableServer
MODSRC = xf86RamDacMod.c
MODOBJ = xf86RamDacMod.o
#endif

SRCS = $(MODSRC) xf86RamDac.c xf86RamDacCmap.c xf86Cursor.c xf86HWCurs.c \
       xf86BitOrder.c IBM.c BT.c TI.c

OBJS = $(MODOBJ) xf86RamDac.o xf86RamDacCmap.o xf86Cursor.o xf86HWCurs.o \
       xf86BitOrder.o IBM.o BT.o TI.o

   INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
	      -I$(SERVERSRC)/cfb -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
              -I$(SERVERSRC)/include -I$(XINCLUDESRC) -I$(FONTINCSRC)
   LINTLIBS = ../../../dix/llib-ldix.ln ../../../os/llib-los.ln \
	     ../../mfb/llib-lmfb.ln ../../mi/llib-lmi.ln

DEPEND_DEFINES = -DRAMDAC_MODULE DependDefines

ModuleObjectRule()

LibraryModuleTarget(ramdac,$(OBJS))

NormalLintTarget($(SRCS))

InstallLibraryModule(ramdac,$(MODULEDIR),.)

ObjectFromSpecialSource(xf86BitOrder, ../xaa/xaaBitOrder, -DXAAReverseBitOrder=xf86ReverseBitOrder -DRAMDAC_MODULE)

DependTarget()

InstallDriverSDKLibraryModule(ramdac,$(DRIVERSDKMODULEDIR),.)

InstallDriverSDKNonExecFile(BT.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(IBM.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(TI.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(xf86Cursor.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(xf86RamDac.h,$(DRIVERSDKINCLUDEDIR))
