1# $NetBSD: Makefile,v 1.115 2024/11/04 02:26:59 mrg Exp $ 2 3.include <bsd.own.mk> 4 5# xf86-input drivers 6 7SUBDIR= \ 8 xf86-input-keyboard \ 9 xf86-input-mouse \ 10 xf86-input-ws 11 12.if ${MACHINE_ARCH} == "i386" || \ 13 ${MACHINE_ARCH} == "x86_64" 14SUBDIR+= \ 15 xf86-input-vmmouse 16 17.if ${MACHINE_ARCH} == "i386" 18SUBDIR+= \ 19 xf86-input-elographics 20.endif 21 22.endif 23 24# xf86-video drivers 25 26.if ${MACHINE_ARCH} == "i386" || \ 27 ${MACHINE_ARCH} == "x86_64" 28SUBDIR+= \ 29 xf86-video-amdgpu \ 30 xf86-video-ark \ 31 xf86-video-ast \ 32 xf86-video-ati \ 33 xf86-video-chips \ 34 xf86-video-cirrus \ 35 xf86-video-i128 \ 36 xf86-video-i740 \ 37 xf86-video-intel \ 38 xf86-video-mach64 \ 39 xf86-video-mga \ 40 xf86-video-neomagic \ 41 xf86-video-nv \ 42 xf86-video-nouveau \ 43 xf86-video-openchrome \ 44 xf86-video-r128 \ 45 xf86-video-radeon \ 46 xf86-video-radeon-kms \ 47 xf86-video-s3virge \ 48 xf86-video-savage \ 49 xf86-video-siliconmotion \ 50 xf86-video-sis \ 51 xf86-video-tdfx \ 52 xf86-video-trident \ 53 xf86-video-tseng \ 54 xf86-video-vboxvideo \ 55 xf86-video-vmware \ 56 xf86-video-vesa \ 57 xf86-video-wsfb 58 59# XXX add -qxl, also for arm? 60 61# needs porting for xorg-server 1.6 62# xf86-video-imstt 63# xf86-video-rendition 64 65# needs porting for xorg-server 21.1.3 66# xf86-video-s3 67# xf86-video-tga 68 69# needs porting for xorg-server 1.18 70# xf86-video-apm \ 71# xf86-video-glint \ 72# xf86-video-intel-old \ 73# xf86-video-xgi 74 75.if ${MACHINE_ARCH} == "i386" 76SUBDIR+= \ 77 xf86-video-geode 78.endif # ${MACHINE_ARCH} == "i386" 79 80.endif # ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 81 82.if ${MACHINE} == "alpha" 83SUBDIR+= \ 84 xf86-video-ark \ 85 xf86-video-ast \ 86 xf86-video-ati \ 87 xf86-video-chips \ 88 xf86-video-cirrus \ 89 xf86-video-i128 \ 90 xf86-video-i740 \ 91 xf86-video-mach64 \ 92 xf86-video-mga \ 93 xf86-video-nv \ 94 xf86-video-r128 \ 95 xf86-video-radeon \ 96 xf86-video-s3virge \ 97 xf86-video-savage \ 98 xf86-video-siliconmotion \ 99 xf86-video-sis \ 100 xf86-video-tdfx \ 101 xf86-video-trident \ 102 xf86-video-tseng \ 103 xf86-video-wsfb 104 105# needs porting for xorg-server 1.6 106# xf86-video-imstt 107 108# needs porting for xorg-server 1.18 109# xf86-video-apm 110# xf86-video-glint 111 112# needs porting for xorg-server 21.1.3 113# xf86-video-s3 114# xf86-video-tga 115 116.if ${XORG_SERVER_SUBDIR} == "xorg-server.old" 117SUBDIR+= \ 118 xf86-video-apm \ 119 xf86-video-glint \ 120 xf86-video-s3 \ 121 xf86-video-tga 122.endif # ${XORG_SERVER_SUBDIR} == "xorg-server.old" 123 124.endif # ${MACHINE} == "alpha" 125 126.if ${MACHINE} == "amiga" 127SUBDIR+= \ 128 xf86-video-wsfb 129.endif # ${MACHINE} == "amiga" 130 131.if ${MACHINE} == "bebox" 132SUBDIR+= \ 133 xf86-video-cirrus \ 134 xf86-video-mga \ 135 xf86-video-s3virge 136 137# needs porting for xorg-server 21.1.3 138# xf86-video-s3 139 140.endif # ${MACHINE} == "bebox" 141 142.if ${MACHINE} == "cats" 143SUBDIR+= \ 144 xf86-video-ark \ 145 xf86-video-ast \ 146 xf86-video-ati \ 147 xf86-video-chips \ 148 xf86-video-cirrus \ 149 xf86-video-i128 \ 150 xf86-video-i740 \ 151 xf86-video-mga \ 152 xf86-video-neomagic \ 153 xf86-video-nv \ 154 xf86-video-radeon \ 155 xf86-video-s3virge \ 156 xf86-video-savage \ 157 xf86-video-siliconmotion \ 158 xf86-video-tdfx \ 159 xf86-video-trident \ 160 xf86-video-tseng \ 161 xf86-video-vesa \ 162 xf86-video-wsfb 163 164# needs porting for xorg-server 21.1.3 165# xf86-video-s3 166# xf86-video-tga 167 168# needs porting for xorg-server 1.18 169# xf86-video-apm 170# xf86-video-glint 171 172.endif # ${MACHINE} == "cats" 173 174.if ${MACHINE} == "dreamcast" 175SUBDIR+= \ 176 xf86-video-wsfb 177.endif # ${MACHINE} == "dreamcast" 178 179.if ${MACHINE} == "evbarm" 180SUBDIR+= \ 181 xf86-video-ati \ 182 xf86-video-nouveau \ 183 xf86-video-radeon \ 184 xf86-video-radeon-kms \ 185 xf86-video-wsfb 186.endif # ${MACHINE} == "evbarm" 187 188.if ${MACHINE} == "evbmips" 189SUBDIR+= \ 190 xf86-video-siliconmotion \ 191 xf86-video-sis \ 192 xf86-video-wsfb 193.endif # ${MACHINE} == "evbmips" 194 195.if ${MACHINE} == "evbppc" 196SUBDIR+= \ 197 xf86-video-wsfb 198.endif # ${MACHINE} == "evbppc" 199 200.if ${MACHINE} == "ews4800mips" 201SUBDIR+= \ 202 xf86-video-wsfb 203.endif # ${MACHINE} == "ews4800mips" 204 205.if ${MACHINE} == "hp300" 206SUBDIR+= \ 207 xf86-video-wsfb 208.endif # ${MACHINE} == "hp300" 209 210.if ${MACHINE} == "hpcarm" || \ 211 ${MACHINE} == "hpcmips" || \ 212 ${MACHINE} == "hpcsh" 213SUBDIR+= \ 214 xf86-video-wsfb 215.endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh" 216 217.if ${MACHINE} == "hppa" 218SUBDIR+= \ 219 xf86-video-mga \ 220 xf86-video-ngle \ 221 xf86-video-r128 \ 222 xf86-video-wsfb 223.endif # ${MACHINE} == "hppa" 224 225.if ${MACHINE} == "ibmnws" 226# needs porting for xorg-server 21.1.3 227#SUBDIR+= \ 228# xf86-video-s3 229.endif # ${MACHINE} == "ibmnws" 230 231.if ${MACHINE} == "iyonix" 232SUBDIR+= \ 233 xf86-video-nv \ 234 xf86-video-wsfb 235.endif # ${MACHINE} == "iyonix" 236 237.if ${MACHINE} == "luna68k" 238SUBDIR+= \ 239 xf86-video-wsfb 240.endif # ${MACHINE} == "luna68k" 241 242.if ${MACHINE} == "mac68k" 243SUBDIR+= \ 244 xf86-video-wsfb 245.endif # ${MACHINE} == "mac68k" 246 247.if ${MACHINE} == "macppc" 248SUBDIR+= \ 249 xf86-video-ati \ 250 xf86-video-chips \ 251 xf86-video-mach64 \ 252 xf86-video-mga \ 253 xf86-video-nv \ 254 xf86-video-radeon \ 255 xf86-video-r128 \ 256 xf86-video-tdfx \ 257 xf86-video-wsfb 258 259# needs porting for xorg-server 1.6 260# xf86-video-imstt 261 262# needs porting for xorg-server 21.1.3 263# xf86-video-glint 264 265.endif # ${MACHINE} == "macppc" 266 267.if ${MACHINE} == "netwinder" 268SUBDIR+= \ 269 xf86-video-wsfb 270# xf86-video-igs 271.endif # ${MACHINE} == "netwinder" 272 273.if ${MACHINE} == "newsmips" 274SUBDIR+= \ 275 xf86-video-wsfb 276.endif # ${MACHINE} == "newsmips" 277 278.if ${MACHINE} == "ofppc" 279SUBDIR+= \ 280 xf86-video-ati \ 281 xf86-video-chips \ 282 xf86-video-mach64 \ 283 xf86-video-mga \ 284 xf86-video-nv \ 285 xf86-video-radeon \ 286 xf86-video-r128 \ 287 xf86-video-tdfx \ 288 xf86-video-wsfb 289.endif # ${MACHINE} == "ofppc" 290 291.if ${MACHINE} == "prep" 292SUBDIR+= \ 293 xf86-video-cirrus \ 294 xf86-video-mga 295 296# needs porting for xorg-server 21.1.3 297# xf86-video-s3 298 299.endif # ${MACHINE} == "prep" 300 301.if ${MACHINE} == "sgimips" 302SUBDIR+= \ 303 xf86-video-cirrus \ 304 xf86-video-mga \ 305 xf86-video-wsfb 306.if ${XORG_SERVER_SUBDIR} == "xorg-server.old" 307SUBDIR+= \ 308 xf86-video-crime \ 309 xf86-video-glint \ 310 xf86-video-newport \ 311 xf86-video-s3 312.endif # ${XORG_SERVER_SUBDIR} == "xorg-server.old" 313.endif # ${MACHINE} == "sgimips" 314 315.if ${MACHINE} == "shark" 316SUBDIR+= \ 317 xf86-video-chips \ 318 xf86-video-igs \ 319 xf86-video-wsfb 320.endif # ${MACHINE} == "shark" 321 322.if ${MACHINE} == "sparc" || \ 323 ${MACHINE} == "sparc64" 324SUBDIR+= \ 325 xf86-video-ati \ 326 xf86-video-mach64 \ 327 xf86-video-mga \ 328 xf86-video-r128 \ 329 xf86-video-radeon \ 330 xf86-video-suncg6 \ 331 xf86-video-sunffb \ 332 xf86-video-wsfb 333 334.if ${XORG_SERVER_SUBDIR} == "xorg-server.old" 335# needs porting for xorg-server 21.1.3 336SUBDIR+= \ 337 xf86-video-glint \ 338 xf86-video-ag10e \ 339 xf86-video-sunleo 340.endif # ${XORG_SERVER_SUBDIR} == "server.old" 341 342.if ${MACHINE} == "sparc" 343.if ${XORG_SERVER_SUBDIR} != "xorg-server.old" 344SUBDIR+= \ 345 xf86-video-pnozz 346.endif # ${XORG_SERVER_SUBDIR} != "server.old" 347SUBDIR+= \ 348 xf86-video-suncg14 \ 349 xf86-video-suntcx 350 351# needs porting for xorg-server 21.1.3 352# xf86-video-pnozz 353 354.endif # ${MACHINE} == "sparc" 355 356.endif # ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 357 358.if ${MACHINE} == "pmax" || \ 359 ${MACHINE} == "vax" 360SUBDIR+= \ 361 xf86-video-wsfb 362.endif # ${MACHINE} == "pmax" || ${MACHINE} == "vax" 363 364.if ${MACHINE} == "zaurus" 365SUBDIR+= \ 366 xf86-video-wsfb 367.endif # ${MACHINE} == "zaurus" 368 369.include <bsd.subdir.mk> 370