1 1.73 mrg # $NetBSD: Makefile,v 1.73 2011/06/15 09:45:59 mrg 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.7 rumble SUBDIR+= hfs 27 1.7 rumble SUBDIR+= kernfs 28 1.15 ad SUBDIR+= ksem 29 1.22 ad SUBDIR+= layerfs 30 1.7 rumble SUBDIR+= lfs 31 1.7 rumble SUBDIR+= mfs 32 1.45 pgoyette SUBDIR+= miiverbose 33 1.45 pgoyette SUBDIR+= miniroot 34 1.31 rmind SUBDIR+= mqueue 35 1.18 ad SUBDIR+= msdos 36 1.68 ahoka SUBDIR+= nand 37 1.68 ahoka SUBDIR+= nandemulator 38 1.15 ad SUBDIR+= nfs 39 1.15 ad SUBDIR+= nfsserver 40 1.30 reinoud SUBDIR+= nilfs 41 1.7 rumble SUBDIR+= ntfs 42 1.18 ad SUBDIR+= null 43 1.7 rumble SUBDIR+= overlay 44 1.42 pgoyette SUBDIR+= pciverbose 45 1.41 ahoka SUBDIR+= pf 46 1.19 cube SUBDIR+= ppp_bsdcomp 47 1.19 cube SUBDIR+= ppp_deflate 48 1.7 rumble SUBDIR+= procfs 49 1.7 rumble SUBDIR+= ptyfs 50 1.7 rumble SUBDIR+= puffs 51 1.15 ad SUBDIR+= putter 52 1.44 pgoyette SUBDIR+= scsiverbose 53 1.33 elad SUBDIR+= secmodel_bsd44 54 1.33 elad SUBDIR+= secmodel_overlay 55 1.33 elad SUBDIR+= securelevel 56 1.7 rumble SUBDIR+= smbfs 57 1.24 pooka SUBDIR+= sysvbfs 58 1.33 elad SUBDIR+= suser 59 1.48 pgoyette SUBDIR+= swsensor 60 1.7 rumble SUBDIR+= tmpfs 61 1.7 rumble SUBDIR+= udf 62 1.18 ad SUBDIR+= umap 63 1.7 rumble SUBDIR+= union 64 1.43 pgoyette SUBDIR+= usbverbose 65 1.25 haad SUBDIR+= vnd 66 1.29 yamt SUBDIR+= tprof 67 1.7 rumble .if (defined(NOTYET)) 68 1.7 rumble SUBDIR+= unionfs 69 1.7 rumble .endif 70 1.37 dyoung .if ${MKBINUTILS} != "no" 71 1.37 dyoung SUBDIR+= xldscripts 72 1.37 dyoung .endif 73 1.7 rumble 74 1.15 ad # Machine dependent section 75 1.47 tsutsui .if ${MACHINE_ARCH} == "i386" || \ 76 1.49 tsutsui ${MACHINE_CPU} == "m68k" 77 1.47 tsutsui SUBDIR+= exec_aout 78 1.47 tsutsui .endif 79 1.47 tsutsui 80 1.21 tsutsui .if ${MACHINE_ARCH} != "alpha" 81 1.17 martin SUBDIR+= exec_elf32 82 1.17 martin .endif 83 1.15 ad 84 1.21 tsutsui .if ${MACHINE_ARCH} == "alpha" || \ 85 1.21 tsutsui ${MACHINE_ARCH} == "sparc64" || \ 86 1.21 tsutsui ${MACHINE_ARCH} == "x86_64" 87 1.20 he SUBDIR+= exec_elf64 88 1.20 he .endif 89 1.20 he 90 1.29 yamt .if ${MACHINE_ARCH} == "i386" || \ 91 1.29 yamt ${MACHINE_ARCH} == "x86_64" 92 1.71 jruoho SUBDIR+= amdtemp 93 1.64 jruoho SUBDIR+= coretemp 94 1.65 jruoho SUBDIR+= est 95 1.72 jruoho SUBDIR+= hpet 96 1.69 jruoho SUBDIR+= odcm 97 1.66 jruoho SUBDIR+= powernow 98 1.29 yamt SUBDIR+= tprof_pmi 99 1.70 yamt SUBDIR+= tprof_amdpmi 100 1.29 yamt .endif 101 1.29 yamt 102 1.46 pgoyette .if ${MACHINE_ARCH} == "i386" || \ 103 1.46 pgoyette ${MACHINE_ARCH} == "ia64" || \ 104 1.46 pgoyette ${MACHINE_ARCH} == "x86_64" 105 1.46 pgoyette SUBDIR+= acpiverbose 106 1.46 pgoyette .endif 107 1.46 pgoyette 108 1.50 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 109 1.50 jmcneill ${MACHINE_ARCH} == "x86_64" 110 1.52 jruoho SUBDIR+= acpiacad 111 1.52 jruoho SUBDIR+= acpibat 112 1.52 jruoho SUBDIR+= acpibut 113 1.52 jruoho SUBDIR+= acpicpu 114 1.53 jruoho SUBDIR+= acpidalb 115 1.58 jruoho SUBDIR+= acpifan 116 1.52 jruoho SUBDIR+= acpilid 117 1.57 jruoho SUBDIR+= acpipmtr 118 1.53 jruoho SUBDIR+= acpitz 119 1.53 jruoho SUBDIR+= acpivga 120 1.51 jmcneill SUBDIR+= acpiwmi 121 1.53 jruoho SUBDIR+= aibs 122 1.54 jruoho SUBDIR+= asus 123 1.63 jruoho SUBDIR+= fujbp 124 1.63 jruoho SUBDIR+= fujhk 125 1.54 jruoho SUBDIR+= hpqlb 126 1.52 jruoho SUBDIR+= thinkpad 127 1.50 jmcneill SUBDIR+= wmidell 128 1.50 jmcneill SUBDIR+= wmihp 129 1.50 jmcneill SUBDIR+= wmimsi 130 1.50 jmcneill .endif 131 1.50 jmcneill 132 1.27 abs .if ${MACHINE_ARCH} == "x86_64" 133 1.15 ad SUBDIR+= azalia 134 1.15 ad SUBDIR+= compat_linux 135 1.15 ad SUBDIR+= compat_linux32 136 1.15 ad SUBDIR+= compat_netbsd32 137 1.15 ad SUBDIR+= drm 138 1.15 ad SUBDIR+= i915drm 139 1.40 ahoka SUBDIR+= pad 140 1.15 ad .endif 141 1.15 ad 142 1.27 abs .if ${MACHINE_ARCH} == "i386" 143 1.15 ad SUBDIR+= azalia 144 1.15 ad SUBDIR+= compat_freebsd 145 1.15 ad SUBDIR+= compat_ibcs2 146 1.15 ad SUBDIR+= compat_linux 147 1.15 ad SUBDIR+= compat_svr4 148 1.15 ad SUBDIR+= drm 149 1.15 ad SUBDIR+= i915drm 150 1.15 ad SUBDIR+= radeondrm 151 1.32 jmcneill SUBDIR+= viadrm 152 1.40 ahoka SUBDIR+= pad 153 1.62 jmcneill SUBDIR+= padlock 154 1.67 jruoho SUBDIR+= viac7temp 155 1.63 jruoho SUBDIR+= wmieeepc 156 1.15 ad .endif 157 1.15 ad 158 1.56 jmcneill .if ${MACHINE_ARCH} == "i386" || \ 159 1.56 jmcneill ${MACHINE_ARCH} == "x86_64" 160 1.59 jmcneill SUBDIR+= aps 161 1.56 jmcneill SUBDIR+= au8522 162 1.56 jmcneill SUBDIR+= auvitek 163 1.56 jmcneill SUBDIR+= xc5k 164 1.56 jmcneill .endif 165 1.56 jmcneill 166 1.49 tsutsui .if ${MACHINE_CPU} == "m68k" 167 1.47 tsutsui SUBDIR+= compat_aoutm68k 168 1.47 tsutsui #SUBDIR+= compat_linux 169 1.47 tsutsui #SUBDIR+= compat_sunos 170 1.47 tsutsui #SUBDIR+= compat_svr4 171 1.47 tsutsui .endif 172 1.47 tsutsui 173 1.23 agc .include <bsd.own.mk> 174 1.23 agc 175 1.23 agc # we need our device mapper for LVM 176 1.23 agc .if (${MKLVM} != "no") 177 1.28 yamt SUBDIR+= dm 178 1.23 agc .endif 179 1.23 agc 180 1.39 darran .if (${MKDTRACE} != "no") 181 1.39 darran SUBDIR+= dtrace 182 1.39 darran .endif 183 1.39 darran 184 1.39 darran # we need solaris for the dtrace and zfs modules 185 1.39 darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 186 1.39 darran SUBDIR+= solaris 187 1.39 darran .endif 188 1.39 darran 189 1.34 haad .if (${MKZFS} != "no") 190 1.34 haad SUBDIR+= zfs 191 1.34 haad .endif 192 1.34 haad 193 1.73 mrg .if (${MKCOMPATMODULES} != "no") 194 1.73 mrg SUBDIR+= arch 195 1.73 mrg .endif 196 1.73 mrg 197 1.1 ad .include <bsd.subdir.mk> 198