1 # $NetBSD: Makefile,v 1.49 2010/10/20 14:50:22 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+= swsensor 57 SUBDIR+= tmpfs 58 SUBDIR+= udf 59 SUBDIR+= umap 60 SUBDIR+= union 61 SUBDIR+= usbverbose 62 SUBDIR+= vnd 63 SUBDIR+= tprof 64 .if (defined(NOTYET)) 65 SUBDIR+= unionfs 66 .endif 67 .if ${MKBINUTILS} != "no" 68 SUBDIR+= xldscripts 69 .endif 70 71 # Machine dependent section 72 .if ${MACHINE_ARCH} == "i386" || \ 73 ${MACHINE_CPU} == "m68k" 74 SUBDIR+= exec_aout 75 .endif 76 77 .if ${MACHINE_ARCH} != "alpha" 78 SUBDIR+= exec_elf32 79 .endif 80 81 .if ${MACHINE_ARCH} == "alpha" || \ 82 ${MACHINE_ARCH} == "sparc64" || \ 83 ${MACHINE_ARCH} == "x86_64" 84 SUBDIR+= exec_elf64 85 .endif 86 87 .if ${MACHINE_ARCH} == "i386" || \ 88 ${MACHINE_ARCH} == "x86_64" 89 SUBDIR+= tprof_pmi 90 .endif 91 92 .if ${MACHINE_ARCH} == "i386" || \ 93 ${MACHINE_ARCH} == "ia64" || \ 94 ${MACHINE_ARCH} == "x86_64" 95 SUBDIR+= acpiverbose 96 .endif 97 98 .if ${MACHINE_ARCH} == "x86_64" 99 SUBDIR+= azalia 100 SUBDIR+= compat_linux 101 SUBDIR+= compat_linux32 102 SUBDIR+= compat_netbsd32 103 SUBDIR+= drm 104 SUBDIR+= i915drm 105 SUBDIR+= pad 106 .endif 107 108 .if ${MACHINE_ARCH} == "i386" 109 SUBDIR+= azalia 110 SUBDIR+= compat_freebsd 111 SUBDIR+= compat_ibcs2 112 SUBDIR+= compat_linux 113 SUBDIR+= compat_svr4 114 SUBDIR+= drm 115 SUBDIR+= i915drm 116 SUBDIR+= radeondrm 117 SUBDIR+= viadrm 118 SUBDIR+= pad 119 .endif 120 121 .if ${MACHINE_CPU} == "m68k" 122 SUBDIR+= compat_aoutm68k 123 #SUBDIR+= compat_linux 124 #SUBDIR+= compat_sunos 125 #SUBDIR+= compat_svr4 126 .endif 127 128 .include <bsd.own.mk> 129 130 # we need our device mapper for LVM 131 .if (${MKLVM} != "no") 132 SUBDIR+= dm 133 .endif 134 135 .if (${MKDTRACE} != "no") 136 SUBDIR+= dtrace 137 .endif 138 139 # we need solaris for the dtrace and zfs modules 140 .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 141 SUBDIR+= solaris 142 .endif 143 144 .if (${MKZFS} != "no") 145 SUBDIR+= zfs 146 .endif 147 148 .include <bsd.subdir.mk> 149