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