2 SRCS.mesa= api_arrayelt.c \
77 # XXX avoid source name clashes with glx
78 .PATH: ${X11SRCDIR.MesaLib}/src/mesa/main
79 BUILDSYMLINKS= ${X11SRCDIR.MesaLib}/src/mesa/main/pixel.c MESApixel.c \
80 ${X11SRCDIR.MesaLib}/src/mesa/main/eval.c MESAeval.c
85 .PATH: ${X11SRCDIR.MesaLib}/src/mesa/math
86 SRCS.math= m_debug_clip.c \
97 .PATH: ${X11SRCDIR.MesaLib}/src/mesa/swrast
98 SRCS.swrast= _aaline.c \
130 .PATH: ${X11SRCDIR.MesaLib}/src/mesa/swrast_setup
131 SRCS.ss= ss_context.c \
136 .PATH: ${X11SRCDIR.MesaLib}/src/mesa/tnl
137 SRCS.tnl= t_context.c \
157 .for fn in ${SRCS.glx} ${SRCS.dri} ${SRCS.mesa}
158 CPPFLAGS.${fn}+=-I${X11SRCDIR.xc}/lib/GL/dri \
159 -I${X11SRCDIR.xc}/lib/GL/glx \
160 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
161 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel \
162 -I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
163 -I${X11SRCDIR.MesaLib}/src/mesa/array_cache \
164 -I${X11SRCDIR.MesaLib}/src/mesa \
165 -I${X11SRCDIR.MesaLib}/src/mesa/swrast_setup \
166 -I${X11SRCDIR.MesaLib}/src/mesa/tnl \
167 -I${X11SRCDIR.MesaLib}/src/mesa/include
168 CPPFLAGS.${fn}+=${X11FLAGS.DRI}
171 SRCS+= ${SRCS.dri} ${SRCS.mesa} ${SRCS.ac} ${SRCS.math} \
172 ${SRCS.swrast} ${SRCS.ss} ${SRCS.tnl}