blob: 537e5b2f5dbe8a0735b64e6e743ffbf8b51eb867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>
|