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