aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/radeon/Imakefile.inc
blob: 9c95c546331331b19427224a8cf9c619d438ea1a (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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
XCOMM $XFree86: xc/lib/GL/mesa/src/drv/radeon/Imakefile.inc,v 1.3 2002/02/22 21:45:00 dawes Exp $

#ifndef MesaDrvSrcDir
#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri
#endif

MESADRVSRCDIR = MesaDrvSrcDir

#ifndef MesaDrvRadeonBuildDir
#define MesaDrvRadeonBuildDir /**/
#endif
MESADRVRADEONBUILDDIR = MesaDrvRadeonBuildDir

#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)/radeon \
                -I$(MESADRVSRCDIR)/radeon/server
   X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)

   RADEONSRCS = $(MESADRVRADEONBUILDDIR)radeon_context.c \
		$(MESADRVRADEONBUILDDIR)radeon_compat.c \
		$(MESADRVRADEONBUILDDIR)radeon_ioctl.c \
		$(MESADRVRADEONBUILDDIR)radeon_lock.c \
		$(MESADRVRADEONBUILDDIR)radeon_maos.c \
	        $(MESADRVRADEONBUILDDIR)radeon_sanity.c \
	        $(MESADRVRADEONBUILDDIR)radeon_screen.c \
		$(MESADRVRADEONBUILDDIR)radeon_span.c \
		$(MESADRVRADEONBUILDDIR)radeon_state.c \
		$(MESADRVRADEONBUILDDIR)radeon_state_init.c \
		$(MESADRVRADEONBUILDDIR)radeon_swtcl.c \
		$(MESADRVRADEONBUILDDIR)radeon_tcl.c \
		$(MESADRVRADEONBUILDDIR)radeon_tex.c \
		$(MESADRVRADEONBUILDDIR)radeon_texmem.c \
		$(MESADRVRADEONBUILDDIR)radeon_texstate.c \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt.c \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt_x86.c \
		$(MESADRVRADEONBUILDDIR)radeon_vtxtmp_x86.S \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt_sse.c \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt_c.c

   RADEONOBJS = $(MESADRVRADEONBUILDDIR)radeon_context.o \
		$(MESADRVRADEONBUILDDIR)radeon_compat.o \
		$(MESADRVRADEONBUILDDIR)radeon_ioctl.o \
		$(MESADRVRADEONBUILDDIR)radeon_lock.o \
		$(MESADRVRADEONBUILDDIR)radeon_maos.o \
	        $(MESADRVRADEONBUILDDIR)radeon_sanity.o \
	        $(MESADRVRADEONBUILDDIR)radeon_screen.o \
		$(MESADRVRADEONBUILDDIR)radeon_span.o \
		$(MESADRVRADEONBUILDDIR)radeon_state.o \
		$(MESADRVRADEONBUILDDIR)radeon_state_init.o \
		$(MESADRVRADEONBUILDDIR)radeon_swtcl.o \
		$(MESADRVRADEONBUILDDIR)radeon_tcl.o \
		$(MESADRVRADEONBUILDDIR)radeon_tex.o \
		$(MESADRVRADEONBUILDDIR)radeon_texmem.o \
		$(MESADRVRADEONBUILDDIR)radeon_texstate.o \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt.o \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt_c.o

#ifdef i386Architecture
   RADEONOBJS += $(MESADRVRADEONBUILDDIR)radeon_vtxfmt_x86.o \
		$(MESADRVRADEONBUILDDIR)radeon_vtxtmp_x86.o \
		$(MESADRVRADEONBUILDDIR)radeon_vtxfmt_sse.o 
#endif

   RADEONUOBJS = $(MESADRVRADEONBUILDDIR)unshared/radeon_context.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_compat.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_ioctl.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_lock.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_maos.o \
	        $(MESADRVRADEONBUILDDIR)unshared/radeon_sanity.o \
	        $(MESADRVRADEONBUILDDIR)unshared/radeon_screen.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_span.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_state.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_state_init.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_swtcl.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_tcl.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_tex.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_texmem.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_texstate.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_vtxfmt.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_vtxfmt_c.o

#ifdef i386Architecture
   RADEONUOBJS += $(MESADRVRADEONBUILDDIR)unshared/radeon_vtxfmt_x86.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_vtxtmp_x86.o \
		$(MESADRVRADEONBUILDDIR)unshared/radeon_vtxfmt_sse.o 
#endif

   RADEONDOBJS = $(MESADRVRADEONBUILDDIR)debugger/radeon_context.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_compat.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_ioctl.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_lock.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_maos.o \
	        $(MESADRVRADEONBUILDDIR)debugger/radeon_sanity.o \
	        $(MESADRVRADEONBUILDDIR)debugger/radeon_screen.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_span.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_state.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_state_init.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_swtcl.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_tcl.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_tex.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_texmem.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_texstate.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_vtxfmt.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_vtxfmt_c.o

#ifdef i386Architecture
   RADEONDOBJS += $(MESADRVRADEONBUILDDIR)debugger/radeon_vtxfmt_x86.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_vtxtmp_x86.o \
		$(MESADRVRADEONBUILDDIR)debugger/radeon_vtxfmt_sse.o 
#endif

   RADEONPOBJS = $(MESADRVRADEONBUILDDIR)profiled/radeon_context.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_compat.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_ioctl.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_lock.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_maos.o \
	        $(MESADRVRADEONBUILDDIR)profiled/radeon_sanity.o \
	        $(MESADRVRADEONBUILDDIR)profiled/radeon_screen.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_span.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_state.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_state_init.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_swtcl.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_tcl.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_tex.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_texmem.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_texstate.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_vtxfmt.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_vtxfmt_c.o

#ifdef i386Architecture
   RADEONPOBJS += $(MESADRVRADEONBUILDDIR)profiled/radeon_vtxfmt_x86.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_vtxtmp_x86.o \
		$(MESADRVRADEONBUILDDIR)profiled/radeon_vtxfmt_sse.o 
#endif

#ifdef NeedToLinkMesaSrc
LinkSourceFile(radeon_context.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_context.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_compat.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_ioctl.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_ioctl.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_lock.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_lock.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_maos.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_maos.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_maos_vbtmp.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_sanity.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_sanity.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_screen.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_screen.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_span.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_span.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_state.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_state.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_state_init.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_swtcl.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_swtcl.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_tcl.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_tcl.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_tex.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_tex.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_texmem.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_texstate.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_vtxfmt.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_vtxfmt.h, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_vtxfmt_c.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_vtxfmt_x86.c, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_vtxtmp_x86.S, $(MESADRVSRCDIR)/radeon)
LinkSourceFile(radeon_vtxfmt_sse.c, $(MESADRVSRCDIR)/radeon)
#endif