1# $NetBSD: Makefile,v 1.55 2011/05/17 22:29:06 macallan Exp $ 2 3# xf86-input drivers 4 5SUBDIR= \ 6 xf86-input-keyboard \ 7 xf86-input-mouse \ 8 xf86-input-ws 9 10.if ${MACHINE_ARCH} == "i386" || \ 11 ${MACHINE_ARCH} == "x86_64" 12SUBDIR+= \ 13 xf86-input-vmmouse 14 15.if ${MACHINE_ARCH} == "i386" 16SUBDIR+= \ 17 xf86-input-elographics 18.endif 19 20.endif 21 22 23# xf86-video drivers 24 25.if ${MACHINE_ARCH} == "i386" || \ 26 ${MACHINE_ARCH} == "x86_64" 27SUBDIR+= \ 28 xf86-video-apm \ 29 xf86-video-ark \ 30 xf86-video-ast \ 31 xf86-video-ati \ 32 xf86-video-chips \ 33 xf86-video-cirrus \ 34 xf86-video-cirrus_alpine \ 35 xf86-video-cirrus_laguna \ 36 xf86-video-glint \ 37 xf86-video-i128 \ 38 xf86-video-i740 \ 39 40# needs porting for xorg-server 1.6 41# xf86-video-imstt \ 42 43SUBDIR+= \ 44 xf86-video-intel \ 45 xf86-video-mach64 \ 46 xf86-video-mga \ 47 xf86-video-neomagic \ 48 xf86-video-nv \ 49 xf86-video-openchrome \ 50 xf86-video-r128 \ 51 xf86-video-radeon \ 52 xf86-video-radeonhd \ 53 xf86-video-s3 \ 54 xf86-video-s3virge \ 55 xf86-video-savage \ 56 xf86-video-siliconmotion \ 57 xf86-video-sis \ 58 xf86-video-tdfx \ 59 xf86-video-tga \ 60 xf86-video-trident \ 61 xf86-video-tseng \ 62 xf86-video-vmware \ 63 xf86-video-vesa \ 64 xf86-video-wsfb 65# xf86-video-rendition 66 67.if ${MACHINE_ARCH} == "i386" 68SUBDIR+= \ 69 xf86-video-geode 70.endif # ${MACHINE_ARCH} == "i386" 71 72.endif # ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 73 74.if ${MACHINE} == "alpha" 75SUBDIR+= \ 76 xf86-video-apm \ 77 xf86-video-ark \ 78 xf86-video-ast \ 79 xf86-video-ati \ 80 xf86-video-chips \ 81 xf86-video-cirrus \ 82 xf86-video-cirrus_alpine \ 83 xf86-video-cirrus_laguna \ 84 xf86-video-glint \ 85 xf86-video-i128 \ 86 xf86-video-i740 \ 87 xf86-video-mach64 \ 88 xf86-video-mga \ 89 xf86-video-nv \ 90 xf86-video-r128 \ 91 xf86-video-radeon \ 92 xf86-video-radeonhd \ 93 xf86-video-s3 \ 94 xf86-video-s3virge \ 95 xf86-video-savage \ 96 xf86-video-siliconmotion \ 97 xf86-video-sis \ 98 xf86-video-tdfx \ 99 xf86-video-tga \ 100 xf86-video-trident \ 101 xf86-video-tseng \ 102 xf86-video-wsfb 103# xf86-video-imstt 104.endif # ${MACHINE} == "alpha" 105 106.if ${MACHINE} == "bebox" 107SUBDIR+= \ 108 xf86-video-cirrus \ 109 xf86-video-cirrus_alpine \ 110 xf86-video-mga \ 111 xf86-video-s3 \ 112 xf86-video-s3virge 113.endif # ${MACHINE} == "bebox" 114 115.if ${MACHINE} == "cats" 116SUBDIR+= \ 117 xf86-video-apm \ 118 xf86-video-ark \ 119 xf86-video-ast \ 120 xf86-video-ati \ 121 xf86-video-chips \ 122 xf86-video-cirrus \ 123 xf86-video-cirrus_alpine \ 124 xf86-video-cirrus_laguna \ 125 xf86-video-glint \ 126 xf86-video-i128 \ 127 xf86-video-i740 \ 128 xf86-video-mga \ 129 xf86-video-neomagic \ 130 xf86-video-nv \ 131 xf86-video-radeon \ 132 xf86-video-radeonhd \ 133 xf86-video-s3 \ 134 xf86-video-s3virge \ 135 xf86-video-savage \ 136 xf86-video-siliconmotion \ 137 xf86-video-tdfx \ 138 xf86-video-tga \ 139 xf86-video-trident \ 140 xf86-video-tseng \ 141 xf86-video-vesa \ 142 xf86-video-wsfb 143.endif # ${MACHINE} == "cats" 144 145.if ${MACHINE} == "dreamcast" 146SUBDIR+= \ 147 xf86-video-wsfb 148.endif # ${MACHINE} == "dreamcast" 149 150.if ${MACHINE} == "ews4800mips" 151SUBDIR+= \ 152 xf86-video-wsfb 153.endif # ${MACHINE} == "ews4800mips" 154 155.if ${MACHINE} == "hp300" 156SUBDIR+= \ 157 xf86-video-wsfb 158.endif # ${MACHINE} == "hp300" 159 160.if ${MACHINE} == "hpcarm" || \ 161 ${MACHINE} == "hpcmips" || \ 162 ${MACHINE} == "hpcsh" 163SUBDIR+= \ 164 xf86-video-wsfb 165.endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh" 166 167.if ${MACHINE} == "macppc" 168SUBDIR+= \ 169 xf86-video-ati \ 170 xf86-video-chips \ 171 xf86-video-mach64 \ 172 xf86-video-mga \ 173 xf86-video-nv \ 174 xf86-video-radeon \ 175 xf86-video-r128 \ 176 xf86-video-tdfx \ 177 xf86-video-wsfb 178# xf86-video-imstt 179.endif # ${MACHINE} == "macppc" 180 181.if ${MACHINE} == "ofppc" 182SUBDIR+= \ 183 xf86-video-ati \ 184 xf86-video-chips \ 185 xf86-video-mach64 \ 186 xf86-video-mga \ 187 xf86-video-nv \ 188 xf86-video-radeon \ 189 xf86-video-r128 \ 190 xf86-video-tdfx \ 191 xf86-video-wsfb 192.endif # ${MACHINE} == "ofppc" 193 194.if ${MACHINE} == "netwinder" 195SUBDIR+= \ 196 xf86-video-wsfb 197# xf86-video-igs 198.endif # ${MACHINE} == "netwinder" 199 200.if ${MACHINE} == "prep" 201SUBDIR+= \ 202 xf86-video-cirrus \ 203 xf86-video-cirrus_alpine \ 204 xf86-video-mga \ 205 xf86-video-s3 206.endif # ${MACHINE} == "prep" 207 208.if ${MACHINE} == "sgimips" 209SUBDIR+= \ 210 xf86-video-crime \ 211 xf86-video-newport \ 212 xf86-video-wsfb 213.endif # ${MACHINE} == "sgimips" 214 215.if ${MACHINE} == "shark" 216SUBDIR+= \ 217 xf86-video-chips \ 218 xf86-video-igs \ 219 xf86-video-wsfb 220.endif # ${MACHINE} == "shark" 221 222.if ${MACHINE} == "sparc" || \ 223 ${MACHINE} == "sparc64" 224SUBDIR+= \ 225 xf86-video-ag10e \ 226 xf86-video-ati \ 227 xf86-video-glint \ 228 xf86-video-mach64 \ 229 xf86-video-mga \ 230 xf86-video-r128 \ 231 xf86-video-radeon \ 232 xf86-video-suncg6 \ 233 xf86-video-sunffb \ 234 xf86-video-sunleo \ 235 xf86-video-wsfb 236.if ${MACHINE} == "sparc" 237SUBDIR+= \ 238 xf86-video-pnozz \ 239 xf86-video-suncg14 \ 240 xf86-video-suntcx 241.endif # ${MACHINE} == "sparc" 242.endif # ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 243 244.if ${MACHINE} == "zaurus" 245SUBDIR+= \ 246 xf86-video-wsfb 247.endif ${MACHINE} == "zaurus" 248 249# broken with xorg-server 1.6 250# x86 251# xf86-video-nsc \ 252# xf86-video-vga \ 253# alpha 254# xf86-video-vga \ 255# bebox 256# xf86-video-vga 257# prep 258# xf86-video-vga 259 260.include <bsd.subdir.mk> 261