1 1.83 jruoho # $NetBSD: Makefile,v 1.83 2011/08/09 08:36:05 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.74 jmcneill SUBDIR+= dtv 19 1.82 jmcneill SUBDIR+= dtv_math 20 1.7 rumble SUBDIR+= efs 21 1.7 rumble SUBDIR+= ext2fs 22 1.15 ad SUBDIR+= exec_script 23 1.7 rumble SUBDIR+= fdesc 24 1.7 rumble SUBDIR+= ffs 25 1.18 ad SUBDIR+= filecore 26 1.68 ahoka SUBDIR+= flash 27 1.15 ad SUBDIR+= fss 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.46 pgoyette .if ${MACHINE_ARCH} == "i386" || \ 107 1.46 pgoyette ${MACHINE_ARCH} == "ia64" || \ 108 1.46 pgoyette ${MACHINE_ARCH} == "x86_64" 109 1.46 pgoyette SUBDIR+= acpiverbose 110 1.46 pgoyette .endif 111 1.46 pgoyette 112 1.50 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 113 1.50 jmcneill ${MACHINE_ARCH} == "x86_64" 114 1.52 jruoho SUBDIR+= acpiacad 115 1.52 jruoho SUBDIR+= acpibat 116 1.52 jruoho SUBDIR+= acpibut 117 1.52 jruoho SUBDIR+= acpicpu 118 1.53 jruoho SUBDIR+= acpidalb 119 1.58 jruoho SUBDIR+= acpifan 120 1.52 jruoho SUBDIR+= acpilid 121 1.57 jruoho SUBDIR+= acpipmtr 122 1.53 jruoho SUBDIR+= acpitz 123 1.53 jruoho SUBDIR+= acpivga 124 1.51 jmcneill SUBDIR+= acpiwmi 125 1.53 jruoho SUBDIR+= aibs 126 1.54 jruoho SUBDIR+= asus 127 1.63 jruoho SUBDIR+= fujbp 128 1.63 jruoho SUBDIR+= fujhk 129 1.75 jruoho SUBDIR+= hpacel 130 1.54 jruoho SUBDIR+= hpqlb 131 1.52 jruoho SUBDIR+= thinkpad 132 1.50 jmcneill SUBDIR+= wmidell 133 1.83 jruoho SUBDIR+= wmieeepc 134 1.50 jmcneill SUBDIR+= wmihp 135 1.50 jmcneill SUBDIR+= wmimsi 136 1.50 jmcneill .endif 137 1.50 jmcneill 138 1.27 abs .if ${MACHINE_ARCH} == "x86_64" 139 1.15 ad SUBDIR+= azalia 140 1.15 ad SUBDIR+= compat_linux 141 1.15 ad SUBDIR+= compat_linux32 142 1.15 ad SUBDIR+= compat_netbsd32 143 1.15 ad SUBDIR+= drm 144 1.15 ad SUBDIR+= i915drm 145 1.40 ahoka SUBDIR+= pad 146 1.15 ad .endif 147 1.15 ad 148 1.27 abs .if ${MACHINE_ARCH} == "i386" 149 1.15 ad SUBDIR+= azalia 150 1.15 ad SUBDIR+= compat_freebsd 151 1.15 ad SUBDIR+= compat_ibcs2 152 1.15 ad SUBDIR+= compat_linux 153 1.15 ad SUBDIR+= compat_svr4 154 1.15 ad SUBDIR+= drm 155 1.15 ad SUBDIR+= i915drm 156 1.76 jmcneill SUBDIR+= nsclpcsio 157 1.15 ad SUBDIR+= radeondrm 158 1.32 jmcneill SUBDIR+= viadrm 159 1.40 ahoka SUBDIR+= pad 160 1.62 jmcneill SUBDIR+= padlock 161 1.67 jruoho SUBDIR+= viac7temp 162 1.15 ad .endif 163 1.15 ad 164 1.56 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 165 1.56 jmcneill ${MACHINE_ARCH} == "x86_64" 166 1.59 jmcneill SUBDIR+= aps 167 1.56 jmcneill SUBDIR+= au8522 168 1.56 jmcneill SUBDIR+= auvitek 169 1.80 jmcneill SUBDIR+= finsio 170 1.79 jmcneill SUBDIR+= itesio 171 1.56 jmcneill SUBDIR+= xc5k 172 1.56 jmcneill .endif 173 1.56 jmcneill 174 1.49 tsutsui .if ${MACHINE_CPU} == "m68k" 175 1.47 tsutsui SUBDIR+= compat_aoutm68k 176 1.47 tsutsui #SUBDIR+= compat_linux 177 1.47 tsutsui #SUBDIR+= compat_sunos 178 1.47 tsutsui #SUBDIR+= compat_svr4 179 1.47 tsutsui .endif 180 1.47 tsutsui 181 1.23 agc .include <bsd.own.mk> 182 1.23 agc 183 1.23 agc # we need our device mapper for LVM 184 1.23 agc .if (${MKLVM} != "no") 185 1.28 yamt SUBDIR+= dm 186 1.23 agc .endif 187 1.23 agc 188 1.39 darran .if (${MKDTRACE} != "no") 189 1.39 darran SUBDIR+= dtrace 190 1.39 darran .endif 191 1.39 darran 192 1.39 darran # we need solaris for the dtrace and zfs modules 193 1.39 darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 194 1.39 darran SUBDIR+= solaris 195 1.39 darran .endif 196 1.39 darran 197 1.34 haad .if (${MKZFS} != "no") 198 1.34 haad SUBDIR+= zfs 199 1.34 haad .endif 200 1.34 haad 201 1.73 mrg .if (${MKCOMPATMODULES} != "no") 202 1.73 mrg SUBDIR+= arch 203 1.73 mrg .endif 204 1.73 mrg 205 1.1 ad .include <bsd.subdir.mk> 206