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