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
|
XCOMM $XFree86: xc/lib/GL/mesa/src/drv/r128/Imakefile.inc,v 1.3 2001/05/02 15:06:04 dawes Exp $
#ifndef MesaDrvSrcDir
#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri
#endif
MESADRVSRCDIR = MesaDrvSrcDir
#ifndef MesaDrvR128BuildDir
#define MesaDrvR128BuildDir /**/
#endif
MESADRVR128BUILDDIR = MesaDrvR128BuildDir
#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif
#if BuildXF86DRI
DRI_DEFINES = GlxDefines -DX_BYTE_ORDER=ByteOrder -DUSE_NEW_INTERFACE -DIN_DRI_DRIVER
DRI_INCLUDES = -I$(GLXLIBSRC)/dri \
-I$(XINCLUDESRC) \
-I$(GLXLIBSRC)/glx \
-I$(GLXLIBSRC)/include \
-I$(SERVERSRC)/GL/dri \
-I$(XF86OSSRC) \
-I$(XF86COMSRC) \
-I$(DRMSRCDIR)/shared-core \
-I$(XF86DRIVERSRC)/ati \
-I$(GLXLIBSRC)/dri/drm
#endif
MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
-I$(MESASRCDIR)/src/mesa/main \
-I$(MESASRCDIR)/src/mesa/glapi \
-I$(MESASRCDIR)/src/mesa/shader \
-I$(MESASRCDIR)/include \
-I$(MESADRVSRCDIR)/common \
-I$(MESADRVSRCDIR)/r128
X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
R128SRCS = $(MESADRVR128BUILDDIR)r128_context.c \
$(MESADRVR128BUILDDIR)r128_dd.c \
$(MESADRVR128BUILDDIR)r128_ioctl.c \
$(MESADRVR128BUILDDIR)r128_lock.c \
$(MESADRVR128BUILDDIR)r128_screen.c \
$(MESADRVR128BUILDDIR)r128_span.c \
$(MESADRVR128BUILDDIR)r128_state.c \
$(MESADRVR128BUILDDIR)r128_tex.c \
$(MESADRVR128BUILDDIR)r128_texmem.c \
$(MESADRVR128BUILDDIR)r128_texstate.c \
$(MESADRVR128BUILDDIR)r128_tris.c
R128OBJS = $(MESADRVR128BUILDDIR)r128_context.o \
$(MESADRVR128BUILDDIR)r128_dd.o \
$(MESADRVR128BUILDDIR)r128_ioctl.o \
$(MESADRVR128BUILDDIR)r128_lock.o \
$(MESADRVR128BUILDDIR)r128_screen.o \
$(MESADRVR128BUILDDIR)r128_span.o \
$(MESADRVR128BUILDDIR)r128_state.o \
$(MESADRVR128BUILDDIR)r128_tex.o \
$(MESADRVR128BUILDDIR)r128_texmem.o \
$(MESADRVR128BUILDDIR)r128_texstate.o \
$(MESADRVR128BUILDDIR)r128_tris.o
R128UOBJS = $(MESADRVR128BUILDDIR)unshared/r128_context.o \
$(MESADRVR128BUILDDIR)unshared/r128_dd.o \
$(MESADRVR128BUILDDIR)unshared/r128_ioctl.o \
$(MESADRVR128BUILDDIR)unshared/r128_lock.o \
$(MESADRVR128BUILDDIR)unshared/r128_screen.o \
$(MESADRVR128BUILDDIR)unshared/r128_span.o \
$(MESADRVR128BUILDDIR)unshared/r128_state.o \
$(MESADRVR128BUILDDIR)unshared/r128_tex.o \
$(MESADRVR128BUILDDIR)unshared/r128_texmem.o \
$(MESADRVR128BUILDDIR)unshared/r128_texstate.o \
$(MESADRVR128BUILDDIR)unshared/r128_tris.o
R128DOBJS = $(MESADRVR128BUILDDIR)debugger/r128_context.o \
$(MESADRVR128BUILDDIR)debugger/r128_dd.o \
$(MESADRVR128BUILDDIR)debugger/r128_ioctl.o \
$(MESADRVR128BUILDDIR)debugger/r128_lock.o \
$(MESADRVR128BUILDDIR)debugger/r128_screen.o \
$(MESADRVR128BUILDDIR)debugger/r128_span.o \
$(MESADRVR128BUILDDIR)debugger/r128_state.o \
$(MESADRVR128BUILDDIR)debugger/r128_tex.o \
$(MESADRVR128BUILDDIR)debugger/r128_texmem.o \
$(MESADRVR128BUILDDIR)debugger/r128_texstate.o \
$(MESADRVR128BUILDDIR)debugger/r128_tris.o
R128POBJS = $(MESADRVR128BUILDDIR)profiled/r128_context.o \
$(MESADRVR128BUILDDIR)profiled/r128_dd.o \
$(MESADRVR128BUILDDIR)profiled/r128_ioctl.o \
$(MESADRVR128BUILDDIR)profiled/r128_lock.o \
$(MESADRVR128BUILDDIR)profiled/r128_screen.o \
$(MESADRVR128BUILDDIR)profiled/r128_span.o \
$(MESADRVR128BUILDDIR)profiled/r128_state.o \
$(MESADRVR128BUILDDIR)profiled/r128_tex.o \
$(MESADRVR128BUILDDIR)profiled/r128_texmem.o \
$(MESADRVR128BUILDDIR)profiled/r128_texstate.o \
$(MESADRVR128BUILDDIR)profiled/r128_tris.o
#ifdef NeedToLinkMesaSrc
LinkSourceFile(r128_context.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_context.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_dd.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_dd.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_ioctl.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_ioctl.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_lock.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_lock.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_screen.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_screen.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_span.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_span.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_state.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_state.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_tex.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_tex.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_texmem.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_texobj.h, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_texstate.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_tris.c, $(MESADRVSRCDIR)/r128)
LinkSourceFile(r128_tris.h, $(MESADRVSRCDIR)/r128)
#endif
|