# $NetBSD: Makefile.glx,v 1.12 2016/08/12 01:15:49 mrg Exp $ .PATH: ${X11SRCDIR.xorg-server}/glx .PATH: ${X11SRCDIR.MesaLib}/src/mesa/glapi .PATH: ${X11SRCDIR.MesaLib}/src/glx SRCS.glx= \ clientinfo.c \ createcontext.c \ indirect_dispatch.c \ indirect_dispatch_swap.c \ indirect_reqsize.c \ indirect_size_get.c \ indirect_table.c \ glxdri2.c \ extension_string.c \ indirect_util.c \ indirect_program.c \ indirect_texture_compression.c \ glxcmds.c \ glxcmdsswap.c \ glxext.c \ glxdriswrast.c \ glxdricommon.c \ glxscreens.c \ render2.c \ render2swap.c \ renderpix.c \ renderpixswap.c \ rensize.c \ single2.c \ single2swap.c \ singlepix.c \ singlepixswap.c \ singlesize.c \ swap_interval.c \ xfont.c COPTS.glxcmds.c= -Wno-error COPTS.indirect_dispatch.c= -Wno-error COPTS.indirect_dispatch_swap.c= -Wno-error COPTS.glxscreens.c= -Wno-error COPTS.xfont.c= -Wno-error CPPFLAGS+= \ -I${X11SRCDIR.xorg-server}/include \ -I${X11SRCDIR.xorg-server}/glx \ -I${X11SRCDIR.xorg-server}/Xext \ -I${X11SRCDIR.xorg-server}/hw/xfree86/dri \ -I${X11SRCDIR.xorg-server}/hw/xfree86/dri2 \ -I${X11SRCDIR.xorg-server}/present \ -I${X11SRCDIR.MesaLib}/include \ -I${X11SRCDIR.MesaLib}/src/glx \ -I${X11SRCDIR.MesaLib}/src/mesa \ -I${X11SRCDIR.MesaLib}/src/mesa/main \ -I${X11SRCDIR.MesaLib}/src/mesa/glapi \ -I${DESTDIR}${X11INCDIR}/X11 \ -I${DESTDIR}${X11INCDIR}/libdrm \ -I${DESTDIR}${X11INCDIR}/xorg \ -I${DESTDIR}${X11INCDIR}/pixman-1 \ -I${X11SRCDIR.xorg-server}/../include CPPFLAGS+= \ -DGLXEXT \ -DGLX_USE_MESA \ -I${X11SRCDIR.xorg-server}/../include \ ${X11FLAGS.DIX} ${X11INCS.DIX} .include LIBDIR= ${XMODULEDIR} .include