1 # $NetBSD: Makefile.common,v 1.9 2009/02/16 12:41:11 abs Exp $
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.
8 .if ${MACHINE} == "x68k"
12 .if ${MACHINE} == "alpha"
13 XSERVER_XALPHANETBSD= yes
16 .if ${MACHINE} == "amiga"
21 .if ${MACHINE} == "acorn32"
22 XSERVER_XARM32VIDC= yes
25 .if ${MACHINE} == "alpha" || ${MACHINE} == "pmax"
26 XSERVER_XDECNETBSD= yes
29 .if ${MACHINE} == "atari"
30 XSERVER_HAS_IPLAN?= yes
34 .if ${MACHINE} == "dreamcast"
35 XSERVER_XDREAMCAST?= yes
38 .if ${MACHINE} == "newsmips"
39 XSERVER_XNEWSMIPS?= yes
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" || \
48 ${MACHINE} == "zaurus"
49 XSERVER_NEEDS_XFONT= yes
53 .if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
57 .if ${MACHINE} == "mac68k"
62 .if ${MACHINE} == "macppc"
66 .if ${MACHINE} == "pmax"
67 XSERVER_XPMAX= no # XXX should be yes but may be obsoleted
70 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
75 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
80 # Does this server need Xfont/fontbase libraries?
81 XSERVER_NEEDS_XFONT?= no
82 # Does this server need miext modules?
83 XSERVER_NEEDS_MIEXT?= yes
84 # Does this server use cfb* libraries?
86 # Does this server use fb library?
88 # Does this server use afb library?
90 # Does this server use iplan2p? libraries?
91 XSERVER_HAS_IPLAN?= no
93 # Does this platform build X68k X servers?
95 # Does this platform build the XalphaNetBSD server?
96 XSERVER_XALPHANETBSD?= no
97 # Does this platform build Xvfb X server?
99 # Does this platform build the Xarm32VIDC server?
100 XSERVER_XARM32VIDC?= no
101 # Does this platform build the XdecNetBSD server?
102 XSERVER_XDECNETBSD?= no
103 # Does this platform build the Xdreamcast server?
104 XSERVER_XDREAMCAST?= no
105 # Does this platform build the Xnewsmips server?
106 XSERVER_XNEWSMIPS?= no
107 # Does this platform build the Xfree68 servers?
109 # Does this platform build XFree86 X server?
111 # Does this platform build Xhpc X servers?
113 # Does this platform build the Xmac68k X server?
115 # Does this platform build Xmacppc X server?
117 # Does this platform build Xpmax X servers?
119 # Does this platform build Xsun* X servers?
121 XSERVER_XSUNMONO?= no
123 # Does this platform build Xvfb X server?