1 # $NetBSD: Makefile,v 1.49 2010/10/23 15:27:50 tsutsui Exp $ 2 3 # xf86-input drivers 4 5 SUBDIR= \ 6 xf86-input-keyboard \ 7 xf86-input-mouse \ 8 xf86-input-ws 9 10 .if ${MACHINE_ARCH} == "i386" || \ 11 ${MACHINE_ARCH} == "x86_64" 12 SUBDIR+= \ 13 xf86-input-vmmouse 14 15 .if ${MACHINE_ARCH} == "i386" 16 SUBDIR+= \ 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" 27 SUBDIR+= \ 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 43 SUBDIR+= \ 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" 68 SUBDIR+= \ 69 xf86-video-geode 70 .endif # ${MACHINE_ARCH} == "i386" 71 72 .endif # ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 73 74 .if ${MACHINE} == "alpha" 75 SUBDIR+= \ 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" 107 SUBDIR+= \ 108 xf86-video-cirrus \ 109 xf86-video-cirrus_alpine \ 110 xf86-video-mga \ 111 xf86-video-s3 \ 112 xf86-video-s3virge \ 113 xf86-video-vga 114 .endif # ${MACHINE} == "bebox" 115 116 .if ${MACHINE} == "cats" 117 SUBDIR+= \ 118 xf86-video-apm \ 119 xf86-video-ark \ 120 xf86-video-ast \ 121 xf86-video-ati \ 122 xf86-video-chips \ 123 xf86-video-cirrus \ 124 xf86-video-cirrus_alpine \ 125 xf86-video-cirrus_laguna \ 126 xf86-video-glint \ 127 xf86-video-i128 \ 128 xf86-video-i740 \ 129 xf86-video-mga \ 130 xf86-video-neomagic \ 131 xf86-video-nv \ 132 xf86-video-radeon \ 133 xf86-video-radeonhd \ 134 xf86-video-s3 \ 135 xf86-video-s3virge \ 136 xf86-video-savage \ 137 xf86-video-siliconmotion \ 138 xf86-video-tdfx \ 139 xf86-video-tga \ 140 xf86-video-trident \ 141 xf86-video-tseng \ 142 xf86-video-vesa \ 143 xf86-video-wsfb 144 .endif # ${MACHINE} == "cats" 145 146 .if ${MACHINE} == "dreamcast" 147 SUBDIR+= \ 148 xf86-video-wsfb 149 .endif # ${MACHINE} == "dreamcast" 150 151 .if ${MACHINE} == "hpcarm" || \ 152 ${MACHINE} == "hpcmips" || \ 153 ${MACHINE} == "hpcsh" 154 SUBDIR+= \ 155 xf86-video-wsfb 156 .endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh" 157 158 .if ${MACHINE} == "macppc" 159 SUBDIR+= \ 160 xf86-video-ati \ 161 xf86-video-chips \ 162 xf86-video-mach64 \ 163 xf86-video-mga \ 164 xf86-video-nv \ 165 xf86-video-radeon \ 166 xf86-video-r128 \ 167 xf86-video-tdfx \ 168 xf86-video-wsfb 169 # xf86-video-imstt 170 .endif # ${MACHINE} == "macppc" 171 172 .if ${MACHINE} == "netwinder" 173 SUBDIR+= \ 174 xf86-video-wsfb 175 # xf86-video-igs 176 .endif # ${MACHINE} == "netwinder" 177 178 .if ${MACHINE} == "prep" 179 SUBDIR+= \ 180 xf86-video-cirrus \ 181 xf86-video-cirrus_alpine \ 182 xf86-video-mga \ 183 xf86-video-s3 \ 184 xf86-video-vga 185 .endif # ${MACHINE} == "prep" 186 187 .if ${MACHINE} == "sgimips" 188 SUBDIR+= \ 189 xf86-video-crime \ 190 xf86-video-newport \ 191 xf86-video-wsfb 192 .endif # ${MACHINE} == "sgimips" 193 194 .if ${MACHINE} == "shark" 195 SUBDIR+= \ 196 xf86-video-chips \ 197 xf86-video-igs \ 198 xf86-video-wsfb 199 .endif # ${MACHINE} == "shark" 200 201 .if ${MACHINE} == "sparc" || \ 202 ${MACHINE} == "sparc64" 203 SUBDIR+= \ 204 xf86-video-ag10e \ 205 xf86-video-ati \ 206 xf86-video-glint \ 207 xf86-video-mach64 \ 208 xf86-video-mga \ 209 xf86-video-r128 \ 210 xf86-video-radeon \ 211 xf86-video-suncg6 \ 212 xf86-video-sunffb \ 213 xf86-video-sunleo \ 214 xf86-video-wsfb 215 .if ${MACHINE} == "sparc" 216 SUBDIR+= \ 217 xf86-video-pnozz \ 218 xf86-video-suncg14 \ 219 xf86-video-suntcx 220 .endif # ${MACHINE} == "sparc" 221 .endif # ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 222 223 .if ${MACHINE} == "zaurus" 224 SUBDIR+= \ 225 xf86-video-wsfb 226 .endif ${MACHINE} == "zaurus" 227 228 # broken with xorg-server 1.6 229 # x86 230 # xf86-video-nsc \ 231 # xf86-video-vga \ 232 # alpha 233 # xf86-video-vga \ 234 235 .include <bsd.subdir.mk> 236