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