1# $NetBSD: Makefile,v 1.3 2022/07/21 22:51:23 mrg Exp $ 2 3XMODULEDIR= ${X11USRLIBDIR}/modules 4 5.include "../../../Makefile.serverlib" 6.include "../../../Makefile.servermod" 7 8LIB= glamoregl 9 10.PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/glamor_egl 11SRCS= glamor_xf86_xv.c 12 13.include "../../../glamor/Makefile.glamor" 14 15CPPFLAGS+= \ 16 -I${X11SRCDIR.xorg-server}/hw/xfree86/common \ 17 -I${X11SRCDIR.xorg-server}/Xext \ 18 -I${X11SRCDIR.xorg-server}/mi \ 19 -I${X11SRCDIR.xorg-server}/include \ 20 -I${X11SRCDIR.xorg-server}/glamor \ 21 -I${X11SRCDIR.xorg-server}/../include \ 22 -I${DESTDIR}${X11INCDIR}/X11 \ 23 -I${DESTDIR}${X11INCDIR}/pixman-1 \ 24 -I${DESTDIR}${X11INCDIR}/xorg \ 25 -I${DESTDIR}${X11INCDIR}/libdrm \ 26 -I${X11SRCDIR.xorg-server}/hw/xfree86/ddc \ 27 -I${X11SRCDIR.xorg-server}/hw/xfree86/i2c 28 29CPPFLAGS+= \ 30 -DGLAMOR_HAS_GBM 31 32.include "../../../../../lib/mesa-which.mk" 33 34LIBDPLIBS= \ 35 gbm ${.CURDIR}/../../../../../lib/libgbm${OLD_SUFFIX} 36 37.include <bsd.x11.mk> 38LIBDIR= ${XMODULEDIR} 39.include <bsd.lib.mk> 40