1 # $NetBSD: Makefile,v 1.47 2010/10/15 12:20:33 tsutsui Exp $ 2 3 .include <bsd.own.mk> 4 5 # For all platforms 6 7 SUBDIR= accf_dataready 8 SUBDIR+= accf_httpready 9 SUBDIR+= adosfs 10 SUBDIR+= aio 11 SUBDIR+= bpf 12 SUBDIR+= cd9660 13 SUBDIR+= coda 14 SUBDIR+= coda5 15 SUBDIR+= compat 16 SUBDIR+= compat_ossaudio 17 SUBDIR+= coredump 18 SUBDIR+= efs 19 SUBDIR+= ext2fs 20 SUBDIR+= exec_script 21 SUBDIR+= fdesc 22 SUBDIR+= ffs 23 SUBDIR+= filecore 24 SUBDIR+= fss 25 SUBDIR+= hfs 26 SUBDIR+= kernfs 27 SUBDIR+= ksem 28 SUBDIR+= layerfs 29 SUBDIR+= lfs 30 SUBDIR+= mfs 31 SUBDIR+= miiverbose 32 SUBDIR+= miniroot 33 SUBDIR+= mqueue 34 SUBDIR+= msdos 35 SUBDIR+= nfs 36 SUBDIR+= nfsserver 37 SUBDIR+= nilfs 38 SUBDIR+= ntfs 39 SUBDIR+= null 40 SUBDIR+= overlay 41 SUBDIR+= pciverbose 42 SUBDIR+= pf 43 SUBDIR+= ppp_bsdcomp 44 SUBDIR+= ppp_deflate 45 SUBDIR+= procfs 46 SUBDIR+= ptyfs 47 SUBDIR+= puffs 48 SUBDIR+= putter 49 SUBDIR+= scsiverbose 50 SUBDIR+= secmodel_bsd44 51 SUBDIR+= secmodel_overlay 52 SUBDIR+= securelevel 53 SUBDIR+= smbfs 54 SUBDIR+= sysvbfs 55 SUBDIR+= suser 56 SUBDIR+= tmpfs 57 SUBDIR+= udf 58 SUBDIR+= umap 59 SUBDIR+= union 60 SUBDIR+= usbverbose 61 SUBDIR+= vnd 62 SUBDIR+= tprof 63 .if (defined(NOTYET)) 64 SUBDIR+= unionfs 65 .endif 66 .if ${MKBINUTILS} != "no" 67 SUBDIR+= xldscripts 68 .endif 69 70 # Machine dependent section 71 .if ${MACHINE_ARCH} == "i386" || \ 72 ${MACHINE_ARCH} == "m68k" 73 SUBDIR+= exec_aout 74 .endif 75 76 .if ${MACHINE_ARCH} != "alpha" 77 SUBDIR+= exec_elf32 78 .endif 79 80 .if ${MACHINE_ARCH} == "alpha" || \ 81 ${MACHINE_ARCH} == "sparc64" || \ 82 ${MACHINE_ARCH} == "x86_64" 83 SUBDIR+= exec_elf64 84 .endif 85 86 .if ${MACHINE_ARCH} == "i386" || \ 87 ${MACHINE_ARCH} == "x86_64" 88 SUBDIR+= tprof_pmi 89 .endif 90 91 .if ${MACHINE_ARCH} == "i386" || \ 92 ${MACHINE_ARCH} == "ia64" || \ 93 ${MACHINE_ARCH} == "x86_64" 94 SUBDIR+= acpiverbose 95 .endif 96 97 .if ${MACHINE_ARCH} == "x86_64" 98 SUBDIR+= azalia 99 SUBDIR+= compat_linux 100 SUBDIR+= compat_linux32 101 SUBDIR+= compat_netbsd32 102 SUBDIR+= drm 103 SUBDIR+= i915drm 104 SUBDIR+= pad 105 .endif 106 107 .if ${MACHINE_ARCH} == "i386" 108 SUBDIR+= azalia 109 SUBDIR+= compat_freebsd 110 SUBDIR+= compat_ibcs2 111 SUBDIR+= compat_linux 112 SUBDIR+= compat_svr4 113 SUBDIR+= drm 114 SUBDIR+= i915drm 115 SUBDIR+= radeondrm 116 SUBDIR+= viadrm 117 SUBDIR+= pad 118 .endif 119 120 .if ${MACHINE_ARCH} == "m68k" 121 SUBDIR+= compat_aoutm68k 122 #SUBDIR+= compat_linux 123 #SUBDIR+= compat_sunos 124 #SUBDIR+= compat_svr4 125 .endif 126 127 .include <bsd.own.mk> 128 129 # we need our device mapper for LVM 130 .if (${MKLVM} != "no") 131 SUBDIR+= dm 132 .endif 133 134 .if (${MKDTRACE} != "no") 135 SUBDIR+= dtrace 136 .endif 137 138 # we need solaris for the dtrace and zfs modules 139 .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 140 SUBDIR+= solaris 141 .endif 142 143 .if (${MKZFS} != "no") 144 SUBDIR+= zfs 145 .endif 146 147 .include <bsd.subdir.mk> 148