XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/Imakefile,v 1.5 2001/01/24 00:06:32 dawes Exp $
XCOMM
XCOMM This is an Imakefile for the v4l Xv driver.  
XCOMM

#define IHaveModules
#include <Server.tmpl>

SRCS = v4l.c
OBJS = v4l.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)/cfb -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
	   -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
	   -I$(XF86SRC)/xf24_32bpp -I$(FONTINCSRC) \
	   -I$(XF86SRC)/xf8_32bpp -I$(XF86SRC)/xf1bpp \
           -I$(XF86SRC)/xf4bpp -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
	   -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c -I$(EXTINCSRC)
#endif

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

ModuleObjectRule()

ObjectModuleTarget(v4l,$(OBJS))
InstallObjectModule(v4l,$(MODULEDIR),drivers/linux)

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

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/v4l)
InstallDriverSDKNonExecFile(v4l.c,$(DRIVERSDKDIR)/drivers/v4l)
InstallDriverSDKNonExecFile(videodev.h,$(DRIVERSDKDIR)/drivers/v4l)

InstallDriverSDKObjectModule(v4l,$(DRIVERSDKMODULEDIR),drivers/linux)
