summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/i810/Imakefile
blob: a7d0a488b3756fbc17891cff1b52085a5a724066 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/i810/Imakefile,v 1.18 2001/10/04 18:28:21 alanh Exp $
XCOMM
XCOMM This is the Imakefile for the i810 driver.  
XCOMM 

#define IHaveModules
#include <Server.tmpl>

#if BuildXF86DRI
DRISRCS = i810_dri.c i810_hwmc.c i830_dri.c
DRIOBJS = i810_dri.o i810_hwmc.o i830_dri.o
DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri \
	-I$(XF86OSSRC)/linux/drm/kernel -I$(TOP)/include
DRIDEFINES = $(GLX_DEFINES)
#endif

SRCS = 	i810_driver.c i810_cursor.c i810_accel.c i810_io.c	\
	i810_memory.c i810_wmark.c i810_dga.c i810_video.c \
	i830_driver.c $(DRISRCS)

OBJS = 	i810_driver.o i810_cursor.o i810_accel.o i810_io.o	\
	i810_memory.o i810_wmark.o i810_dga.o i810_video.o \
	i830_driver.o $(DRIOBJS)

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

LinkSourceFile(i830_3d_reg.h, $(GLXLIBSRC)/mesa/src/drv/i830)

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

ModuleObjectRule()

ObjectModuleTarget(i810,$(OBJS))

InstallObjectModule(i810,$(MODULEDIR),drivers)

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

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_accel.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_cursor.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_driver.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_dga.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_dri.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_dri.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_io.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_memory.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_wmark.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_reg.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_dri.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_dri.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_driver.c,$(DRIVERSDKDIR)/drivers/i810)

InstallDriverSDKObjectModule(i810,$(DRIVERSDKMODULEDIR),drivers)