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