etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / hw / xfree86 / dri2 / Makefile
blob16b445551644cf3d59feaf3c4f108da47b419735
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"
9 LIB= dri2
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 \
37 -DCOMPOSITE \
38 ${X11FLAGS.DIX}
40 LIBDPLIBS= drm ${.CURDIR}/../../../../../lib/libdrm
42 COPTS.dri2ext.c+= -Wno-error
44 .include <bsd.x11.mk>
45 LIBDIR= ${XMODULEDIR}
46 .include <bsd.lib.mk>