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