summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/drivers/dri/tdfx/Imakefile.inc
blob: 51531e3764e6881370e230ed2e841530b94e0416 (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
XCOMM $XFree86: xc/lib/GL/mesa/src/drv/tdfx/Imakefile.inc,v 1.1 2001/03/23 19:18:44 dawes Exp $

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

MESADRVSRCDIR = MesaDrvSrcDir

#ifndef MesaDrvTdfxBuildDir
#define MesaDrvTdfxBuildDir /**/
#endif
MESADRVTDFXBUILDDIR = MesaDrvTdfxBuildDir

#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif

#if BuildXF86DRI
  DRI_DEFINES = GlxDefines -DX_BYTE_ORDER=ByteOrder
 DRI_INCLUDES = -I$(GLXLIBSRC)/dri \
		-I$(XINCLUDESRC) \
		-I$(GLXLIBSRC)/glx \
		-I$(GLXLIBSRC)/include \
		-I$(SERVERSRC)/GL/dri \
		-I$(XF86OSSRC) \
		-I$(XF86OSSRC)/shared/drm/kernel \
		-I$(XF86DRIVERSRC)/tdfx \
		-I$(GLXLIBSRC)/dri/drm
#endif

MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \
		-I$(MESASRCDIR)/src/mesa/main \
		-I$(MESASRCDIR)/src/mesa/glapi \
		-I$(MESASRCDIR)/include \
		-I$(MESADRVSRCDIR)/common \
		-I$(MESADRVSRCDIR)/tdfx
   X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)

     TDFXSRCS = $(MESADRVTDFXBUILDDIR)tdfx_context.c \
		$(MESADRVTDFXBUILDDIR)tdfx_dd.c \
		$(MESADRVTDFXBUILDDIR)tdfx_lock.c \
		$(MESADRVTDFXBUILDDIR)tdfx_pixels.c \
		$(MESADRVTDFXBUILDDIR)tdfx_render.c \
		$(MESADRVTDFXBUILDDIR)tdfx_screen.c \
		$(MESADRVTDFXBUILDDIR)tdfx_span.c \
		$(MESADRVTDFXBUILDDIR)tdfx_state.c \
		$(MESADRVTDFXBUILDDIR)tdfx_tex.c \
		$(MESADRVTDFXBUILDDIR)tdfx_texman.c \
		$(MESADRVTDFXBUILDDIR)tdfx_texstate.c \
		$(MESADRVTDFXBUILDDIR)tdfx_tris.c \
		$(MESADRVTDFXBUILDDIR)tdfx_vb.c

     TDFXOBJS = $(MESADRVTDFXBUILDDIR)tdfx_context.o \
		$(MESADRVTDFXBUILDDIR)tdfx_dd.o \
		$(MESADRVTDFXBUILDDIR)tdfx_lock.o \
		$(MESADRVTDFXBUILDDIR)tdfx_pixels.o \
		$(MESADRVTDFXBUILDDIR)tdfx_render.o \
		$(MESADRVTDFXBUILDDIR)tdfx_screen.o \
		$(MESADRVTDFXBUILDDIR)tdfx_span.o \
		$(MESADRVTDFXBUILDDIR)tdfx_state.o \
		$(MESADRVTDFXBUILDDIR)tdfx_tex.o \
		$(MESADRVTDFXBUILDDIR)tdfx_texman.o \
		$(MESADRVTDFXBUILDDIR)tdfx_texstate.o \
		$(MESADRVTDFXBUILDDIR)tdfx_tris.o \
		$(MESADRVTDFXBUILDDIR)tdfx_vb.o

     TDFXUOBJS = $(MESADRVTDFXBUILDDIR)unshared/tdfx_context.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_dd.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_lock.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_pixels.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_render.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_screen.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_span.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_state.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_tex.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_texman.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_texstate.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_tris.o \
		$(MESADRVTDFXBUILDDIR)unshared/tdfx_vb.o

     TDFXDOBJS = $(MESADRVTDFXBUILDDIR)debugger/tdfx_context.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_dd.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_lock.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_pixels.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_render.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_screen.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_span.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_state.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_tex.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_texman.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_texstate.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_tris.o \
		$(MESADRVTDFXBUILDDIR)debugger/tdfx_vb.o

     TDFXPOBJS = $(MESADRVTDFXBUILDDIR)profiled/tdfx_context.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_dd.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_lock.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_pixels.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_render.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_screen.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_span.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_state.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_tex.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_texman.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_texstate.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_tris.o \
		$(MESADRVTDFXBUILDDIR)profiled/tdfx_vb.o

#ifdef NeedToLinkMesaSrc
LinkSourceFile(dri_glide.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_context.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_context.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_dd.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_dd.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_glide.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_lock.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_lock.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_pixels.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_pixels.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_render.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_render.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_screen.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_screen.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_span.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_span.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_state.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_state.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_tex.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_tex.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_texman.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_texman.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_texstate.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_texstate.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_tris.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_tris.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_vb.c, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_vb.h, $(MESADRVSRCDIR)/tdfx)
LinkSourceFile(tdfx_vbtmp.h, $(MESADRVSRCDIR)/tdfx)
#endif