# $NetBSD: Makefile.glx,v 1.14 2019/03/10 02:29:53 mrg Exp $ .PATH: ${X11SRCDIR.xorg-server}/glx .PATH: ${X11SRCDIR.Mesa}/src/mesa/glapi .PATH: ${X11SRCDIR.Mesa}/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 # For reachover, include glxvnd into glx directly here. SRCS.glxvnd= \ vndcmds.c \ vndext.c \ vndservermapping.c \ vndservervendor.c SRCS.glx+= ${SRCS.glxvnd} 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.Mesa}/include \ -I${X11SRCDIR.Mesa}/src/glx \ -I${X11SRCDIR.Mesa}/src/mesa \ -I${X11SRCDIR.Mesa}/src/mesa/main \ -I${X11SRCDIR.Mesa}/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 <bsd.x11.mk> LIBDIR= ${XMODULEDIR} .include <bsd.lib.mk> |