Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / xorg-server / Makefile.common
blobd50a7a85c3afce56b0bb1a4e162a5e7ccbea7cff
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"
9 XSERVER_X68K=           yes
10 .endif
12 .if ${MACHINE} == "alpha"
13 XSERVER_XALPHANETBSD=   yes
14 .endif
16 .if ${MACHINE} == "amiga"
17 XSERVER_XAMIGA=         yes
18 XSERVER_HAS_AFB=        yes
19 .endif
21 .if ${MACHINE} == "acorn32"
22 XSERVER_XARM32VIDC=     yes
23 .endif
25 .if ${MACHINE} == "alpha" || ${MACHINE} == "pmax"
26 XSERVER_XDECNETBSD=     yes
27 .endif
29 .if ${MACHINE} == "atari"
30 XSERVER_HAS_IPLAN?=     yes
31 #XSERVER_XFREE68=       yes
32 .endif
34 .if ${MACHINE} == "dreamcast"
35 XSERVER_XDREAMCAST?=    yes
36 .endif
38 .if ${MACHINE} == "newsmips"
39 XSERVER_XNEWSMIPS?=     yes
40 .endif
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
50 XSERVER_XFREE86=        yes
51 .endif
53 .if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
54 XSERVER_XHPC=           yes
55 .endif
57 .if ${MACHINE} == "mac68k"
58 XSERVER_XMAC68K=        yes
59 XSERVER_HAS_CFB=        yes
60 .endif
62 .if ${MACHINE} == "macppc"
63 XSERVER_XMACPPC=        yes
64 .endif
66 .if ${MACHINE} == "pmax"
67 XSERVER_XPMAX=          no # XXX should be yes but may be obsoleted
68 .endif
70 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
71 XSERVER_XSUN=           yes
72 XSERVER_XSUNMONO=       yes
73 .endif
75 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
76 XSERVER_XSUN24=         yes
77 .endif
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?
85 XSERVER_HAS_CFB?=       yes
86 # Does this server use fb library?
87 XSERVER_HAS_FB?=        yes
88 # Does this server use afb library?
89 XSERVER_HAS_AFB?=       no
90 # Does this server use iplan2p? libraries?
91 XSERVER_HAS_IPLAN?=     no
93 # Does this platform build X68k X servers?
94 XSERVER_X68K?=          no
95 # Does this platform build the XalphaNetBSD server?
96 XSERVER_XALPHANETBSD?=  no
97 # Does this platform build Xvfb X server?
98 XSERVER_XAMIGA?=        no
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?
108 XSERVER_XFREE68?=       no
109 # Does this platform build XFree86 X server?
110 XSERVER_XFREE86?=       no
111 # Does this platform build Xhpc X servers?
112 XSERVER_XHPC?=          no
113 # Does this platform build the Xmac68k X server?
114 XSERVER_XMAC68K?=       no
115 # Does this platform build Xmacppc X server?
116 XSERVER_XMACPPC?=       no
117 # Does this platform build Xpmax X servers?
118 XSERVER_XPMAX?=         no
119 # Does this platform build Xsun* X servers?
120 XSERVER_XSUN?=          no
121 XSERVER_XSUNMONO?=      no
122 XSERVER_XSUN24?=        no
123 # Does this platform build Xvfb X server?
124 XSERVER_XVFB?=          yes