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