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