summaryrefslogtreecommitdiff
path: root/external/mit/xorg/server/xorg-server/os/Makefile
blob: ad4bf7d27b094a42a76ecc19086ff6549ddb76c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#	$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>