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