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