xref: /netbsd-src/external/mit/xorg/server/xorg-server.old/Makefile.common (revision 2f62cc9c12bc202c40224f32c879f81443fee079)
1#	$NetBSD: Makefile.common,v 1.4 2020/07/23 09:09:12 tsutsui 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} == "pmax"
36XSERVER_XDECNETBSD=	yes
37XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
38.endif
39
40.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
41#XSERVER_XSUN=		yes
42#XSERVER_XSUNMONO=	yes
43#XSERVER_XSUN24=		yes
44.endif
45
46.if ${MACHINE} == "sun3"
47XSERVER_XSUN=		yes
48XSERVER_XSUNMONO=	yes
49.endif
50
51.if ${MACHINE} == "x68k"
52XSERVER_X68K=		yes
53.endif
54
55
56# Does this platform build XFree86 X server?
57XSERVER_XFREE86?=	no
58
59# Does this platform build the XalphaNetBSD server?
60XSERVER_XALPHANETBSD?=	no
61# Does this platform build the Xamiga server?
62XSERVER_XAMIGA?=	no
63# Does this platform build the Xarm32VIDC server?
64XSERVER_XARM32VIDC?=	no
65# Does this platform build the XdecNetBSD server?
66XSERVER_XDECNETBSD?=	no
67# Does this platform build the Xfree68 servers?
68XSERVER_XFREE68?=	no
69# Does this platform build the Xmac68k X server?
70XSERVER_XMAC68K?=	no
71# Does this platform build Xpmax X servers?
72XSERVER_XPMAX?=		no
73# Does this platform build Xsun* X servers?
74XSERVER_XSUN?=		no
75XSERVER_XSUNMONO?=	no
76XSERVER_XSUN24?=	no
77# Does this platform build X68k X servers?
78XSERVER_X68K?=		no
79# Does this platform build Xvfb X server?
80XSERVER_XVFB?=		yes
81