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