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