1 # $NetBSD: Makefile,v 1.40 2010/04/09 13:49:12 ahoka 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+= mqueue 32 SUBDIR+= msdos 33 SUBDIR+= nfs 34 SUBDIR+= nfsserver 35 SUBDIR+= nilfs 36 SUBDIR+= ntfs 37 SUBDIR+= null 38 SUBDIR+= overlay 39 SUBDIR+= ppp_bsdcomp 40 SUBDIR+= ppp_deflate 41 SUBDIR+= procfs 42 SUBDIR+= ptyfs 43 SUBDIR+= puffs 44 SUBDIR+= putter 45 SUBDIR+= miniroot 46 SUBDIR+= secmodel_bsd44 47 SUBDIR+= secmodel_overlay 48 SUBDIR+= securelevel 49 SUBDIR+= smbfs 50 SUBDIR+= sysvbfs 51 SUBDIR+= suser 52 SUBDIR+= tmpfs 53 SUBDIR+= udf 54 SUBDIR+= umap 55 SUBDIR+= union 56 SUBDIR+= vnd 57 SUBDIR+= tprof 58 .if (defined(NOTYET)) 59 SUBDIR+= unionfs 60 .endif 61 .if ${MKBINUTILS} != "no" 62 SUBDIR+= xldscripts 63 .endif 64 65 # Machine dependent section 66 .if ${MACHINE_ARCH} != "alpha" 67 SUBDIR+= exec_elf32 68 .endif 69 70 .if ${MACHINE_ARCH} == "alpha" || \ 71 ${MACHINE_ARCH} == "sparc64" || \ 72 ${MACHINE_ARCH} == "x86_64" 73 SUBDIR+= exec_elf64 74 .endif 75 76 .if ${MACHINE_ARCH} == "i386" || \ 77 ${MACHINE_ARCH} == "x86_64" 78 SUBDIR+= tprof_pmi 79 .endif 80 81 .if ${MACHINE_ARCH} == "x86_64" 82 SUBDIR+= azalia 83 SUBDIR+= compat_linux 84 SUBDIR+= compat_linux32 85 SUBDIR+= compat_netbsd32 86 SUBDIR+= drm 87 SUBDIR+= i915drm 88 SUBDIR+= pad 89 .endif 90 91 .if ${MACHINE_ARCH} == "i386" 92 SUBDIR+= azalia 93 SUBDIR+= compat_freebsd 94 SUBDIR+= compat_ibcs2 95 SUBDIR+= compat_linux 96 SUBDIR+= compat_svr4 97 SUBDIR+= drm 98 SUBDIR+= exec_aout 99 SUBDIR+= i915drm 100 SUBDIR+= radeondrm 101 SUBDIR+= viadrm 102 SUBDIR+= pad 103 .endif 104 105 .include <bsd.own.mk> 106 107 # we need our device mapper for LVM 108 .if (${MKLVM} != "no") 109 SUBDIR+= dm 110 .endif 111 112 .if (${MKDTRACE} != "no") 113 SUBDIR+= dtrace 114 .endif 115 116 # we need solaris for the dtrace and zfs modules 117 .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 118 SUBDIR+= solaris 119 .endif 120 121 .if (${MKZFS} != "no") 122 SUBDIR+= zfs 123 .endif 124 125 .include <bsd.subdir.mk> 126