XCOMM $XConsortium: Imakefile /main/6 1996/09/28 17:29:38 rws $





XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/vga/Imakefile,v 1.13 2001/10/01 13:44:12 eich Exp $




#define IHaveModules
#include <Server.tmpl>

SRCS = generic.c

OBJS = generic.o

#if defined(AlphaArchitecture)
DEFINES = -DSPECIAL_FB_BYTE_ACCESS
#endif

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

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

ModuleObjectRule()

ObjectModuleTarget(vga,$(OBJS))

InstallObjectModule(vga,$(MODULEDIR),drivers)

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

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/vga)
InstallDriverSDKNonExecFile(generic.c,$(DRIVERSDKDIR)/drivers/vga)

InstallDriverSDKObjectModule(vga,$(DRIVERSDKMODULEDIR),drivers)

