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