1 1.134 pgoyette # $NetBSD: Makefile,v 1.134 2014/01/01 16:06:00 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.7 rumble SUBDIR+= unionfs 107 1.7 rumble .endif 108 1.37 dyoung .if ${MKBINUTILS} != "no" 109 1.37 dyoung SUBDIR+= xldscripts 110 1.37 dyoung .endif 111 1.7 rumble 112 1.15 ad # Machine dependent section 113 1.47 tsutsui .if ${MACHINE_ARCH} == "i386" || \ 114 1.49 tsutsui ${MACHINE_CPU} == "m68k" 115 1.47 tsutsui SUBDIR+= exec_aout 116 1.47 tsutsui .endif 117 1.47 tsutsui 118 1.21 tsutsui .if ${MACHINE_ARCH} != "alpha" 119 1.17 martin SUBDIR+= exec_elf32 120 1.17 martin .endif 121 1.15 ad 122 1.21 tsutsui .if ${MACHINE_ARCH} == "alpha" || \ 123 1.21 tsutsui ${MACHINE_ARCH} == "sparc64" || \ 124 1.21 tsutsui ${MACHINE_ARCH} == "x86_64" 125 1.20 he SUBDIR+= exec_elf64 126 1.20 he .endif 127 1.20 he 128 1.29 yamt .if ${MACHINE_ARCH} == "i386" || \ 129 1.29 yamt ${MACHINE_ARCH} == "x86_64" 130 1.71 jruoho SUBDIR+= amdtemp 131 1.64 jruoho SUBDIR+= coretemp 132 1.65 jruoho SUBDIR+= est 133 1.110 martin SUBDIR+= hdafg 134 1.110 martin SUBDIR+= hdaudio 135 1.72 jruoho SUBDIR+= hpet 136 1.69 jruoho SUBDIR+= odcm 137 1.66 jruoho SUBDIR+= powernow 138 1.29 yamt SUBDIR+= tprof_pmi 139 1.70 yamt SUBDIR+= tprof_amdpmi 140 1.95 jmcneill SUBDIR+= vmt 141 1.29 yamt .endif 142 1.29 yamt 143 1.126 alnsn .if ${MKSLJIT} != "no" 144 1.126 alnsn # No modules for arm, mips and powerpc yet. 145 1.114 alnsn .if ${MACHINE_ARCH} == "i386" || \ 146 1.115 alnsn ${MACHINE_ARCH} == "x86_64" || \ 147 1.115 alnsn ${MACHINE_ARCH} == "sparc" 148 1.113 alnsn SUBDIR+= bpfjit 149 1.112 alnsn SUBDIR+= sljit 150 1.112 alnsn .endif 151 1.126 alnsn .endif 152 1.112 alnsn 153 1.85 jruoho # 154 1.85 jruoho # ACPI modules 155 1.85 jruoho # 156 1.46 pgoyette .if ${MACHINE_ARCH} == "i386" || \ 157 1.46 pgoyette ${MACHINE_ARCH} == "ia64" || \ 158 1.46 pgoyette ${MACHINE_ARCH} == "x86_64" 159 1.46 pgoyette SUBDIR+= acpiverbose 160 1.46 pgoyette .endif 161 1.46 pgoyette 162 1.50 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 163 1.50 jmcneill ${MACHINE_ARCH} == "x86_64" 164 1.52 jruoho SUBDIR+= acpiacad 165 1.52 jruoho SUBDIR+= acpibat 166 1.52 jruoho SUBDIR+= acpibut 167 1.52 jruoho SUBDIR+= acpicpu 168 1.53 jruoho SUBDIR+= acpidalb 169 1.58 jruoho SUBDIR+= acpifan 170 1.52 jruoho SUBDIR+= acpilid 171 1.57 jruoho SUBDIR+= acpipmtr 172 1.53 jruoho SUBDIR+= acpitz 173 1.53 jruoho SUBDIR+= acpivga 174 1.86 jruoho SUBDIR+= acpiwdrt 175 1.51 jmcneill SUBDIR+= acpiwmi 176 1.53 jruoho SUBDIR+= aibs 177 1.54 jruoho SUBDIR+= asus 178 1.63 jruoho SUBDIR+= fujbp 179 1.63 jruoho SUBDIR+= fujhk 180 1.75 jruoho SUBDIR+= hpacel 181 1.54 jruoho SUBDIR+= hpqlb 182 1.52 jruoho SUBDIR+= thinkpad 183 1.50 jmcneill SUBDIR+= wmidell 184 1.83 jruoho SUBDIR+= wmieeepc 185 1.50 jmcneill SUBDIR+= wmihp 186 1.50 jmcneill SUBDIR+= wmimsi 187 1.50 jmcneill .endif 188 1.50 jmcneill 189 1.27 abs .if ${MACHINE_ARCH} == "x86_64" 190 1.15 ad SUBDIR+= azalia 191 1.15 ad SUBDIR+= compat_linux 192 1.15 ad SUBDIR+= compat_linux32 193 1.15 ad SUBDIR+= compat_netbsd32 194 1.15 ad SUBDIR+= drm 195 1.15 ad SUBDIR+= i915drm 196 1.40 ahoka SUBDIR+= pad 197 1.15 ad .endif 198 1.15 ad 199 1.27 abs .if ${MACHINE_ARCH} == "i386" 200 1.90 jmcneill SUBDIR+= ati_pcigart 201 1.15 ad SUBDIR+= azalia 202 1.15 ad SUBDIR+= compat_freebsd 203 1.15 ad SUBDIR+= compat_ibcs2 204 1.15 ad SUBDIR+= compat_linux 205 1.15 ad SUBDIR+= compat_svr4 206 1.15 ad SUBDIR+= drm 207 1.15 ad SUBDIR+= i915drm 208 1.90 jmcneill SUBDIR+= mach64drm 209 1.90 jmcneill SUBDIR+= mgadrm 210 1.76 jmcneill SUBDIR+= nsclpcsio 211 1.40 ahoka SUBDIR+= pad 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.85 jruoho # 223 1.85 jruoho # ISA modules 224 1.85 jruoho # 225 1.56 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 226 1.56 jmcneill ${MACHINE_ARCH} == "x86_64" 227 1.59 jmcneill SUBDIR+= aps 228 1.80 jmcneill SUBDIR+= finsio 229 1.79 jmcneill SUBDIR+= itesio 230 1.101 jakllsch SUBDIR+= lm 231 1.101 jakllsch SUBDIR+= lm_isa 232 1.101 jakllsch SUBDIR+= lm_isa_common 233 1.101 jakllsch SUBDIR+= lm_wbsio 234 1.101 jakllsch SUBDIR+= wbsio 235 1.56 jmcneill .endif 236 1.56 jmcneill 237 1.49 tsutsui .if ${MACHINE_CPU} == "m68k" 238 1.47 tsutsui SUBDIR+= compat_aoutm68k 239 1.47 tsutsui #SUBDIR+= compat_linux 240 1.47 tsutsui #SUBDIR+= compat_sunos 241 1.47 tsutsui #SUBDIR+= compat_svr4 242 1.47 tsutsui .endif 243 1.47 tsutsui 244 1.88 mbalmer .if ${MACHINE_ARCH} == "i386" || \ 245 1.88 mbalmer ${MACHINE_ARCH} == "x86_64" || \ 246 1.88 mbalmer ${MACHINE_ARCH} == "sparc64" 247 1.88 mbalmer SUBDIR+= pwdog 248 1.88 mbalmer .endif 249 1.88 mbalmer 250 1.23 agc .include <bsd.own.mk> 251 1.23 agc 252 1.107 reinoud # 253 1.107 reinoud # NetBSD/usermode support 254 1.107 reinoud # 255 1.107 reinoud .if ${MACHINE_ARCH} == "i386" || \ 256 1.107 reinoud ${MACHINE_ARCH} == "x86_64" 257 1.107 reinoud SUBDIR+= ../arch/usermode/modules/syscallemu 258 1.107 reinoud .endif 259 1.107 reinoud 260 1.23 agc # we need our device mapper for LVM 261 1.23 agc .if (${MKLVM} != "no") 262 1.28 yamt SUBDIR+= dm 263 1.23 agc .endif 264 1.23 agc 265 1.39 darran .if (${MKDTRACE} != "no") 266 1.116 chs SUBDIR+= cyclic 267 1.39 darran SUBDIR+= dtrace 268 1.39 darran .endif 269 1.39 darran 270 1.39 darran # we need solaris for the dtrace and zfs modules 271 1.39 darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 272 1.39 darran SUBDIR+= solaris 273 1.39 darran .endif 274 1.39 darran 275 1.34 haad .if (${MKZFS} != "no") 276 1.34 haad SUBDIR+= zfs 277 1.34 haad .endif 278 1.34 haad 279 1.73 mrg .if (${MKCOMPATMODULES} != "no") 280 1.73 mrg SUBDIR+= arch 281 1.73 mrg .endif 282 1.73 mrg 283 1.84 jmcneill # 284 1.84 jmcneill # DTV modules 285 1.84 jmcneill # 286 1.84 jmcneill SUBDIR+= dtv 287 1.84 jmcneill SUBDIR+= dtv_math 288 1.84 jmcneill .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 289 1.84 jmcneill # tuners/demods 290 1.84 jmcneill SUBDIR+= au8522 291 1.84 jmcneill SUBDIR+= cx24227 292 1.84 jmcneill SUBDIR+= lg3303 293 1.84 jmcneill SUBDIR+= mt2131 294 1.84 jmcneill SUBDIR+= nxt2k 295 1.84 jmcneill SUBDIR+= tvpll 296 1.84 jmcneill SUBDIR+= xc3028 297 1.84 jmcneill SUBDIR+= xc5k 298 1.91 jruoho SUBDIR+= zl10353 299 1.84 jmcneill # hardware drivers 300 1.84 jmcneill SUBDIR+= auvitek 301 1.84 jmcneill SUBDIR+= coram 302 1.84 jmcneill SUBDIR+= cxdtv 303 1.84 jmcneill SUBDIR+= emdtv 304 1.84 jmcneill .endif 305 1.84 jmcneill 306 1.98 riz .if (${MKISCSI} != "no") 307 1.98 riz SUBDIR+= iscsi 308 1.98 riz .endif 309 1.98 riz 310 1.1 ad .include <bsd.subdir.mk> 311