1 1.109 riastrad # $NetBSD: Makefile,v 1.109 2012/08/05 04:03:39 riastradh Exp $ 2 1.37 dyoung 3 1.37 dyoung .include <bsd.own.mk> 4 1.15 ad 5 1.15 ad # For all platforms 6 1.1 ad 7 1.37 dyoung SUBDIR= accf_dataready 8 1.16 ad SUBDIR+= accf_httpready 9 1.15 ad SUBDIR+= adosfs 10 1.14 ad SUBDIR+= aio 11 1.38 pooka SUBDIR+= bpf 12 1.7 rumble SUBDIR+= cd9660 13 1.7 rumble SUBDIR+= coda 14 1.7 rumble SUBDIR+= coda5 15 1.15 ad SUBDIR+= compat 16 1.15 ad SUBDIR+= compat_ossaudio 17 1.15 ad SUBDIR+= coredump 18 1.99 ahoka SUBDIR+= chfs 19 1.104 pgoyette SUBDIR+= dbcool 20 1.7 rumble SUBDIR+= efs 21 1.7 rumble SUBDIR+= ext2fs 22 1.15 ad SUBDIR+= exec_script 23 1.7 rumble SUBDIR+= fdesc 24 1.7 rumble SUBDIR+= ffs 25 1.18 ad SUBDIR+= filecore 26 1.93 sjg SUBDIR+= filemon 27 1.68 ahoka SUBDIR+= flash 28 1.15 ad SUBDIR+= fss 29 1.89 mbalmer SUBDIR+= gpio 30 1.94 mbalmer SUBDIR+= gpioiic 31 1.92 mbalmer SUBDIR+= gpioow 32 1.89 mbalmer SUBDIR+= gpiosim 33 1.109 riastrad SUBDIR+= hdafg 34 1.109 riastrad SUBDIR+= hdaudio 35 1.7 rumble SUBDIR+= hfs 36 1.105 pgoyette SUBDIR+= if_axe 37 1.94 mbalmer SUBDIR+= iic 38 1.7 rumble SUBDIR+= kernfs 39 1.22 ad SUBDIR+= layerfs 40 1.7 rumble SUBDIR+= lfs 41 1.7 rumble SUBDIR+= mfs 42 1.45 pgoyette SUBDIR+= miiverbose 43 1.45 pgoyette SUBDIR+= miniroot 44 1.31 rmind SUBDIR+= mqueue 45 1.18 ad SUBDIR+= msdos 46 1.68 ahoka SUBDIR+= nand 47 1.68 ahoka SUBDIR+= nandemulator 48 1.15 ad SUBDIR+= nfs 49 1.15 ad SUBDIR+= nfsserver 50 1.30 reinoud SUBDIR+= nilfs 51 1.96 tron SUBDIR+= npf 52 1.97 tron SUBDIR+= npf_alg_icmp 53 1.7 rumble SUBDIR+= ntfs 54 1.18 ad SUBDIR+= null 55 1.92 mbalmer SUBDIR+= onewire 56 1.7 rumble SUBDIR+= overlay 57 1.42 pgoyette SUBDIR+= pciverbose 58 1.41 ahoka SUBDIR+= pf 59 1.19 cube SUBDIR+= ppp_bsdcomp 60 1.19 cube SUBDIR+= ppp_deflate 61 1.7 rumble SUBDIR+= procfs 62 1.7 rumble SUBDIR+= ptyfs 63 1.7 rumble SUBDIR+= puffs 64 1.15 ad SUBDIR+= putter 65 1.44 pgoyette SUBDIR+= scsiverbose 66 1.103 pgoyette SUBDIR+= sdtemp 67 1.33 elad SUBDIR+= secmodel_bsd44 68 1.100 jym SUBDIR+= secmodel_extensions 69 1.33 elad SUBDIR+= secmodel_overlay 70 1.33 elad SUBDIR+= securelevel 71 1.7 rumble SUBDIR+= smbfs 72 1.81 pgoyette SUBDIR+= spdmem 73 1.24 pooka SUBDIR+= sysvbfs 74 1.33 elad SUBDIR+= suser 75 1.48 pgoyette SUBDIR+= swsensor 76 1.7 rumble SUBDIR+= tmpfs 77 1.108 riastrad SUBDIR+= uatp 78 1.7 rumble SUBDIR+= udf 79 1.18 ad SUBDIR+= umap 80 1.7 rumble SUBDIR+= union 81 1.43 pgoyette SUBDIR+= usbverbose 82 1.106 christos SUBDIR+= vcoda 83 1.78 enami SUBDIR+= v7fs 84 1.25 haad SUBDIR+= vnd 85 1.29 yamt SUBDIR+= tprof 86 1.7 rumble .if (defined(NOTYET)) 87 1.7 rumble SUBDIR+= unionfs 88 1.7 rumble .endif 89 1.37 dyoung .if ${MKBINUTILS} != "no" 90 1.37 dyoung SUBDIR+= xldscripts 91 1.37 dyoung .endif 92 1.7 rumble 93 1.15 ad # Machine dependent section 94 1.47 tsutsui .if ${MACHINE_ARCH} == "i386" || \ 95 1.49 tsutsui ${MACHINE_CPU} == "m68k" 96 1.47 tsutsui SUBDIR+= exec_aout 97 1.47 tsutsui .endif 98 1.47 tsutsui 99 1.21 tsutsui .if ${MACHINE_ARCH} != "alpha" 100 1.17 martin SUBDIR+= exec_elf32 101 1.17 martin .endif 102 1.15 ad 103 1.21 tsutsui .if ${MACHINE_ARCH} == "alpha" || \ 104 1.21 tsutsui ${MACHINE_ARCH} == "sparc64" || \ 105 1.21 tsutsui ${MACHINE_ARCH} == "x86_64" 106 1.20 he SUBDIR+= exec_elf64 107 1.20 he .endif 108 1.20 he 109 1.29 yamt .if ${MACHINE_ARCH} == "i386" || \ 110 1.29 yamt ${MACHINE_ARCH} == "x86_64" 111 1.71 jruoho SUBDIR+= amdtemp 112 1.64 jruoho SUBDIR+= coretemp 113 1.65 jruoho SUBDIR+= est 114 1.72 jruoho SUBDIR+= hpet 115 1.69 jruoho SUBDIR+= odcm 116 1.66 jruoho SUBDIR+= powernow 117 1.29 yamt SUBDIR+= tprof_pmi 118 1.70 yamt SUBDIR+= tprof_amdpmi 119 1.95 jmcneill SUBDIR+= vmt 120 1.29 yamt .endif 121 1.29 yamt 122 1.85 jruoho # 123 1.85 jruoho # ACPI modules 124 1.85 jruoho # 125 1.46 pgoyette .if ${MACHINE_ARCH} == "i386" || \ 126 1.46 pgoyette ${MACHINE_ARCH} == "ia64" || \ 127 1.46 pgoyette ${MACHINE_ARCH} == "x86_64" 128 1.46 pgoyette SUBDIR+= acpiverbose 129 1.46 pgoyette .endif 130 1.46 pgoyette 131 1.50 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 132 1.50 jmcneill ${MACHINE_ARCH} == "x86_64" 133 1.52 jruoho SUBDIR+= acpiacad 134 1.52 jruoho SUBDIR+= acpibat 135 1.52 jruoho SUBDIR+= acpibut 136 1.52 jruoho SUBDIR+= acpicpu 137 1.53 jruoho SUBDIR+= acpidalb 138 1.58 jruoho SUBDIR+= acpifan 139 1.52 jruoho SUBDIR+= acpilid 140 1.57 jruoho SUBDIR+= acpipmtr 141 1.53 jruoho SUBDIR+= acpitz 142 1.53 jruoho SUBDIR+= acpivga 143 1.86 jruoho SUBDIR+= acpiwdrt 144 1.51 jmcneill SUBDIR+= acpiwmi 145 1.53 jruoho SUBDIR+= aibs 146 1.54 jruoho SUBDIR+= asus 147 1.63 jruoho SUBDIR+= fujbp 148 1.63 jruoho SUBDIR+= fujhk 149 1.75 jruoho SUBDIR+= hpacel 150 1.54 jruoho SUBDIR+= hpqlb 151 1.52 jruoho SUBDIR+= thinkpad 152 1.50 jmcneill SUBDIR+= wmidell 153 1.83 jruoho SUBDIR+= wmieeepc 154 1.50 jmcneill SUBDIR+= wmihp 155 1.50 jmcneill SUBDIR+= wmimsi 156 1.50 jmcneill .endif 157 1.50 jmcneill 158 1.27 abs .if ${MACHINE_ARCH} == "x86_64" 159 1.15 ad SUBDIR+= azalia 160 1.15 ad SUBDIR+= compat_linux 161 1.15 ad SUBDIR+= compat_linux32 162 1.15 ad SUBDIR+= compat_netbsd32 163 1.15 ad SUBDIR+= drm 164 1.15 ad SUBDIR+= i915drm 165 1.40 ahoka SUBDIR+= pad 166 1.15 ad .endif 167 1.15 ad 168 1.27 abs .if ${MACHINE_ARCH} == "i386" 169 1.90 jmcneill SUBDIR+= ati_pcigart 170 1.15 ad SUBDIR+= azalia 171 1.15 ad SUBDIR+= compat_freebsd 172 1.15 ad SUBDIR+= compat_ibcs2 173 1.15 ad SUBDIR+= compat_linux 174 1.15 ad SUBDIR+= compat_svr4 175 1.15 ad SUBDIR+= drm 176 1.15 ad SUBDIR+= i915drm 177 1.90 jmcneill SUBDIR+= mach64drm 178 1.90 jmcneill SUBDIR+= mgadrm 179 1.76 jmcneill SUBDIR+= nsclpcsio 180 1.40 ahoka SUBDIR+= pad 181 1.62 jmcneill SUBDIR+= padlock 182 1.90 jmcneill SUBDIR+= r128drm 183 1.90 jmcneill SUBDIR+= radeondrm 184 1.90 jmcneill SUBDIR+= savagedrm 185 1.90 jmcneill SUBDIR+= sisdrm 186 1.90 jmcneill SUBDIR+= tdfxdrm 187 1.67 jruoho SUBDIR+= viac7temp 188 1.90 jmcneill SUBDIR+= viadrm 189 1.15 ad .endif 190 1.15 ad 191 1.85 jruoho # 192 1.85 jruoho # ISA modules 193 1.85 jruoho # 194 1.56 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 195 1.56 jmcneill ${MACHINE_ARCH} == "x86_64" 196 1.59 jmcneill SUBDIR+= aps 197 1.80 jmcneill SUBDIR+= finsio 198 1.79 jmcneill SUBDIR+= itesio 199 1.101 jakllsch SUBDIR+= lm 200 1.101 jakllsch SUBDIR+= lm_isa 201 1.101 jakllsch SUBDIR+= lm_isa_common 202 1.101 jakllsch SUBDIR+= lm_wbsio 203 1.101 jakllsch SUBDIR+= wbsio 204 1.56 jmcneill .endif 205 1.56 jmcneill 206 1.49 tsutsui .if ${MACHINE_CPU} == "m68k" 207 1.47 tsutsui SUBDIR+= compat_aoutm68k 208 1.47 tsutsui #SUBDIR+= compat_linux 209 1.47 tsutsui #SUBDIR+= compat_sunos 210 1.47 tsutsui #SUBDIR+= compat_svr4 211 1.47 tsutsui .endif 212 1.47 tsutsui 213 1.88 mbalmer .if ${MACHINE_ARCH} == "i386" || \ 214 1.88 mbalmer ${MACHINE_ARCH} == "x86_64" || \ 215 1.88 mbalmer ${MACHINE_ARCH} == "sparc64" 216 1.88 mbalmer SUBDIR+= pwdog 217 1.88 mbalmer .endif 218 1.88 mbalmer 219 1.23 agc .include <bsd.own.mk> 220 1.23 agc 221 1.107 reinoud # 222 1.107 reinoud # NetBSD/usermode support 223 1.107 reinoud # 224 1.107 reinoud .if ${MACHINE_ARCH} == "i386" || \ 225 1.107 reinoud ${MACHINE_ARCH} == "x86_64" 226 1.107 reinoud SUBDIR+= ../arch/usermode/modules/syscallemu 227 1.107 reinoud .endif 228 1.107 reinoud 229 1.23 agc # we need our device mapper for LVM 230 1.23 agc .if (${MKLVM} != "no") 231 1.28 yamt SUBDIR+= dm 232 1.23 agc .endif 233 1.23 agc 234 1.39 darran .if (${MKDTRACE} != "no") 235 1.39 darran SUBDIR+= dtrace 236 1.39 darran .endif 237 1.39 darran 238 1.39 darran # we need solaris for the dtrace and zfs modules 239 1.39 darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 240 1.39 darran SUBDIR+= solaris 241 1.39 darran .endif 242 1.39 darran 243 1.34 haad .if (${MKZFS} != "no") 244 1.34 haad SUBDIR+= zfs 245 1.34 haad .endif 246 1.34 haad 247 1.73 mrg .if (${MKCOMPATMODULES} != "no") 248 1.73 mrg SUBDIR+= arch 249 1.73 mrg .endif 250 1.73 mrg 251 1.84 jmcneill # 252 1.84 jmcneill # DTV modules 253 1.84 jmcneill # 254 1.84 jmcneill SUBDIR+= dtv 255 1.84 jmcneill SUBDIR+= dtv_math 256 1.84 jmcneill .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 257 1.84 jmcneill # tuners/demods 258 1.84 jmcneill SUBDIR+= au8522 259 1.84 jmcneill SUBDIR+= cx24227 260 1.84 jmcneill SUBDIR+= lg3303 261 1.84 jmcneill SUBDIR+= mt2131 262 1.84 jmcneill SUBDIR+= nxt2k 263 1.84 jmcneill SUBDIR+= tvpll 264 1.84 jmcneill SUBDIR+= xc3028 265 1.84 jmcneill SUBDIR+= xc5k 266 1.91 jruoho SUBDIR+= zl10353 267 1.84 jmcneill # hardware drivers 268 1.84 jmcneill SUBDIR+= auvitek 269 1.84 jmcneill SUBDIR+= coram 270 1.84 jmcneill SUBDIR+= cxdtv 271 1.84 jmcneill SUBDIR+= emdtv 272 1.84 jmcneill .endif 273 1.84 jmcneill 274 1.98 riz .if (${MKISCSI} != "no") 275 1.98 riz SUBDIR+= iscsi 276 1.98 riz .endif 277 1.98 riz 278 1.1 ad .include <bsd.subdir.mk> 279