1#	$NetBSD$
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
7
8# XFree86 servers all need XFONT as well.
9.if \
10    ${MACHINE} == "alpha"	|| \
11    ${MACHINE} == "amd64"	|| \
12    ${MACHINE} == "bebox"	|| \
13    ${MACHINE} == "cats"	|| \
14    ${MACHINE} == "dreamcast"	|| \
15    ${MACHINE} == "ews4800mips"	|| \
16    ${MACHINE} == "evbarm"	|| \
17    ${MACHINE} == "evbmips"	|| \
18    ${MACHINE} == "hp300"	|| \
19    ${MACHINE} == "hpcarm"	|| \
20    ${MACHINE} == "hpcmips"	|| \
21    ${MACHINE} == "hpcsh"	|| \
22    ${MACHINE} == "i386"	|| \
23    ${MACHINE} == "luna68k"	|| \
24    ${MACHINE} == "macppc"	|| \
25    ${MACHINE} == "netwinder"	|| \
26    ${MACHINE} == "newsmips"	|| \
27    ${MACHINE} == "prep"	|| \
28    ${MACHINE} == "ofppc"	|| \
29    ${MACHINE} == "sgimips"	|| \
30    ${MACHINE} == "shark"	|| \
31    ${MACHINE} == "sparc"	|| \
32    ${MACHINE} == "sparc64"	|| \
33    ${MACHINE} == "vax"		|| \
34    ${MACHINE} == "zaurus"
35XSERVER_NEEDS_XFONT=	yes
36XSERVER_XFREE86=	yes
37.endif
38
39
40.if ${MACHINE} == "acorn32"
41XSERVER_XARM32VIDC=	yes
42.endif
43
44.if ${MACHINE} == "alpha"
45XSERVER_XALPHANETBSD=	yes
46XSERVER_XDECNETBSD=	yes
47.endif
48
49.if ${MACHINE} == "amiga"
50XSERVER_XAMIGA=		yes
51XSERVER_HAS_AFB=	yes
52.endif
53
54.if ${MACHINE} == "atari"
55XSERVER_HAS_IPLAN?=	yes
56#XSERVER_XFREE68=	yes
57.endif
58
59.if ${MACHINE} == "mac68k"
60XSERVER_XMAC68K=	yes
61XSERVER_HAS_CFB=	yes
62.endif
63
64.if ${MACHINE} == "macppc"
65XSERVER_XMACPPC=	yes
66.endif
67
68#.if ${MACHINE} == "newsmips"
69#XSERVER_XNEWSMIPS?=	yes
70#.endif
71
72.if ${MACHINE} == "pmax"
73XSERVER_XDECNETBSD=	yes
74XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
75.endif
76
77.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
78XSERVER_XSUN=		yes
79XSERVER_XSUNMONO=	yes
80XSERVER_XSUN24=		yes
81.endif
82
83.if ${MACHINE} == "sun3"
84XSERVER_XSUN=		yes
85XSERVER_XSUNMONO=	yes
86.endif
87
88.if ${MACHINE} == "x68k"
89XSERVER_X68K=		yes
90.endif
91
92
93# Does this server need Xfont/fontbase libraries?
94XSERVER_NEEDS_XFONT?=	no
95# Does this server need miext modules?
96XSERVER_NEEDS_MIEXT?=	yes
97# Does this server use cfb* libraries?
98XSERVER_HAS_CFB?=	yes
99# Does this server use fb library?
100XSERVER_HAS_FB?=	yes
101# Does this server use afb library?
102XSERVER_HAS_AFB?=	no
103# Does this server use iplan2p? libraries?
104XSERVER_HAS_IPLAN?=	no
105
106# Does this platform build XFree86 X server?
107XSERVER_XFREE86?=	no
108
109# Does this platform build the XalphaNetBSD server?
110XSERVER_XALPHANETBSD?=	no
111# Does this platform build the Xamiga server?
112XSERVER_XAMIGA?=	no
113# Does this platform build the Xarm32VIDC server?
114XSERVER_XARM32VIDC?=	no
115# Does this platform build the XdecNetBSD server?
116XSERVER_XDECNETBSD?=	no
117# Does this platform build the Xfree68 servers?
118XSERVER_XFREE68?=	no
119# Does this platform build the Xmac68k X server?
120XSERVER_XMAC68K?=	no
121# Does this platform build Xmacppc X server?
122XSERVER_XMACPPC?=	no
123# Does this platform build the Xnewsmips server?
124XSERVER_XNEWSMIPS?=	no
125# Does this platform build Xpmax X servers?
126XSERVER_XPMAX?=		no
127# Does this platform build Xsun* X servers?
128XSERVER_XSUN?=		no
129XSERVER_XSUNMONO?=	no
130XSERVER_XSUN24?=	no
131# Does this platform build X68k X servers?
132XSERVER_X68K?=		no
133# Does this platform build Xvfb X server?
134XSERVER_XVFB?=		yes
135