Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# $NetBSD: Makefile,v 1.2 2019/03/10 02:29:54 mrg Exp $

XMODULEDIR=	${X11USRLIBDIR}/modules/extensions
XMODULEDIRANDSTATIC=	# define

.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"

LIB=	dri

.PATH:	${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
SRCS=	dri.c drimodule.c xf86dri.c

CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
		-I${X11SRCDIR.xorg-server}/include \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/os-support/bus \
		-I${X11SRCDIR.xorg-server}/glx \
		-I${X11SRCDIR.xorg-server}/GL/include \
		-I${X11SRCDIR.xorg-server}/modes \
		-I${X11SRCDIR.xorg-server}/ddc \
		-I${X11SRCDIR.xorg-server}/i2c \
		-I${X11SRCDIR.xorg-server}/parser \
		-I${X11SRCDIR.xorg-server}/ramdac \
		-I${X11SRCDIR.xorg-server}/Xext \
		-I${X11SRCDIR.Mesa}/include \
		-I${DESTDIR}${X11INCDIR}/X11 \
		-I${DESTDIR}${X11INCDIR}/X11/dri \
		-I${DESTDIR}${X11INCDIR}/libdrm \
		-I${DESTDIR}${X11INCDIR}/pixman-1 \
		-I${DESTDIR}${X11INCDIR}/xorg \
		-I${X11SRCDIR.xorg-server}/../include

CPPFLAGS+=	-DXF86DRI \
		${X11FLAGS.DIX}

CPPFLAGS.dri.c=		-Wno-error
CPPFLAGS.drimodule.c=	-Wno-error	# XXX xf86dristr.h
CPPFLAGS.xf86dri.c=	-Wno-error	# XXX xf86dristr.h

LIBDPLIBS=	drm ${.CURDIR}/../../../../../lib/libdrm

.include <bsd.x11.mk>
LIBDIR=	${XMODULEDIR}
.include <bsd.lib.mk>