xenocara/lib/libepoxy/generated/Makefile
jsg 6a30333192 Add libepoxy a library for handling gl/glx/egl function pointer management.
This is needed by glamor egl in the xserver which is in turn needed
to get acceleration with some hardware on xf86-video-ati.

Worked on during s2k15.  Glamor is not yet enabled in the xserver,
but adding this now as libepoxy recently showed up in ports.

The libepoxy port will be removed and ports will transition to
this version.  The xenocara version will be enabled when we're
ready to transition.
2015-04-15 07:58:58 +00:00

42 lines
886 B
Makefile

# $OpenBSD: Makefile,v 1.1 2015/04/15 07:58:58 jsg 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 \
--dir ${.CURDIR} ${EPOXY}/registry/gl.xml
src/glx_generated_dispatch.c: registry/glx.xml
$(PYTHON) $(PYTHON_FLAGS) ${EPOXY}/src/gen_dispatch.py \
--dir ${.CURDIR} ${EPOXY}/registry/glx.xml
src/egl_generated_dispatch.c: registry/egl.xml
$(PYTHON) $(PYTHON_FLAGS) ${EPOXY}/src/gen_dispatch.py \
--dir ${.CURDIR} ${EPOXY}/registry/egl.xml
.SUFFIXES: .py .xml
.PATH: ${EPOXY}
.PATH: ${EPOXY}/src
.include <bsd.xorg.mk>