diff options
Diffstat (limited to 'lib/libGLESv2/generated/Makefile')
-rw-r--r-- | lib/libGLESv2/generated/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/libGLESv2/generated/Makefile b/lib/libGLESv2/generated/Makefile new file mode 100644 index 000000000..537e5b2f5 --- /dev/null +++ b/lib/libGLESv2/generated/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1 2013/09/05 15:11:55 jsg Exp $ + +MESA= ${.CURDIR}/../../../dist/Mesa/src/mesa +MAPI= ${.CURDIR}/../../../dist/Mesa/src/mapi +GLAPI= ${.CURDIR}/../../../dist/Mesa/src/mapi/glapi + +PYTHON= python${PYTHON_VERSION} +PYTHON_FLAGS= -t -O -O + +# src/mapi/glapi +GEN_GLAPI= \ + glapi/glapi_mapi_tmp.h + +GENERATED=${GEN_GLAPI} + + +all: ${GENERATED} + +obj: + +depend: + +install: + +clean distclean: + rm -f ${GENERATED} + +glapi/glapi_mapi_tmp.h: gl_and_es_API.xml mapi_abi.py + $(PYTHON) $(PYTHON_FLAGS) ${MAPI}/mapi_abi.py \ + --mode lib --printer es2api ${GLAPI}/gen/gl_and_es_API.xml > $@ + +.SUFFIXES: .py .xml + +.PATH: ${GLAPI}/gen +.PATH: ${MAPI} + +.include <bsd.xorg.mk> |