XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/xgi/Imakefile,v 1.33 2003/08/29 08:50:54 twini Exp $ XCOMM XCOMM This is an Imakefile for the XGI driver. XCOMM #define IHaveModules #include /* DRI static build only works on Linux */ #if !defined(LinuxArchitecture) && !DoLoadableServer && BuildXF86DRI #undef BuildXF86DRI #define BuildXF86DRI NO #endif #if BuildXF86DRI DRISRCS = DRIOBJS = DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri \ -I$(DRMSRCDIR)/shared \ -I$(XTOP)/include DRIDEFINES = $(GLX_DEFINES) #endif SRCS = vb_ext.c vb_init.c vb_setmode.c vb_util.c\ xgi_driver.c xgi_dac.c xgi_cursor.c xgi_accel.c xgi_setup.c\ xgi_vga.c xgi_vb.c\ xgi_opt.c xgi_dga.c init.c \ $(DRISRCS) OBJS = vb_ext.o vb_init.o vb_setmode.o vb_util.o\ xgi_driver.o xgi_dac.o xgi_cursor.o xgi_accel.o xgi_setup.o\ xgi_vga.o xgi_vb.o\ xgi_opt.o xgi_dga.o init.o \ $(DRIOBJS) #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)/xf1bpp -I$(XF86SRC)/xf4bpp \ -I$(XF86SRC)/xf24_32bpp \ -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \ -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c -I$(XF86SRC)/vbe \ -I$(XF86SRC)/rac -I$(XF86SRC)/int10 \ -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \ -I$(XTOP)/include/extensions \ -I$(SERVERSRC)/render \ -I$(XF86SRC)/shadowfb \ -I$(SERVERSRC)/hw/xfree86 \ $(DRIINCLUDES) #endif DEFINES = $(DRIDEFINES) #if MakeHasPosixVariableSubstitutions SubdirLibraryRule($(OBJS)) #endif ModuleObjectRule() ObjectModuleTarget(xgiz,$(OBJS)) InstallObjectModule(xgiz,$(MODULEDIR),drivers) #if !defined(XF86DriverSDK) InstallModuleManPage(xgiz) #endif DependTarget() InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_accel.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_accel.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(init.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(init.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(osdef.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(initdef.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_cursor.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_cursor.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_dac.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_dac.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_dga.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_common.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_driver.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_driver.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_opt.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(regs.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_setup.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_vb.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_vb.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_vga.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_accel.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vgatypes.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_ver.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_struct.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_def.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_ext.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_init.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_setmode.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_util.c,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_ext.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_init.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_setmode.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_util.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_struct.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(vb_table.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_pci.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(xgi_regs.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKNonExecFile(valid_mode.h,$(DRIVERSDKDIR)/drivers/xgi) InstallDriverSDKObjectModule(xgi,$(DRIVERSDKMODULEDIR),drivers)