summaryrefslogtreecommitdiff
path: root/lib/mesa/mk/libGLESv1_CM/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/mk/libGLESv1_CM/Makefile')
-rw-r--r--lib/mesa/mk/libGLESv1_CM/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/mesa/mk/libGLESv1_CM/Makefile b/lib/mesa/mk/libGLESv1_CM/Makefile
new file mode 100644
index 000000000..d85586b22
--- /dev/null
+++ b/lib/mesa/mk/libGLESv1_CM/Makefile
@@ -0,0 +1,21 @@
+# $OpenBSD: Makefile,v 1.1 2020/08/26 06:02:36 jsg Exp $
+
+LIB= GLESv1_CM
+
+SRCS= entry.c
+
+.include "../Makefile.inc"
+
+CFLAGS+= ${C_VIS_ARGS}
+CPPFLAGS+= -DMAPI_MODE_BRIDGE \
+ -DMAPI_ABI_HEADER=\"${MESA_SRC}/generated/src/mapi/es1api/glapi_mapi_tmp.h\"
+
+LDADD+= -L${.CURDIR}/../libglapi/${__objdir} -lglapi \
+ -L${X11BASE}/lib -ldrm -lm
+
+obj: _xenocara_obj
+
+.include <bsd.lib.mk>
+.include <bsd.xorg.mk>
+
+.PATH: ${MESA_SRC}/src/mapi