Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / Makefile.common
blobae40c9f69ea1cece22786d9d81dd0ef3dbf8466a
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"
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} == "ews4800mips"
39 XSERVER_XEWS4800MIPS?=  yes
40 .endif
42 .if ${MACHINE} == "newsmips"
43 XSERVER_XNEWSMIPS?=     yes
44 .endif
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
54 XSERVER_XFREE86=        yes
55 # XXX xfree 4.5 installs libafb for i386 and others?
56 .if ${MACHINE} == "i386"
57 XSERVER_HAS_AFB=        yes
58 .endif
59 .endif
61 .if ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcsh"
62 XSERVER_XHPC=           yes
63 .endif
65 .if ${MACHINE} == "mac68k"
66 XSERVER_XMAC68K=        yes
67 .endif
69 .if ${MACHINE} == "macppc"
70 XSERVER_XMACPPC=        yes
71 .endif
73 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" || ${MACHINE} == "sun3"
74 XSERVER_XSUN=           yes
75 XSERVER_XSUNMONO=       yes
76 .endif
78 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
79 XSERVER_XSUN24=         yes
80 .endif
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?
88 XSERVER_HAS_CFB?=       yes
89 # Does this server use fb library?
90 XSERVER_HAS_FB?=        yes
91 # Does this server use afb library?
92 XSERVER_HAS_AFB?=       no
93 # Does this server use iplan2p? libraries?
94 XSERVER_HAS_IPLAN?=     no
96 # Does this platform build X68k X servers?
97 XSERVER_X68K?=  no
98 # Does this platform build the XalphaNetBSD server?
99 XSERVER_XALPHANETBSD?=  no
100 # Does this platform build Xamiga X server?
101 XSERVER_XAMIGA?=no
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?
107 XSERVER_XDMX?=          yes
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?
115 XSERVER_XFREE68?=       no
116 # Does this platform build XFree86 X server?
117 XSERVER_XFREE86?=       no
118 # Does this platform build Xhpc X servers?
119 XSERVER_XHPC?=  no
120 # Does this platform build the Xmac68k X server?
121 XSERVER_XMAC68K?=       no
122 # Does this platform build Xmacppc X server?
123 XSERVER_XMACPPC?=       no
124 # Does this platform build Xsun* X servers?
125 XSERVER_XSUN?=          no
126 XSERVER_XSUNMONO?=      no
127 XSERVER_XSUN24?=        no
128 # Does this platform build Xvfb X server?
129 XSERVER_XVFB?=  yes