1#	$NetBSD: Makefile.common,v 1.30 2021/11/16 09:25:52 nia Exp $
2
3# These define parts of the Xserver tree that are to be
4# conditionally compiled for different platforms.  See
5# below for descriptions of each variable.
6
7USE_FORT?=		yes # network server *and* setuid
8
9.include <bsd.own.mk>
10
11
12# XFree86 servers all need XFONT as well.
13.if ${MKXORG_SERVER} != "no"
14XSERVER_XFREE86=	yes
15.endif
16
17.if ${MACHINE} == "acorn32"
18XSERVER_XARM32VIDC=	yes
19.endif
20
21.if ${MACHINE} == "alpha"
22XSERVER_XALPHANETBSD=	yes
23XSERVER_XDECNETBSD=	yes
24.endif
25
26.if ${MACHINE} == "amiga"
27XSERVER_XAMIGA=		yes
28.endif
29
30.if ${MACHINE} == "atari"
31#XSERVER_XFREE68=	yes
32.endif
33
34.if ${MACHINE} == "mac68k"
35XSERVER_XMAC68K=	yes
36.endif
37
38.if ${MACHINE} == "pmax"
39XSERVER_XDECNETBSD=	yes
40XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
41.endif
42
43.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
44#XSERVER_XSUN=		yes
45#XSERVER_XSUNMONO=	yes
46#XSERVER_XSUN24=		yes
47.endif
48
49.if ${MACHINE} == "sun3"
50XSERVER_XSUN=		yes
51XSERVER_XSUNMONO=	yes
52.endif
53
54.if ${MACHINE} == "x68k"
55XSERVER_X68K=		yes
56.endif
57
58
59# Does this platform build XFree86 X server?
60XSERVER_XFREE86?=	no
61
62# Does this platform build the XalphaNetBSD server?
63XSERVER_XALPHANETBSD?=	no
64# Does this platform build the Xamiga server?
65XSERVER_XAMIGA?=	no
66# Does this platform build the Xarm32VIDC server?
67XSERVER_XARM32VIDC?=	no
68# Does this platform build the XdecNetBSD server?
69XSERVER_XDECNETBSD?=	no
70# Does this platform build the Xfree68 servers?
71XSERVER_XFREE68?=	no
72# Does this platform build the Xmac68k X server?
73XSERVER_XMAC68K?=	no
74# Does this platform build Xpmax X servers?
75XSERVER_XPMAX?=		no
76# Does this platform build Xsun* X servers?
77XSERVER_XSUN?=		no
78XSERVER_XSUNMONO?=	no
79XSERVER_XSUN24?=	no
80# Does this platform build X68k X servers?
81XSERVER_X68K?=		no
82# Does this platform build Xvfb X server?
83XSERVER_XVFB?=		yes
84