1 # $NetBSD: Makefile,v 1.11 2015/07/18 08:56:06 mrg Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/extensions
4 XMODULEDIRANDSTATIC
= # define
6 .
include "../../../Makefile.serverlib"
7 .
include "../../../Makefile.servermod"
11 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB}
12 SRCS
= dri.c drimodule.c xf86dri.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
}/glx \
20 -I
${X11SRCDIR.xorg-server
}/GL
/include \
21 -I
${X11SRCDIR.xorg-server
}/modes \
22 -I
${X11SRCDIR.xorg-server
}/ddc \
23 -I
${X11SRCDIR.xorg-server
}/i2c \
24 -I
${X11SRCDIR.xorg-server
}/parser \
25 -I
${X11SRCDIR.xorg-server
}/ramdac \
26 -I
${X11SRCDIR.xorg-server
}/Xext \
27 -I
${X11SRCDIR.MesaLib
}/include \
28 -I
${DESTDIR}${X11INCDIR}/X11 \
29 -I
${DESTDIR}${X11INCDIR}/X11
/dri \
30 -I
${DESTDIR}${X11INCDIR}/libdrm \
31 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
32 -I
${DESTDIR}${X11INCDIR}/xorg \
33 -I
${X11SRCDIR.xorg-server
}/..
/include
35 CPPFLAGS
+= -DXF86DRI \
38 CPPFLAGS.dri.c
= -Wno-error
39 CPPFLAGS.drimodule.c
= -Wno-error
# XXX xf86dristr.h
40 CPPFLAGS.xf86dri.c
= -Wno-error
# XXX xf86dristr.h
42 LIBDPLIBS
= drm
${.CURDIR
}/..
/..
/..
/..
/..
/lib
/libdrm