1 # $NetBSD: Makefile,v 1.8 2015/07/18 08:56:06 mrg Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/extensions
4 XMODULEDIRANDSTATIC
= # defined
6 .
include "../../../Makefile.serverlib"
7 .
include "../../../Makefile.servermod"
11 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB}
12 SRCS
= dri2.c dri2ext.c
14 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB} \
15 -I
${X11SRCDIR.xorg-server
}/include \
16 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/common \
17 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support \
18 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support
/bus \
19 -I
${X11SRCDIR.xorg-server
}/xfixes \
20 -I
${X11SRCDIR.xorg-server
}/glx \
21 -I
${X11SRCDIR.xorg-server
}/GL
/include \
22 -I
${X11SRCDIR.xorg-server
}/modes \
23 -I
${X11SRCDIR.xorg-server
}/ddc \
24 -I
${X11SRCDIR.xorg-server
}/i2c \
25 -I
${X11SRCDIR.xorg-server
}/parser \
26 -I
${X11SRCDIR.xorg-server
}/ramdac \
27 -I
${X11SRCDIR.xorg-server
}/Xext \
28 -I
${X11SRCDIR.MesaLib
}/include \
29 -I
${DESTDIR}${X11INCDIR}/X11 \
30 -I
${DESTDIR}${X11INCDIR}/X11
/dri \
31 -I
${DESTDIR}${X11INCDIR}/libdrm \
32 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
33 -I
${DESTDIR}${X11INCDIR}/xorg \
34 -I
${X11SRCDIR.xorg-server
}/..
/include
36 CPPFLAGS
+= -DXF86DRI \
40 LIBDPLIBS
= drm
${.CURDIR
}/..
/..
/..
/..
/..
/lib
/libdrm
42 COPTS.dri2ext.c
+= -Wno-error