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.Xserver,v 1.22 2019/01/18 23:05:30 mrg Exp $

.for _SL in \
	mi \
	config \
	fb \
	xfixes \
	Xext \
	dbe \
	glamor \
	present \
	pseudoramiX \
	record \
	render \
	randr \
	damageext \
	miext/damage \
	miext/shadow \
	miext/sync \
	Xi \
	xkb \
	xkbstubs \
	composite \
	dix/xpstubs \
	os \
	dix \
	dri3 \
	config \
	glx \
	hw/xnest \
	hw/xfree86/common \
	hw/xfree86/ddc \
	hw/xfree86/dixmods \
	hw/xfree86/dixmods/fb \
	hw/xfree86/dixmods/shadow \
	hw/xfree86/dixmods/wfb \
	hw/xfree86/doc \
	hw/xfree86/dri \
	hw/xfree86/dri2 \
	hw/xfree86/dummy \
	hw/xfree86/i2c \
	hw/xfree86/int10 \
	hw/xfree86/loader \
	hw/xfree86/xorgos \
	hw/xfree86/ramdac \
	hw/xfree86/shadowfb \
	hw/xfree86/utils \
	hw/xfree86/vbe \
	hw/xfree86/vgahw \
	hw/xfree86/x86emu \
	hw/xfree86/xf86config \
	hw/xfree86/xf86modes \
	hw/xfree86/xkb

.if !defined(LIBDIR.${_SL})
LIBDIR.${_SL}!=	cd ${NETBSDSRCDIR}/external/mit/xorg/server/${XORG_SERVER_SUBDIR}/${_SL} && ${PRINTOBJDIR}
.MAKEOVERRIDES+=LIBDIR.${_SL}
.endif
LDADD.${_SL}=	${LIBDIR.${_SL}}/lib${_SL:T}.a
DPADD.${_SL}=	${LIBDIR.${_SL}}/lib${_SL:T}.a
.endfor

LDADD.XORG_CORE=	${LDADD.dix} ${LDADD.config}
DPADD.XORG_CORE=	${DPADD.dix} ${DPADD.config}

# X servers need all symbols exported
LDFLAGS+=	-Wl,--export-dynamic

LDFLAGS+=	-pthread
CFLAGS+=	-pthread

CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/include \
		-I${X11SRCDIR.xorg-server}/Xext \
		-I${DESTDIR}${X11INCDIR}/pixman-1 \
		-I${X11SRCDIR.xorg-server}/../include

LDADD+=		-lm -lexecinfo
DPADD+=		${LIBM} ${LIBEXECINFO}