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.19 2022/10/28 09:43:59 wiz Exp $

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

LIB=	os

.PATH:	${X11SRCDIR.xorg-server}/os
SRCS=	WaitFor.c access.c auth.c backtrace.c client.c connection.c \
	inputthread.c io.c mitauth.c \
	oscolor.c ospoll.c osinit.c utils.c xdmauth.c \
	xstrans.c xprintf.c log.c xdmcp.c busfault.c \
	rpcauth.c xsha1.c \
	timingsafe_memcmp.c

CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/include \
		-I${DESTDIR}${X11INCDIR}/X11 \
		-I${DESTDIR}${X11INCDIR}/X11/extensions \
		-I${DESTDIR}${X11INCDIR}/pixman-1 \
		-I${X11SRCDIR.xorg-server}/Xext \
		-I${X11SRCDIR.xorg-server}/render \
		-I${X11SRCDIR.xorg-server}/present \
		-I${X11SRCDIR.xorg-server}/mi \
		-I${X11SRCDIR.xorg-server}/randr \
		-I${X11SRCDIR.xorg-server}/miext/damage \
		-I${X11SRCDIR.xorg-server}/../include

CPPFLAGS+=	${X11FLAGS.DIX} \
		${X11FLAGS.CONNECTION} \
		${X11FLAGS.EXTENSION} \
		-DHASXDMAUTH \
		${X11FLAGS.OS_DEFINES} \
		-DUSE_RGB_TXT \
		-UDDXTIME

.include "../Makefile.common"

COPTS.xdmauth.c=	-Wno-error	# XXX
COPTS.xstrans.c=	-Wno-error	# XXX
COPTS.access.c=		-Wno-error	# XXX bigreqstr.h
COPTS.io.c=		-Wno-error	# XXX bigreqstr.h
COPTS.backtrace.c=	-Wno-stack-protector

.include <bsd.x11.mk>
.include <bsd.lib.mk>