Makefile revision 1.84
1# $NetBSD: Makefile,v 1.84 2011/08/09 11:12:02 jmcneill Exp $ 2 3.include <bsd.own.mk> 4 5# For all platforms 6 7SUBDIR= accf_dataready 8SUBDIR+= accf_httpready 9SUBDIR+= adosfs 10SUBDIR+= aio 11SUBDIR+= bpf 12SUBDIR+= cd9660 13SUBDIR+= coda 14SUBDIR+= coda5 15SUBDIR+= compat 16SUBDIR+= compat_ossaudio 17SUBDIR+= coredump 18SUBDIR+= efs 19SUBDIR+= ext2fs 20SUBDIR+= exec_script 21SUBDIR+= fdesc 22SUBDIR+= ffs 23SUBDIR+= filecore 24SUBDIR+= flash 25SUBDIR+= fss 26SUBDIR+= hfs 27SUBDIR+= kernfs 28SUBDIR+= ksem 29SUBDIR+= layerfs 30SUBDIR+= lfs 31SUBDIR+= mfs 32SUBDIR+= miiverbose 33SUBDIR+= miniroot 34SUBDIR+= mqueue 35SUBDIR+= msdos 36SUBDIR+= nand 37SUBDIR+= nandemulator 38SUBDIR+= nfs 39SUBDIR+= nfsserver 40SUBDIR+= nilfs 41SUBDIR+= ntfs 42SUBDIR+= null 43SUBDIR+= overlay 44SUBDIR+= pciverbose 45SUBDIR+= pf 46SUBDIR+= ppp_bsdcomp 47SUBDIR+= ppp_deflate 48SUBDIR+= procfs 49SUBDIR+= ptyfs 50SUBDIR+= puffs 51SUBDIR+= putter 52SUBDIR+= scsiverbose 53SUBDIR+= secmodel_bsd44 54SUBDIR+= secmodel_overlay 55SUBDIR+= securelevel 56SUBDIR+= smbfs 57SUBDIR+= spdmem 58SUBDIR+= sysvbfs 59SUBDIR+= suser 60SUBDIR+= swsensor 61SUBDIR+= tmpfs 62SUBDIR+= udf 63SUBDIR+= umap 64SUBDIR+= union 65SUBDIR+= usbverbose 66SUBDIR+= v7fs 67SUBDIR+= vnd 68SUBDIR+= tprof 69.if (defined(NOTYET)) 70SUBDIR+= unionfs 71.endif 72.if ${MKBINUTILS} != "no" 73SUBDIR+= xldscripts 74.endif 75 76# Machine dependent section 77.if ${MACHINE_ARCH} == "i386" || \ 78 ${MACHINE_CPU} == "m68k" 79SUBDIR+= exec_aout 80.endif 81 82.if ${MACHINE_ARCH} != "alpha" 83SUBDIR+= exec_elf32 84.endif 85 86.if ${MACHINE_ARCH} == "alpha" || \ 87 ${MACHINE_ARCH} == "sparc64" || \ 88 ${MACHINE_ARCH} == "x86_64" 89SUBDIR+= exec_elf64 90.endif 91 92.if ${MACHINE_ARCH} == "i386" || \ 93 ${MACHINE_ARCH} == "x86_64" 94SUBDIR+= amdtemp 95SUBDIR+= coretemp 96SUBDIR+= est 97SUBDIR+= hpet 98SUBDIR+= odcm 99SUBDIR+= powernow 100SUBDIR+= tprof_pmi 101SUBDIR+= tprof_amdpmi 102.endif 103 104.if ${MACHINE_ARCH} == "i386" || \ 105 ${MACHINE_ARCH} == "ia64" || \ 106 ${MACHINE_ARCH} == "x86_64" 107SUBDIR+= acpiverbose 108.endif 109 110.if ${MACHINE_ARCH} == "i386" || \ 111 ${MACHINE_ARCH} == "x86_64" 112SUBDIR+= acpiacad 113SUBDIR+= acpibat 114SUBDIR+= acpibut 115SUBDIR+= acpicpu 116SUBDIR+= acpidalb 117SUBDIR+= acpifan 118SUBDIR+= acpilid 119SUBDIR+= acpipmtr 120SUBDIR+= acpitz 121SUBDIR+= acpivga 122SUBDIR+= acpiwmi 123SUBDIR+= aibs 124SUBDIR+= asus 125SUBDIR+= fujbp 126SUBDIR+= fujhk 127SUBDIR+= hpacel 128SUBDIR+= hpqlb 129SUBDIR+= thinkpad 130SUBDIR+= wmidell 131SUBDIR+= wmieeepc 132SUBDIR+= wmihp 133SUBDIR+= wmimsi 134.endif 135 136.if ${MACHINE_ARCH} == "x86_64" 137SUBDIR+= azalia 138SUBDIR+= compat_linux 139SUBDIR+= compat_linux32 140SUBDIR+= compat_netbsd32 141SUBDIR+= drm 142SUBDIR+= i915drm 143SUBDIR+= pad 144.endif 145 146.if ${MACHINE_ARCH} == "i386" 147SUBDIR+= azalia 148SUBDIR+= compat_freebsd 149SUBDIR+= compat_ibcs2 150SUBDIR+= compat_linux 151SUBDIR+= compat_svr4 152SUBDIR+= drm 153SUBDIR+= i915drm 154SUBDIR+= nsclpcsio 155SUBDIR+= radeondrm 156SUBDIR+= viadrm 157SUBDIR+= pad 158SUBDIR+= padlock 159SUBDIR+= viac7temp 160.endif 161 162.if ${MACHINE_ARCH} == "i386" || \ 163 ${MACHINE_ARCH} == "x86_64" 164SUBDIR+= aps 165SUBDIR+= finsio 166SUBDIR+= itesio 167.endif 168 169.if ${MACHINE_CPU} == "m68k" 170SUBDIR+= compat_aoutm68k 171#SUBDIR+= compat_linux 172#SUBDIR+= compat_sunos 173#SUBDIR+= compat_svr4 174.endif 175 176.include <bsd.own.mk> 177 178# we need our device mapper for LVM 179.if (${MKLVM} != "no") 180SUBDIR+= dm 181.endif 182 183.if (${MKDTRACE} != "no") 184SUBDIR+= dtrace 185.endif 186 187# we need solaris for the dtrace and zfs modules 188.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 189SUBDIR+= solaris 190.endif 191 192.if (${MKZFS} != "no") 193SUBDIR+= zfs 194.endif 195 196.if (${MKCOMPATMODULES} != "no") 197SUBDIR+= arch 198.endif 199 200# 201# DTV modules 202# 203SUBDIR+= dtv 204SUBDIR+= dtv_math 205.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 206# tuners/demods 207SUBDIR+= au8522 208SUBDIR+= cx24227 209SUBDIR+= lg3303 210SUBDIR+= mt2131 211SUBDIR+= nxt2k 212SUBDIR+= tvpll 213SUBDIR+= xc3028 214SUBDIR+= xc5k 215# hardware drivers 216SUBDIR+= auvitek 217SUBDIR+= coram 218SUBDIR+= cxdtv 219SUBDIR+= emdtv 220.endif 221 222.include <bsd.subdir.mk> 223