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