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