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