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