1 # $NetBSD: Makefile,v 1.39 2010/02/21 11:14:47 darran 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 .endif 89 90 .if ${MACHINE_ARCH} == "i386" 91 SUBDIR+= azalia 92 SUBDIR+= compat_freebsd 93 SUBDIR+= compat_ibcs2 94 SUBDIR+= compat_linux 95 SUBDIR+= compat_svr4 96 SUBDIR+= drm 97 SUBDIR+= exec_aout 98 SUBDIR+= i915drm 99 SUBDIR+= radeondrm 100 SUBDIR+= viadrm 101 .endif 102 103 .include <bsd.own.mk> 104 105 # we need our device mapper for LVM 106 .if (${MKLVM} != "no") 107 SUBDIR+= dm 108 .endif 109 110 .if (${MKDTRACE} != "no") 111 SUBDIR+= dtrace 112 .endif 113 114 # we need solaris for the dtrace and zfs modules 115 .if (${MKDTRACE} != "no" || ${MKZFS} != "no") 116 SUBDIR+= solaris 117 .endif 118 119 .if (${MKZFS} != "no") 120 SUBDIR+= zfs 121 .endif 122 123 .include <bsd.subdir.mk> 124