1 1.144 jmcneill # $NetBSD: Makefile,v 1.144 2015/03/28 14:09:58 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.144 jmcneill SUBDIR+= hdaudio_pci 140 1.141 christos SUBDIR+= hdaudioverbose 141 1.72 jruoho SUBDIR+= hpet 142 1.69 jruoho SUBDIR+= odcm 143 1.66 jruoho SUBDIR+= powernow 144 1.29 yamt SUBDIR+= tprof_pmi 145 1.70 yamt SUBDIR+= tprof_amdpmi 146 1.95 jmcneill SUBDIR+= vmt 147 1.29 yamt .endif 148 1.29 yamt 149 1.140 bad .if ${MACHINE_ARCH} == "i386" || \ 150 1.137 bad ${MACHINE_ARCH} == "x86_64" 151 1.137 bad SUBDIR+= ubsec # Builds on architectures with PCI bus 152 1.137 bad .endif 153 1.137 bad 154 1.126 alnsn .if ${MKSLJIT} != "no" 155 1.126 alnsn # No modules for arm, mips and powerpc yet. 156 1.114 alnsn .if ${MACHINE_ARCH} == "i386" || \ 157 1.115 alnsn ${MACHINE_ARCH} == "x86_64" || \ 158 1.115 alnsn ${MACHINE_ARCH} == "sparc" 159 1.113 alnsn SUBDIR+= bpfjit 160 1.112 alnsn SUBDIR+= sljit 161 1.112 alnsn .endif 162 1.126 alnsn .endif 163 1.112 alnsn 164 1.85 jruoho # 165 1.85 jruoho # ACPI modules 166 1.85 jruoho # 167 1.46 pgoyette .if ${MACHINE_ARCH} == "i386" || \ 168 1.46 pgoyette ${MACHINE_ARCH} == "ia64" || \ 169 1.46 pgoyette ${MACHINE_ARCH} == "x86_64" 170 1.46 pgoyette SUBDIR+= acpiverbose 171 1.46 pgoyette .endif 172 1.46 pgoyette 173 1.50 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 174 1.50 jmcneill ${MACHINE_ARCH} == "x86_64" 175 1.52 jruoho SUBDIR+= acpiacad 176 1.52 jruoho SUBDIR+= acpibat 177 1.52 jruoho SUBDIR+= acpibut 178 1.52 jruoho SUBDIR+= acpicpu 179 1.53 jruoho SUBDIR+= acpidalb 180 1.58 jruoho SUBDIR+= acpifan 181 1.52 jruoho SUBDIR+= acpilid 182 1.57 jruoho SUBDIR+= acpipmtr 183 1.53 jruoho SUBDIR+= acpitz 184 1.53 jruoho SUBDIR+= acpivga 185 1.86 jruoho SUBDIR+= acpiwdrt 186 1.51 jmcneill SUBDIR+= acpiwmi 187 1.53 jruoho SUBDIR+= aibs 188 1.54 jruoho SUBDIR+= asus 189 1.63 jruoho SUBDIR+= fujbp 190 1.63 jruoho SUBDIR+= fujhk 191 1.75 jruoho SUBDIR+= hpacel 192 1.54 jruoho SUBDIR+= hpqlb 193 1.52 jruoho SUBDIR+= thinkpad 194 1.50 jmcneill SUBDIR+= wmidell 195 1.83 jruoho SUBDIR+= wmieeepc 196 1.50 jmcneill SUBDIR+= wmihp 197 1.50 jmcneill SUBDIR+= wmimsi 198 1.50 jmcneill .endif 199 1.50 jmcneill 200 1.27 abs .if ${MACHINE_ARCH} == "x86_64" 201 1.15 ad SUBDIR+= compat_linux32 202 1.15 ad SUBDIR+= compat_netbsd32 203 1.15 ad .endif 204 1.15 ad 205 1.27 abs .if ${MACHINE_ARCH} == "i386" 206 1.90 jmcneill SUBDIR+= ati_pcigart 207 1.15 ad SUBDIR+= compat_freebsd 208 1.15 ad SUBDIR+= compat_ibcs2 209 1.15 ad SUBDIR+= compat_svr4 210 1.90 jmcneill SUBDIR+= mach64drm 211 1.90 jmcneill SUBDIR+= mgadrm 212 1.76 jmcneill SUBDIR+= nsclpcsio 213 1.62 jmcneill SUBDIR+= padlock 214 1.90 jmcneill SUBDIR+= r128drm 215 1.90 jmcneill SUBDIR+= radeondrm 216 1.90 jmcneill SUBDIR+= savagedrm 217 1.90 jmcneill SUBDIR+= sisdrm 218 1.90 jmcneill SUBDIR+= tdfxdrm 219 1.67 jruoho SUBDIR+= viac7temp 220 1.90 jmcneill SUBDIR+= viadrm 221 1.15 ad .endif 222 1.15 ad 223 1.142 christos .if ${MACHINE_ARCH} == "i386" || \ 224 1.142 christos ${MACHINE_ARCH} == "x86_64" 225 1.142 christos SUBDIR+= azalia 226 1.142 christos SUBDIR+= compat_linux 227 1.142 christos SUBDIR+= drm 228 1.142 christos SUBDIR+= drmkms 229 1.142 christos SUBDIR+= drmkms_linux 230 1.142 christos SUBDIR+= drmkms_pci 231 1.142 christos SUBDIR+= i915drm 232 1.142 christos SUBDIR+= i915drmkms 233 1.142 christos SUBDIR+= pad 234 1.85 jruoho # 235 1.85 jruoho # ISA modules 236 1.85 jruoho # 237 1.59 jmcneill SUBDIR+= aps 238 1.80 jmcneill SUBDIR+= finsio 239 1.79 jmcneill SUBDIR+= itesio 240 1.101 jakllsch SUBDIR+= lm 241 1.101 jakllsch SUBDIR+= lm_isa 242 1.101 jakllsch SUBDIR+= lm_isa_common 243 1.101 jakllsch SUBDIR+= lm_wbsio 244 1.101 jakllsch SUBDIR+= wbsio 245 1.56 jmcneill .endif 246 1.56 jmcneill 247 1.49 tsutsui .if ${MACHINE_CPU} == "m68k" 248 1.47 tsutsui SUBDIR+= compat_aoutm68k 249 1.47 tsutsui #SUBDIR+= compat_linux 250 1.47 tsutsui #SUBDIR+= compat_sunos 251 1.47 tsutsui #SUBDIR+= compat_svr4 252 1.47 tsutsui .endif 253 1.47 tsutsui 254 1.88 mbalmer .if ${MACHINE_ARCH} == "i386" || \ 255 1.88 mbalmer ${MACHINE_ARCH} == "x86_64" || \ 256 1.88 mbalmer ${MACHINE_ARCH} == "sparc64" 257 1.88 mbalmer SUBDIR+= pwdog 258 1.88 mbalmer .endif 259 1.88 mbalmer 260 1.23 agc .include <bsd.own.mk> 261 1.23 agc 262 1.107 reinoud # 263 1.107 reinoud # NetBSD/usermode support 264 1.107 reinoud # 265 1.107 reinoud .if ${MACHINE_ARCH} == "i386" || \ 266 1.107 reinoud ${MACHINE_ARCH} == "x86_64" 267 1.107 reinoud SUBDIR+= ../arch/usermode/modules/syscallemu 268 1.107 reinoud .endif 269 1.107 reinoud 270 1.23 agc # we need our device mapper for LVM 271 1.23 agc .if (${MKLVM} != "no") 272 1.28 yamt SUBDIR+= dm 273 1.23 agc .endif 274 1.23 agc 275 1.39 darran .if (${MKDTRACE} != "no") 276 1.116 chs SUBDIR+= cyclic 277 1.39 darran SUBDIR+= dtrace 278 1.39 darran .endif 279 1.39 darran 280 1.39 darran # we need solaris for the dtrace and zfs modules 281 1.39 darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 282 1.39 darran SUBDIR+= solaris 283 1.39 darran .endif 284 1.39 darran 285 1.34 haad .if (${MKZFS} != "no") 286 1.34 haad SUBDIR+= zfs 287 1.34 haad .endif 288 1.34 haad 289 1.73 mrg .if (${MKCOMPATMODULES} != "no") 290 1.73 mrg SUBDIR+= arch 291 1.73 mrg .endif 292 1.73 mrg 293 1.84 jmcneill # 294 1.84 jmcneill # DTV modules 295 1.84 jmcneill # 296 1.84 jmcneill SUBDIR+= dtv 297 1.84 jmcneill SUBDIR+= dtv_math 298 1.84 jmcneill .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 299 1.84 jmcneill # tuners/demods 300 1.84 jmcneill SUBDIR+= au8522 301 1.84 jmcneill SUBDIR+= cx24227 302 1.84 jmcneill SUBDIR+= lg3303 303 1.84 jmcneill SUBDIR+= mt2131 304 1.84 jmcneill SUBDIR+= nxt2k 305 1.84 jmcneill SUBDIR+= tvpll 306 1.84 jmcneill SUBDIR+= xc3028 307 1.84 jmcneill SUBDIR+= xc5k 308 1.91 jruoho SUBDIR+= zl10353 309 1.84 jmcneill # hardware drivers 310 1.84 jmcneill SUBDIR+= auvitek 311 1.84 jmcneill SUBDIR+= coram 312 1.84 jmcneill SUBDIR+= cxdtv 313 1.84 jmcneill SUBDIR+= emdtv 314 1.84 jmcneill .endif 315 1.84 jmcneill 316 1.98 riz .if (${MKISCSI} != "no") 317 1.98 riz SUBDIR+= iscsi 318 1.98 riz .endif 319 1.98 riz 320 1.1 ad .include <bsd.subdir.mk> 321