xref: /netbsd-src/external/mit/xorg/server/xorg-server/Makefile (revision f21b7d7f2cbdd5c14b3882c4e8a3d43580d460a6)
1#	$NetBSD: Makefile,v 1.27 2016/08/21 20:51:04 mrg Exp $
2
3.include <bsd.own.mk>
4
5.include "Makefile.common"
6
7SUBDIR=		doc include .WAIT
8SUBDIR+=	glx
9SUBDIR+=	dix fb mi Xext miext os randr render
10SUBDIR+=	present pseudoramiX
11SUBDIR+=	Xi xkb xkbstubs dbe record xfixes
12SUBDIR+=	damageext composite config .WAIT
13
14# XXX
15.if ${HAVE_DRI3:Uno} != "no"
16SUBDIR+=	dri3
17.endif
18
19.if ${HAVE_XORG_GLAMOR} != "no"
20SUBDIR+=	glamor
21.endif
22
23# And finally, build the servers.
24SUBDIR+=	.WAIT hw
25
26.PATH:	${X11SRCDIR.xorg-server}
27
28PKGCONFIG=	xorg-server
29# Use -fvisibility=hidden for symbol_visibility?
30PKGCONFIG_SED_FLAGS= \
31	-e "s,@sysconfigdir@,${X11ETCDIR},; \
32	    s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.28 randrproto >= 1.5.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 bigreqsproto >= 1.1.0 xtrans >= 1.3.5 presentproto >= 1.0,; \
33	    s,@symbol_visibility@,,"
34
35.include <bsd.x11.mk>
36.include <bsd.man.mk>
37.include <bsd.subdir.mk>
38