xenocara/lib/libepoxy/generated/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

2018-05-25 00:24:59 -06:00
# $OpenBSD: Makefile,v 1.2 2018/05/25 06:24:59 matthieu Exp $
EPOXY= ${.CURDIR}/../../../dist/libepoxy
PYTHON= python${PYTHON_VERSION}
PYTHON_FLAGS= -t -O -O
GENERATED= \
src/gl_generated_dispatch.c \
src/glx_generated_dispatch.c \
src/egl_generated_dispatch.c
all: ${GENERATED}
obj:
depend:
install:
clean distclean:
rm -f ${GENERATED}
src/gl_generated_dispatch.c: registry/gl.xml
$(PYTHON) $(PYTHON_FLAGS) ${EPOXY}/src/gen_dispatch.py \
2018-05-25 00:24:59 -06:00
--srcdir ${.CURDIR}/src --includedir ${.CURDIR}/include/epoxy \
${EPOXY}/registry/gl.xml
src/glx_generated_dispatch.c: registry/glx.xml
$(PYTHON) $(PYTHON_FLAGS) ${EPOXY}/src/gen_dispatch.py \
2018-05-25 00:24:59 -06:00
--srcdir ${.CURDIR}/src --includedir ${.CURDIR}/include/epoxy \
${EPOXY}/registry/glx.xml
src/egl_generated_dispatch.c: registry/egl.xml
$(PYTHON) $(PYTHON_FLAGS) ${EPOXY}/src/gen_dispatch.py \
2018-05-25 00:24:59 -06:00
--srcdir ${.CURDIR}/src --includedir ${.CURDIR}/include/epoxy \
${EPOXY}/registry/egl.xml
.SUFFIXES: .py .xml
.PATH: ${EPOXY}
.PATH: ${EPOXY}/src
.include <bsd.xorg.mk>