1 1.77 mrg # $NetBSD: Makefile,v 1.77 2016/08/16 19:45:33 mrg Exp $ 2 1.49 tsutsui 3 1.49 tsutsui # xf86-input drivers 4 1.1 mrg 5 1.12 rtr SUBDIR= \ 6 1.12 rtr xf86-input-keyboard \ 7 1.12 rtr xf86-input-mouse \ 8 1.34 mbalmer xf86-input-ws 9 1.12 rtr 10 1.49 tsutsui .if ${MACHINE_ARCH} == "i386" || \ 11 1.49 tsutsui ${MACHINE_ARCH} == "x86_64" 12 1.49 tsutsui SUBDIR+= \ 13 1.49 tsutsui xf86-input-vmmouse 14 1.49 tsutsui 15 1.35 mbalmer .if ${MACHINE_ARCH} == "i386" 16 1.35 mbalmer SUBDIR+= \ 17 1.49 tsutsui xf86-input-elographics 18 1.49 tsutsui .endif 19 1.49 tsutsui 20 1.35 mbalmer .endif 21 1.35 mbalmer 22 1.65 mrg # xf86-video drivers 23 1.49 tsutsui 24 1.65 mrg .include <bsd.own.mk> 25 1.49 tsutsui 26 1.13 cube .if ${MACHINE_ARCH} == "i386" || \ 27 1.12 rtr ${MACHINE_ARCH} == "x86_64" 28 1.12 rtr SUBDIR+= \ 29 1.76 mrg xf86-video-ati \ 30 1.76 mrg xf86-video-intel \ 31 1.76 mrg xf86-video-nv \ 32 1.76 mrg xf86-video-nouveau \ 33 1.76 mrg xf86-video-openchrome \ 34 1.76 mrg xf86-video-r128 \ 35 1.76 mrg xf86-video-radeon \ 36 1.76 mrg xf86-video-radeon-kms \ 37 1.76 mrg xf86-video-savage \ 38 1.76 mrg xf86-video-siliconmotion \ 39 1.76 mrg xf86-video-sis \ 40 1.76 mrg xf86-video-tga \ 41 1.76 mrg xf86-video-trident \ 42 1.76 mrg xf86-video-vmware \ 43 1.76 mrg xf86-video-vesa \ 44 1.76 mrg xf86-video-wsfb 45 1.76 mrg 46 1.76 mrg # needs porting for xorg-server 1.6 47 1.76 mrg # xf86-video-imstt 48 1.76 mrg # xf86-video-rendition 49 1.76 mrg 50 1.76 mrg # needs porting for xorg-server 1.18 51 1.76 mrg .if ${XORG_SERVER_SUBDIR} == "xorg-server.old" 52 1.76 mrg SUBDIR+= \ 53 1.36 snj xf86-video-apm \ 54 1.36 snj xf86-video-ark \ 55 1.36 snj xf86-video-ast \ 56 1.36 snj xf86-video-chips \ 57 1.36 snj xf86-video-cirrus \ 58 1.36 snj xf86-video-cirrus_alpine \ 59 1.36 snj xf86-video-cirrus_laguna \ 60 1.36 snj xf86-video-glint \ 61 1.36 snj xf86-video-i128 \ 62 1.76 mrg xf86-video-i740 \ 63 1.66 rjs xf86-video-intel-old \ 64 1.49 tsutsui xf86-video-mach64 \ 65 1.36 snj xf86-video-mga \ 66 1.36 snj xf86-video-neomagic \ 67 1.36 snj xf86-video-s3 \ 68 1.36 snj xf86-video-s3virge \ 69 1.36 snj xf86-video-tdfx \ 70 1.36 snj xf86-video-tseng \ 71 1.63 macallan xf86-video-xgi 72 1.76 mrg 73 1.76 mrg .endif # ${XORG_SERVER_SUBDIR} == "xorg-server.old" 74 1.47 tsutsui 75 1.49 tsutsui .if ${MACHINE_ARCH} == "i386" 76 1.14 macallan SUBDIR+= \ 77 1.49 tsutsui xf86-video-geode 78 1.49 tsutsui .endif # ${MACHINE_ARCH} == "i386" 79 1.47 tsutsui 80 1.49 tsutsui .endif # ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 81 1.47 tsutsui 82 1.47 tsutsui .if ${MACHINE} == "alpha" 83 1.27 bouyer SUBDIR+= \ 84 1.27 bouyer xf86-video-apm \ 85 1.27 bouyer xf86-video-ark \ 86 1.27 bouyer xf86-video-ast \ 87 1.27 bouyer xf86-video-ati \ 88 1.27 bouyer xf86-video-chips \ 89 1.27 bouyer xf86-video-cirrus \ 90 1.27 bouyer xf86-video-cirrus_alpine \ 91 1.27 bouyer xf86-video-cirrus_laguna \ 92 1.27 bouyer xf86-video-glint \ 93 1.27 bouyer xf86-video-i128 \ 94 1.27 bouyer xf86-video-i740 \ 95 1.27 bouyer xf86-video-mach64 \ 96 1.27 bouyer xf86-video-mga \ 97 1.27 bouyer xf86-video-nv \ 98 1.27 bouyer xf86-video-r128 \ 99 1.67 rjs xf86-video-radeon \ 100 1.27 bouyer xf86-video-s3 \ 101 1.27 bouyer xf86-video-s3virge \ 102 1.27 bouyer xf86-video-savage \ 103 1.27 bouyer xf86-video-siliconmotion \ 104 1.27 bouyer xf86-video-sis \ 105 1.27 bouyer xf86-video-tdfx \ 106 1.27 bouyer xf86-video-tga \ 107 1.27 bouyer xf86-video-trident \ 108 1.27 bouyer xf86-video-tseng \ 109 1.27 bouyer xf86-video-wsfb 110 1.31 mrg # xf86-video-imstt 111 1.47 tsutsui .endif # ${MACHINE} == "alpha" 112 1.47 tsutsui 113 1.73 phx .if ${MACHINE} == "amiga" 114 1.73 phx SUBDIR+= \ 115 1.73 phx xf86-video-wsfb 116 1.73 phx .endif # ${MACHINE} == "amiga" 117 1.73 phx 118 1.49 tsutsui .if ${MACHINE} == "bebox" 119 1.49 tsutsui SUBDIR+= \ 120 1.49 tsutsui xf86-video-cirrus \ 121 1.49 tsutsui xf86-video-cirrus_alpine \ 122 1.49 tsutsui xf86-video-mga \ 123 1.49 tsutsui xf86-video-s3 \ 124 1.51 kiyohara xf86-video-s3virge 125 1.49 tsutsui .endif # ${MACHINE} == "bebox" 126 1.49 tsutsui 127 1.49 tsutsui .if ${MACHINE} == "cats" 128 1.12 rtr SUBDIR+= \ 129 1.12 rtr xf86-video-apm \ 130 1.12 rtr xf86-video-ark \ 131 1.12 rtr xf86-video-ast \ 132 1.12 rtr xf86-video-ati \ 133 1.12 rtr xf86-video-chips \ 134 1.12 rtr xf86-video-cirrus \ 135 1.12 rtr xf86-video-cirrus_alpine \ 136 1.12 rtr xf86-video-cirrus_laguna \ 137 1.12 rtr xf86-video-glint \ 138 1.12 rtr xf86-video-i128 \ 139 1.12 rtr xf86-video-i740 \ 140 1.12 rtr xf86-video-mga \ 141 1.12 rtr xf86-video-neomagic \ 142 1.12 rtr xf86-video-nv \ 143 1.67 rjs xf86-video-radeon \ 144 1.12 rtr xf86-video-s3 \ 145 1.12 rtr xf86-video-s3virge \ 146 1.12 rtr xf86-video-savage \ 147 1.12 rtr xf86-video-siliconmotion \ 148 1.12 rtr xf86-video-tdfx \ 149 1.12 rtr xf86-video-tga \ 150 1.12 rtr xf86-video-trident \ 151 1.12 rtr xf86-video-tseng \ 152 1.49 tsutsui xf86-video-vesa \ 153 1.49 tsutsui xf86-video-wsfb 154 1.49 tsutsui .endif # ${MACHINE} == "cats" 155 1.47 tsutsui 156 1.47 tsutsui .if ${MACHINE} == "dreamcast" 157 1.44 tsutsui SUBDIR+= \ 158 1.44 tsutsui xf86-video-wsfb 159 1.47 tsutsui .endif # ${MACHINE} == "dreamcast" 160 1.47 tsutsui 161 1.61 bsh .if ${MACHINE} == "evbarm" 162 1.61 bsh SUBDIR+= \ 163 1.74 jmcneill xf86-video-modesetting \ 164 1.61 bsh xf86-video-wsfb 165 1.61 bsh .endif # ${MACHINE} == "evbarm" 166 1.61 bsh 167 1.60 macallan .if ${MACHINE} == "evbmips" 168 1.60 macallan SUBDIR+= \ 169 1.60 macallan xf86-video-siliconmotion \ 170 1.60 macallan xf86-video-sis \ 171 1.60 macallan xf86-video-wsfb 172 1.60 macallan .endif # ${MACHINE} == "evbmips" 173 1.60 macallan 174 1.53 tsutsui .if ${MACHINE} == "ews4800mips" 175 1.53 tsutsui SUBDIR+= \ 176 1.53 tsutsui xf86-video-wsfb 177 1.53 tsutsui .endif # ${MACHINE} == "ews4800mips" 178 1.53 tsutsui 179 1.53 tsutsui .if ${MACHINE} == "hp300" 180 1.53 tsutsui SUBDIR+= \ 181 1.53 tsutsui xf86-video-wsfb 182 1.53 tsutsui .endif # ${MACHINE} == "hp300" 183 1.53 tsutsui 184 1.49 tsutsui .if ${MACHINE} == "hpcarm" || \ 185 1.49 tsutsui ${MACHINE} == "hpcmips" || \ 186 1.49 tsutsui ${MACHINE} == "hpcsh" 187 1.43 tsutsui SUBDIR+= \ 188 1.43 tsutsui xf86-video-wsfb 189 1.47 tsutsui .endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh" 190 1.47 tsutsui 191 1.71 rjs .if ${MACHINE} == "ibmnws" 192 1.71 rjs SUBDIR+= \ 193 1.71 rjs xf86-video-s3 194 1.71 rjs .endif # ${MACHINE} == "ibmnws" 195 1.71 rjs 196 1.59 tsutsui .if ${MACHINE} == "luna68k" 197 1.59 tsutsui SUBDIR+= \ 198 1.59 tsutsui xf86-video-wsfb 199 1.59 tsutsui .endif # ${MACHINE} == "luna68k" 200 1.59 tsutsui 201 1.69 rjs .if ${MACHINE} == "mac68k" 202 1.69 rjs SUBDIR+= \ 203 1.69 rjs xf86-video-wsfb 204 1.69 rjs .endif # ${MACHINE} == "mac68k" 205 1.69 rjs 206 1.49 tsutsui .if ${MACHINE} == "macppc" 207 1.49 tsutsui SUBDIR+= \ 208 1.49 tsutsui xf86-video-ati \ 209 1.49 tsutsui xf86-video-chips \ 210 1.49 tsutsui xf86-video-mach64 \ 211 1.49 tsutsui xf86-video-mga \ 212 1.49 tsutsui xf86-video-nv \ 213 1.67 rjs xf86-video-radeon \ 214 1.49 tsutsui xf86-video-r128 \ 215 1.49 tsutsui xf86-video-tdfx \ 216 1.49 tsutsui xf86-video-wsfb 217 1.49 tsutsui # xf86-video-imstt 218 1.49 tsutsui .endif # ${MACHINE} == "macppc" 219 1.49 tsutsui 220 1.56 tsutsui .if ${MACHINE} == "netwinder" 221 1.56 tsutsui SUBDIR+= \ 222 1.56 tsutsui xf86-video-wsfb 223 1.56 tsutsui # xf86-video-igs 224 1.56 tsutsui .endif # ${MACHINE} == "netwinder" 225 1.56 tsutsui 226 1.58 tsutsui .if ${MACHINE} == "newsmips" 227 1.58 tsutsui SUBDIR+= \ 228 1.58 tsutsui xf86-video-wsfb 229 1.58 tsutsui .endif # ${MACHINE} == "newsmips" 230 1.58 tsutsui 231 1.50 mrg .if ${MACHINE} == "ofppc" 232 1.50 mrg SUBDIR+= \ 233 1.50 mrg xf86-video-ati \ 234 1.50 mrg xf86-video-chips \ 235 1.50 mrg xf86-video-mach64 \ 236 1.50 mrg xf86-video-mga \ 237 1.50 mrg xf86-video-nv \ 238 1.67 rjs xf86-video-radeon \ 239 1.50 mrg xf86-video-r128 \ 240 1.50 mrg xf86-video-tdfx \ 241 1.50 mrg xf86-video-wsfb 242 1.52 mrg .endif # ${MACHINE} == "ofppc" 243 1.50 mrg 244 1.47 tsutsui .if ${MACHINE} == "prep" 245 1.45 kiyohara SUBDIR+= \ 246 1.45 kiyohara xf86-video-cirrus \ 247 1.45 kiyohara xf86-video-cirrus_alpine \ 248 1.45 kiyohara xf86-video-mga \ 249 1.51 kiyohara xf86-video-s3 250 1.47 tsutsui .endif # ${MACHINE} == "prep" 251 1.47 tsutsui 252 1.49 tsutsui .if ${MACHINE} == "sgimips" 253 1.49 tsutsui SUBDIR+= \ 254 1.49 tsutsui xf86-video-crime \ 255 1.72 macallan xf86-video-cirrus \ 256 1.72 macallan xf86-video-glint \ 257 1.72 macallan xf86-video-mga \ 258 1.49 tsutsui xf86-video-newport \ 259 1.72 macallan xf86-video-s3 \ 260 1.49 tsutsui xf86-video-wsfb 261 1.49 tsutsui .endif # ${MACHINE} == "sgimips" 262 1.49 tsutsui 263 1.49 tsutsui .if ${MACHINE} == "shark" 264 1.49 tsutsui SUBDIR+= \ 265 1.77 mrg xf86-video-wsfb 266 1.77 mrg # needs porting for xorg-server 1.18 267 1.77 mrg .if ${XORG_SERVER_SUBDIR} == "xorg-server.old" 268 1.77 mrg SUBDIR+= \ 269 1.49 tsutsui xf86-video-chips \ 270 1.77 mrg xf86-video-igs 271 1.77 mrg .endif # ${XORG_SERVER_SUBDIR} == "xorg-server.old" 272 1.49 tsutsui .endif # ${MACHINE} == "shark" 273 1.49 tsutsui 274 1.49 tsutsui .if ${MACHINE} == "sparc" || \ 275 1.49 tsutsui ${MACHINE} == "sparc64" 276 1.46 kiyohara SUBDIR+= \ 277 1.49 tsutsui xf86-video-ag10e \ 278 1.49 tsutsui xf86-video-ati \ 279 1.49 tsutsui xf86-video-glint \ 280 1.49 tsutsui xf86-video-mach64 \ 281 1.46 kiyohara xf86-video-mga \ 282 1.49 tsutsui xf86-video-r128 \ 283 1.67 rjs xf86-video-radeon \ 284 1.49 tsutsui xf86-video-suncg6 \ 285 1.49 tsutsui xf86-video-sunffb \ 286 1.49 tsutsui xf86-video-sunleo \ 287 1.49 tsutsui xf86-video-wsfb 288 1.49 tsutsui .if ${MACHINE} == "sparc" 289 1.49 tsutsui SUBDIR+= \ 290 1.49 tsutsui xf86-video-pnozz \ 291 1.49 tsutsui xf86-video-suncg14 \ 292 1.49 tsutsui xf86-video-suntcx 293 1.49 tsutsui .endif # ${MACHINE} == "sparc" 294 1.49 tsutsui .endif # ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 295 1.49 tsutsui 296 1.62 abs .if ${MACHINE} == "vax" 297 1.62 abs SUBDIR+= \ 298 1.62 abs xf86-video-wsfb 299 1.62 abs .endif # ${MACHINE} == "vax" 300 1.62 abs 301 1.49 tsutsui .if ${MACHINE} == "zaurus" 302 1.49 tsutsui SUBDIR+= \ 303 1.49 tsutsui xf86-video-wsfb 304 1.60 macallan .endif # ${MACHINE} == "zaurus" 305 1.12 rtr 306 1.2 rtr .include <bsd.subdir.mk> 307