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