xref: /netbsd-src/external/mit/xorg/server/xorg-server.old/Makefile.common (revision f3cfa6f6ce31685c6c4a758bc430e69eb99f50a4)
1#	$NetBSD: Makefile.common,v 1.2 2016/08/19 03:59:31 mrg 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.include <bsd.own.mk>
8
9
10.if ${MKXORG_SERVER} != "no"
11XSERVER_XFREE86=	yes
12.endif
13
14.if ${MACHINE} == "acorn32"
15XSERVER_XARM32VIDC=	yes
16.endif
17
18.if ${MACHINE} == "alpha"
19XSERVER_XALPHANETBSD=	yes
20XSERVER_XDECNETBSD=	yes
21.endif
22
23.if ${MACHINE} == "amiga"
24XSERVER_XAMIGA=		yes
25.endif
26
27.if ${MACHINE} == "atari"
28#XSERVER_XFREE68=	yes
29.endif
30
31.if ${MACHINE} == "mac68k"
32XSERVER_XMAC68K=	yes
33.endif
34
35.if ${MACHINE} == "macppc"
36XSERVER_XMACPPC=	yes
37.endif
38
39.if ${MACHINE} == "pmax"
40XSERVER_XDECNETBSD=	yes
41XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
42.endif
43
44.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
45XSERVER_XSUN=		yes
46XSERVER_XSUNMONO=	yes
47XSERVER_XSUN24=		yes
48.endif
49
50.if ${MACHINE} == "sun3"
51XSERVER_XSUN=		yes
52XSERVER_XSUNMONO=	yes
53.endif
54
55.if ${MACHINE} == "x68k"
56XSERVER_X68K=		yes
57.endif
58
59
60# Does this platform build XFree86 X server?
61XSERVER_XFREE86?=	no
62
63# Does this platform build the XalphaNetBSD server?
64XSERVER_XALPHANETBSD?=	no
65# Does this platform build the Xamiga server?
66XSERVER_XAMIGA?=	no
67# Does this platform build the Xarm32VIDC server?
68XSERVER_XARM32VIDC?=	no
69# Does this platform build the XdecNetBSD server?
70XSERVER_XDECNETBSD?=	no
71# Does this platform build the Xfree68 servers?
72XSERVER_XFREE68?=	no
73# Does this platform build the Xmac68k X server?
74XSERVER_XMAC68K?=	no
75# Does this platform build Xmacppc X server?
76XSERVER_XMACPPC?=	no
77# Does this platform build the Xnewsmips server?
78XSERVER_XNEWSMIPS?=	no
79# Does this platform build Xpmax X servers?
80XSERVER_XPMAX?=		no
81# Does this platform build Xsun* X servers?
82XSERVER_XSUN?=		no
83XSERVER_XSUNMONO?=	no
84XSERVER_XSUN24?=	no
85# Does this platform build X68k X servers?
86XSERVER_X68K?=		no
87# Does this platform build Xvfb X server?
88XSERVER_XVFB?=		yes
89