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