1 1.55 jmcneill # $NetBSD: Makefile,v 1.55 2010/12/27 15:48:28 jmcneill 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.55 jmcneill SUBDIR+= au8522 12 1.55 jmcneill SUBDIR+= auvitek 13 1.38 pooka SUBDIR+= bpf 14 1.7 rumble SUBDIR+= cd9660 15 1.7 rumble SUBDIR+= coda 16 1.7 rumble SUBDIR+= coda5 17 1.15 ad SUBDIR+= compat 18 1.15 ad SUBDIR+= compat_ossaudio 19 1.15 ad SUBDIR+= coredump 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.15 ad SUBDIR+= fss 27 1.7 rumble SUBDIR+= hfs 28 1.7 rumble SUBDIR+= kernfs 29 1.15 ad SUBDIR+= ksem 30 1.22 ad SUBDIR+= layerfs 31 1.7 rumble SUBDIR+= lfs 32 1.7 rumble SUBDIR+= mfs 33 1.45 pgoyette SUBDIR+= miiverbose 34 1.45 pgoyette SUBDIR+= miniroot 35 1.31 rmind SUBDIR+= mqueue 36 1.18 ad SUBDIR+= msdos 37 1.15 ad SUBDIR+= nfs 38 1.15 ad SUBDIR+= nfsserver 39 1.30 reinoud SUBDIR+= nilfs 40 1.7 rumble SUBDIR+= ntfs 41 1.18 ad SUBDIR+= null 42 1.7 rumble SUBDIR+= overlay 43 1.42 pgoyette SUBDIR+= pciverbose 44 1.41 ahoka SUBDIR+= pf 45 1.19 cube SUBDIR+= ppp_bsdcomp 46 1.19 cube SUBDIR+= ppp_deflate 47 1.7 rumble SUBDIR+= procfs 48 1.7 rumble SUBDIR+= ptyfs 49 1.7 rumble SUBDIR+= puffs 50 1.15 ad SUBDIR+= putter 51 1.44 pgoyette SUBDIR+= scsiverbose 52 1.33 elad SUBDIR+= secmodel_bsd44 53 1.33 elad SUBDIR+= secmodel_overlay 54 1.33 elad SUBDIR+= securelevel 55 1.7 rumble SUBDIR+= smbfs 56 1.24 pooka SUBDIR+= sysvbfs 57 1.33 elad SUBDIR+= suser 58 1.48 pgoyette SUBDIR+= swsensor 59 1.7 rumble SUBDIR+= tmpfs 60 1.7 rumble SUBDIR+= udf 61 1.18 ad SUBDIR+= umap 62 1.7 rumble SUBDIR+= union 63 1.43 pgoyette SUBDIR+= usbverbose 64 1.25 haad SUBDIR+= vnd 65 1.55 jmcneill SUBDIR+= xc5k 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.29 yamt SUBDIR+= tprof_pmi 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.52 jruoho SUBDIR+= acpilid 109 1.53 jruoho SUBDIR+= acpitz 110 1.53 jruoho SUBDIR+= acpivga 111 1.51 jmcneill SUBDIR+= acpiwmi 112 1.53 jruoho SUBDIR+= aibs 113 1.54 jruoho SUBDIR+= asus 114 1.54 jruoho SUBDIR+= hpqlb 115 1.52 jruoho SUBDIR+= thinkpad 116 1.50 jmcneill SUBDIR+= wmidell 117 1.50 jmcneill SUBDIR+= wmihp 118 1.50 jmcneill SUBDIR+= wmimsi 119 1.50 jmcneill .endif 120 1.50 jmcneill 121 1.27 abs .if ${MACHINE_ARCH} == "x86_64" 122 1.15 ad SUBDIR+= azalia 123 1.15 ad SUBDIR+= compat_linux 124 1.15 ad SUBDIR+= compat_linux32 125 1.15 ad SUBDIR+= compat_netbsd32 126 1.15 ad SUBDIR+= drm 127 1.15 ad SUBDIR+= i915drm 128 1.40 ahoka SUBDIR+= pad 129 1.15 ad .endif 130 1.15 ad 131 1.27 abs .if ${MACHINE_ARCH} == "i386" 132 1.15 ad SUBDIR+= azalia 133 1.15 ad SUBDIR+= compat_freebsd 134 1.15 ad SUBDIR+= compat_ibcs2 135 1.15 ad SUBDIR+= compat_linux 136 1.15 ad SUBDIR+= compat_svr4 137 1.15 ad SUBDIR+= drm 138 1.15 ad SUBDIR+= i915drm 139 1.15 ad SUBDIR+= radeondrm 140 1.32 jmcneill SUBDIR+= viadrm 141 1.40 ahoka SUBDIR+= pad 142 1.15 ad .endif 143 1.15 ad 144 1.49 tsutsui .if ${MACHINE_CPU} == "m68k" 145 1.47 tsutsui SUBDIR+= compat_aoutm68k 146 1.47 tsutsui #SUBDIR+= compat_linux 147 1.47 tsutsui #SUBDIR+= compat_sunos 148 1.47 tsutsui #SUBDIR+= compat_svr4 149 1.47 tsutsui .endif 150 1.47 tsutsui 151 1.23 agc .include <bsd.own.mk> 152 1.23 agc 153 1.23 agc # we need our device mapper for LVM 154 1.23 agc .if (${MKLVM} != "no") 155 1.28 yamt SUBDIR+= dm 156 1.23 agc .endif 157 1.23 agc 158 1.39 darran .if (${MKDTRACE} != "no") 159 1.39 darran SUBDIR+= dtrace 160 1.39 darran .endif 161 1.39 darran 162 1.39 darran # we need solaris for the dtrace and zfs modules 163 1.39 darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 164 1.39 darran SUBDIR+= solaris 165 1.39 darran .endif 166 1.39 darran 167 1.34 haad .if (${MKZFS} != "no") 168 1.34 haad SUBDIR+= zfs 169 1.34 haad .endif 170 1.34 haad 171 1.1 ad .include <bsd.subdir.mk> 172