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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/i810/Imakefile,v 1.21 2002/09/12 04:08:25 dawes Exp $
XCOMM
XCOMM This is the Imakefile for the i810 driver.
XCOMM
#define IHaveModules
#include <Server.tmpl>
#ifndef I830Only
#define I830Only NO
#endif
#define I830XvSupport YES
#ifndef I830XvSupport
#define I830XvSupport NO
#endif
#ifndef HaveDrmCommand
#define HaveDrmCommand NO
#endif
#if BuildXF86DRI
#if !I830Only
I810DRISRCS = i810_dri.c i810_hwmc.c
I810DRIOBJS = i810_dri.o i810_hwmc.o
#endif
I830DRISRCS = i830_dri.c
I830DRIOBJS = i830_dri.o
DRISRCS = $(I810DRISRCS) $(I830DRISRCS)
DRIOBJS = $(I810DRIOBJS) $(I830DRIOBJS)
DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri \
-I$(XF86OSSRC)/linux/drm/kernel -I$(TOP)/include
#if HaveDrmCommand
DRMCOMMANDDEFINES = -DHAVE_DRM_COMMAND
#endif
DRIDEFINES = $(GLX_DEFINES) $(DRMCOMMANDDEFINES)
#endif
#if I830XvSupport
I830SRCS1 = i830_video.c
I830OBJS1 = i830_video.o
#endif
#if XF86Compat42
I830SRCS2 = i830_vbe.c
I830OBJS2 = i830_vbe.o
#endif
#if !I830Only
I810SRCS = i810_cursor.c i810_accel.c i810_memory.c i810_wmark.c i810_dga.c \
i810_video.c i810_io.c
I810OBJS = i810_cursor.o i810_accel.o i810_memory.o i810_wmark.o i810_dga.o \
i810_video.o i810_io.o
#endif
I830SRCS = i830_driver.c i830_memory.c i830_cursor.c i830_accel.c i830_io.c \
i830_dga.c $(I830SRCS1) $(I830SRCS2)
I830OBJS = i830_driver.o i830_memory.o i830_cursor.o i830_accel.o i830_io.o \
i830_dga.o $(I830OBJS1) $(I830OBJS2)
SRCS = i810_driver.c \
$(I810SRCS) $(I830SRCS) $(DRISRCS)
OBJS = i810_driver.o \
$(I810OBJS) $(I830OBJS) $(DRIOBJS)
#if I830Only
CHIPDEFINES = -DI830_ONLY
#endif
#if I830XvSupport
I830XVDEFINES = -DI830_XV
#endif
#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$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
-I$(EXTINCSRC) -I$(SERVERSRC)/render \
$(DRIINCLUDES)
#endif
DEFINES = $(DRIDEFINES) $(CHIPDEFINES) $(I830XVDEFINES)
#if BuildXF86DRI
LinkSourceFile(i830_3d_reg.h, $(GLXLIBSRC)/mesa/src/drv/i830)
#endif
ObjectFromSpecialSource(i830_io, i810_io, -DBUILD_FOR_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(common.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_accel.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_common.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_cursor.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_driver.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_hwmc.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_io.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_memory.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_reg.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_video.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i810_wmark.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_accel.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_common.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_cursor.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_dga.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_dri.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_dri.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_driver.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_memory.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_vbe.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_vbe.h,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKNonExecFile(i830_video.c,$(DRIVERSDKDIR)/drivers/i810)
InstallDriverSDKObjectModule(i810,$(DRIVERSDKMODULEDIR),drivers)
|