summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/v4l/Imakefile
blob: 1373d274aac18c9761b5a68e29d675abf0ecf35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/Imakefile,v 1.3 1999/08/14 10:49:57 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)
CppManTarget(v4l,)
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)