XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tga/Imakefile,v 1.16 2001/03/19 11:00:54 alanh Exp $
XCOMM
XCOMM This is an Imakefile for the TGA driver.  
XCOMM

#define IHaveModules
#include <Server.tmpl>

SRCS = tga_driver.c tga_dac.c tga_accel.c BTramdac.c ICS1562.c BT463ramdac.c tga_cursor.c tga_line.c tga_seg.c IBM561ramdac.c
OBJS = tga_driver.o tga_dac.o tga_accel.o BTramdac.o ICS1562.o BT463ramdac.o tga_cursor.o tga_line.o tga_seg.o IBM561ramdac.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
           -I$(SERVERSRC)/fb -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
           -I$(XF86SRC)/rac -I$(EXTINCSRC) \
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
           -I$(SERVERSRC)/render
#endif

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

ModuleObjectRule()

ObjectFromSpecialSource(tga_seg, tga_line, -DPOLYSEGMENT)

ObjectModuleTarget(tga,$(OBJS))

InstallObjectModule(tga,$(MODULEDIR),drivers)

DependTarget()

InstallDriverSDKNonExecFile(BT463ramdac.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(BTramdac.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(IBM561ramdac.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(ICS1562.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga.h,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga_accel.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga_cursor.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga_dac.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga_driver.c,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga_regs.h,$(DRIVERSDKDIR)/drivers/tga)
InstallDriverSDKNonExecFile(tga_line.c,$(DRIVERSDKDIR)/drivers/tga)

InstallDriverSDKObjectModule(tga,$(DRIVERSDKMODULEDIR),drivers)
