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