1 # $NetBSD: Makefile.common,v 1.34 2008/03/08 10:38:59 phx 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} == "ews4800mips"
39 XSERVER_XEWS4800MIPS?= yes
42 .if ${MACHINE} == "newsmips"
43 XSERVER_XNEWSMIPS?= yes
46 # XFree86 servers all need XFONT as well.
47 .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
48 ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
49 ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \
50 ${MACHINE} == "sparc" || ${MACHINE} == "ofppc" || \
51 ${MACHINE} == "netwinder" || ${MACHINE} == "shark"
52 XSERVER_NEEDS_XFONT= yes
53 XSERVER_NEEDS_MIEXT= yes
55 # XXX xfree 4.5 installs libafb for i386 and others?
56 .if ${MACHINE} == "i386"
61 .if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
65 .if ${MACHINE} == "mac68k"
69 .if ${MACHINE} == "macppc"
73 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
78 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
83 # Does this server need Xfont/fontbase libraries?
84 XSERVER_NEEDS_XFONT?= no
85 # Does this server need miext modules?
86 XSERVER_NEEDS_MIEXT?= yes
87 # Does this server use cfb* libraries?
89 # Does this server use fb library?
91 # Does this server use afb library?
93 # Does this server use iplan2p? libraries?
94 XSERVER_HAS_IPLAN?= no
96 # Does this platform build X68k X servers?
98 # Does this platform build the XalphaNetBSD server?
99 XSERVER_XALPHANETBSD?= no
100 # Does this platform build Xamiga X server?
102 # Does this platform build the Xarm32VIDC server?
103 XSERVER_XARM32VIDC?= no
104 # Does this platform build the XdecNetBSD server?
105 XSERVER_XDECNETBSD?= no
106 # Does this platform build the Xdmx server?
108 # Does this platform build the Xdreamcast server?
109 XSERVER_XDREAMCAST?= no
110 # Does this platform build the Xews4800mips server?
111 XSERVER_XEWS4800MIPS?= no
112 # Does this platform build the Xnewsmips server?
113 XSERVER_XNEWSMIPS?= no
114 # Does this platform build the Xfree68 servers?
116 # Does this platform build XFree86 X server?
118 # Does this platform build Xhpc X servers?
120 # Does this platform build the Xmac68k X server?
122 # Does this platform build Xmacppc X server?
124 # Does this platform build Xsun* X servers?
126 XSERVER_XSUNMONO?= no
128 # Does this platform build Xvfb X server?