1 # $NetBSD: Makefile,v 1.35 2009/11/10 14:47:52 skrll Exp $ 2 3 # For all platforms 4 5 SUBDIR= xldscripts 6 SUBDIR+= accf_dataready 7 SUBDIR+= accf_httpready 8 SUBDIR+= adosfs 9 SUBDIR+= aio 10 SUBDIR+= cd9660 11 SUBDIR+= coda 12 SUBDIR+= coda5 13 SUBDIR+= compat 14 SUBDIR+= compat_ossaudio 15 SUBDIR+= coredump 16 SUBDIR+= efs 17 SUBDIR+= ext2fs 18 SUBDIR+= exec_script 19 SUBDIR+= fdesc 20 SUBDIR+= ffs 21 SUBDIR+= filecore 22 SUBDIR+= fss 23 SUBDIR+= hfs 24 SUBDIR+= kernfs 25 SUBDIR+= ksem 26 SUBDIR+= layerfs 27 SUBDIR+= lfs 28 SUBDIR+= mfs 29 SUBDIR+= mqueue 30 SUBDIR+= msdos 31 SUBDIR+= nfs 32 SUBDIR+= nfsserver 33 SUBDIR+= nilfs 34 SUBDIR+= ntfs 35 SUBDIR+= null 36 SUBDIR+= overlay 37 SUBDIR+= portal 38 SUBDIR+= ppp_bsdcomp 39 SUBDIR+= ppp_deflate 40 SUBDIR+= procfs 41 SUBDIR+= ptyfs 42 SUBDIR+= puffs 43 SUBDIR+= putter 44 SUBDIR+= miniroot 45 SUBDIR+= secmodel_bsd44 46 SUBDIR+= secmodel_overlay 47 SUBDIR+= securelevel 48 SUBDIR+= smbfs 49 SUBDIR+= sysvbfs 50 SUBDIR+= suser 51 SUBDIR+= tmpfs 52 SUBDIR+= udf 53 SUBDIR+= umap 54 SUBDIR+= union 55 SUBDIR+= vnd 56 SUBDIR+= tprof 57 .if (defined(NOTYET)) 58 SUBDIR+= unionfs 59 .endif 60 61 # Machine dependent section 62 .if ${MACHINE_ARCH} != "alpha" 63 SUBDIR+= exec_elf32 64 .endif 65 66 .if ${MACHINE_ARCH} == "alpha" || \ 67 ${MACHINE_ARCH} == "sparc64" || \ 68 ${MACHINE_ARCH} == "x86_64" 69 SUBDIR+= exec_elf64 70 .endif 71 72 .if ${MACHINE_ARCH} == "i386" || \ 73 ${MACHINE_ARCH} == "x86_64" 74 SUBDIR+= tprof_pmi 75 .endif 76 77 .if ${MACHINE_ARCH} == "x86_64" 78 SUBDIR+= azalia 79 SUBDIR+= compat_linux 80 SUBDIR+= compat_linux32 81 SUBDIR+= compat_netbsd32 82 SUBDIR+= drm 83 SUBDIR+= i915drm 84 .endif 85 86 .if ${MACHINE_ARCH} == "i386" 87 SUBDIR+= azalia 88 SUBDIR+= compat_freebsd 89 SUBDIR+= compat_ibcs2 90 SUBDIR+= compat_linux 91 SUBDIR+= compat_svr4 92 SUBDIR+= drm 93 SUBDIR+= exec_aout 94 SUBDIR+= i915drm 95 SUBDIR+= radeondrm 96 SUBDIR+= viadrm 97 .endif 98 99 .include <bsd.own.mk> 100 101 # we need our device mapper for LVM 102 .if (${MKLVM} != "no") 103 SUBDIR+= dm 104 .endif 105 106 # we need solaris and zfs modules for ZFS 107 .if (${MKZFS} != "no") 108 SUBDIR+= solaris 109 SUBDIR+= zfs 110 .endif 111 112 .include <bsd.subdir.mk> 113