summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/ffb/Imakefile.inc
blob: 72db807975529ca95b7f77983c997e6367f28f54 (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
XCOMM $XFree86: xc/lib/GL/mesa/src/drv/ffb/Imakefile.inc,v 1.2 2001/05/02 15:06:03 dawes Exp $

#ifndef MesaDrvSrcDir
#define MesaDrvSrcDir $(GLXLIBSRC)/mesa/src/drv
#endif

MESADRVSRCDIR = MesaDrvSrcDir

#ifndef MesaDrvFfbBuildDir
#define MesaDrvFfbBuildDir /**/
#endif
MESADRVFFBBUILDDIR = MesaDrvFfbBuildDir

#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif

#if BuildXF86DRI
  DRI_DEFINES = GlxDefines
 DRI_INCLUDES = -I$(GLXLIBSRC)/dri -I$(GLXLIBSRC)/glx \
		-I$(INCLUDESRC) -I$(INCLUDESRC)/GL \
		-I$(GLXLIBSRC)/mesa/dri \
		-I$(SERVERSRC)/GL/dri \
		-I$(XF86OSSRC) \
		-I$(XF86DRIVERSRC)/sunffb \
		-I$(GLXLIBSRC)/dri/drm
#endif

MESA_INCLUDES = -I$(MESASRCDIR)/src -I$(MESADRVSRCDIR)/common \
		-I$(MESADRVSRCDIR)/ffb
   X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)


      FFBSRCS = $(MESADRVFFBBUILDDIR)ffb_dd.c \
		$(MESADRVFFBBUILDDIR)ffb_span.c \
		$(MESADRVFFBBUILDDIR)ffb_depth.c \
		$(MESADRVFFBBUILDDIR)ffb_state.c \
		$(MESADRVFFBBUILDDIR)ffb_clear.c \
		$(MESADRVFFBBUILDDIR)ffb_vb.c \
		$(MESADRVFFBBUILDDIR)ffb_lines.c \
		$(MESADRVFFBBUILDDIR)ffb_points.c \
		$(MESADRVFFBBUILDDIR)ffb_tris.c \
		$(MESADRVFFBBUILDDIR)ffb_pipeline.c \
		$(MESADRVFFBBUILDDIR)ffb_stencil.c \
		$(MESADRVFFBBUILDDIR)ffb_xmesa.c

      FFBOBJS = $(MESADRVFFBBUILDDIR)ffb_dd.o \
		$(MESADRVFFBBUILDDIR)ffb_span.o \
		$(MESADRVFFBBUILDDIR)ffb_depth.o \
		$(MESADRVFFBBUILDDIR)ffb_state.o \
		$(MESADRVFFBBUILDDIR)ffb_clear.o \
		$(MESADRVFFBBUILDDIR)ffb_vb.o \
		$(MESADRVFFBBUILDDIR)ffb_lines.o \
		$(MESADRVFFBBUILDDIR)ffb_points.o \
		$(MESADRVFFBBUILDDIR)ffb_tris.o \
		$(MESADRVFFBBUILDDIR)ffb_pipeline.o \
		$(MESADRVFFBBUILDDIR)ffb_stencil.o \
		$(MESADRVFFBBUILDDIR)ffb_xmesa.o

      FFBUOBJS = $(MESADRVFFBBUILDDIR)unshared/ffb_dd.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_span.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_depth.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_state.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_clear.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_vb.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_lines.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_points.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_tris.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_pipeline.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_stencil.o \
		$(MESADRVFFBBUILDDIR)unshared/ffb_xmesa.o

      FFBDOBJS = $(MESADRVFFBBUILDDIR)debugger/ffb_dd.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_span.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_depth.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_state.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_clear.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_vb.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_lines.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_points.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_tris.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_pipeline.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_stencil.o \
		$(MESADRVFFBBUILDDIR)debugger/ffb_xmesa.o

      FFBPOBJS = $(MESADRVFFBBUILDDIR)profiled/ffb_dd.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_span.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_depth.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_state.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_clear.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_vb.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_lines.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_points.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_tris.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_pipeline.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_stencil.o \
		$(MESADRVFFBBUILDDIR)profiled/ffb_xmesa.o

#ifdef NeedToLinkMesaSrc
LinkSourceFile(ffb_dd.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_span.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_depth.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_state.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_clear.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_vb.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_lines.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_points.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_tris.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_pipeline.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_stencil.c, $(MESADRVSRCDIR)/ffb)
LinkSourceFile(ffb_xmesa.c, $(MESADRVSRCDIR)/ffb)
#endif