diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-26 06:03:18 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-26 06:03:18 +0000 |
commit | af5e8f5366b05c3d4f8521f318c143a5c5dc3ea9 (patch) | |
tree | c5691445908b1beca9facf0e5e3c5d7f35f74228 /lib/mesa/mk/libdri/Makefile | |
parent | 27c93456b58343162f7c4ad20ca6bea0c9a91646 (diff) |
Merge Mesa 20.1.6
Diffstat (limited to 'lib/mesa/mk/libdri/Makefile')
-rw-r--r-- | lib/mesa/mk/libdri/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/mesa/mk/libdri/Makefile b/lib/mesa/mk/libdri/Makefile new file mode 100644 index 000000000..d525cc07e --- /dev/null +++ b/lib/mesa/mk/libdri/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1 2020/08/26 06:02:37 jsg Exp $ + +.include <bsd.xconf.mk> + +LIB= dri + +NOPROFILE= + +SRCS= dri_context.c \ + dri_drawable.c \ + dri_helpers.c \ + dri_query_renderer.c \ + dri_screen.c + +.if ${XENOCARA_BUILD_DRI:L} == "yes" +SRCS+= drisw.c \ + dri2.c +.endif + +.include "../Makefile.inc" + +CFLAGS+= ${C_VIS_ARGS} +CPPFLAGS+= -DGALLIUM_SOFTPIPE \ + -I${MESA_SRC}/src/gallium/state_trackers/dri \ + -I${MESA_SRC}/src/mapi \ + -I${MESA_SRC}/src/mesa \ + -I${MESA_SRC}/src/mesa/drivers/dri/common \ + -I${MESA_SRC}/src/gallium/include \ + -I${MESA_SRC}/src/gallium/auxiliary + +install: + +obj: _xenocara_obj + +.include <bsd.lib.mk> +.include <bsd.xorg.mk> + +.PATH: ${MESA_SRC}/src/gallium/state_trackers/dri |