Makefile revision 1.97
1# $NetBSD: Makefile,v 1.97 2011/11/06 13:26:54 tron 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+= filemon 25SUBDIR+= flash 26SUBDIR+= fss 27SUBDIR+= gpio 28SUBDIR+= gpioiic 29SUBDIR+= gpioow 30SUBDIR+= gpiosim 31SUBDIR+= hfs 32SUBDIR+= iic 33SUBDIR+= kernfs 34SUBDIR+= ksem 35SUBDIR+= layerfs 36SUBDIR+= lfs 37SUBDIR+= mfs 38SUBDIR+= miiverbose 39SUBDIR+= miniroot 40SUBDIR+= mqueue 41SUBDIR+= msdos 42SUBDIR+= nand 43SUBDIR+= nandemulator 44SUBDIR+= nfs 45SUBDIR+= nfsserver 46SUBDIR+= nilfs 47SUBDIR+= npf 48SUBDIR+= npf_alg_icmp 49SUBDIR+= ntfs 50SUBDIR+= null 51SUBDIR+= onewire 52SUBDIR+= overlay 53SUBDIR+= pciverbose 54SUBDIR+= pf 55SUBDIR+= ppp_bsdcomp 56SUBDIR+= ppp_deflate 57SUBDIR+= procfs 58SUBDIR+= ptyfs 59SUBDIR+= puffs 60SUBDIR+= putter 61SUBDIR+= scsiverbose 62SUBDIR+= secmodel_bsd44 63SUBDIR+= secmodel_overlay 64SUBDIR+= securelevel 65SUBDIR+= smbfs 66SUBDIR+= spdmem 67SUBDIR+= sysvbfs 68SUBDIR+= suser 69SUBDIR+= swsensor 70SUBDIR+= tmpfs 71SUBDIR+= udf 72SUBDIR+= umap 73SUBDIR+= union 74SUBDIR+= usbverbose 75SUBDIR+= v7fs 76SUBDIR+= vnd 77SUBDIR+= tprof 78.if (defined(NOTYET)) 79SUBDIR+= unionfs 80.endif 81.if ${MKBINUTILS} != "no" 82SUBDIR+= xldscripts 83.endif 84 85# Machine dependent section 86.if ${MACHINE_ARCH} == "i386" || \ 87 ${MACHINE_CPU} == "m68k" 88SUBDIR+= exec_aout 89.endif 90 91.if ${MACHINE_ARCH} != "alpha" 92SUBDIR+= exec_elf32 93.endif 94 95.if ${MACHINE_ARCH} == "alpha" || \ 96 ${MACHINE_ARCH} == "sparc64" || \ 97 ${MACHINE_ARCH} == "x86_64" 98SUBDIR+= exec_elf64 99.endif 100 101.if ${MACHINE_ARCH} == "i386" || \ 102 ${MACHINE_ARCH} == "x86_64" 103SUBDIR+= amdtemp 104SUBDIR+= coretemp 105SUBDIR+= est 106SUBDIR+= hpet 107SUBDIR+= odcm 108SUBDIR+= powernow 109SUBDIR+= tprof_pmi 110SUBDIR+= tprof_amdpmi 111SUBDIR+= vmt 112.endif 113 114# 115# ACPI modules 116# 117.if ${MACHINE_ARCH} == "i386" || \ 118 ${MACHINE_ARCH} == "ia64" || \ 119 ${MACHINE_ARCH} == "x86_64" 120SUBDIR+= acpiverbose 121.endif 122 123.if ${MACHINE_ARCH} == "i386" || \ 124 ${MACHINE_ARCH} == "x86_64" 125SUBDIR+= acpiacad 126SUBDIR+= acpibat 127SUBDIR+= acpibut 128SUBDIR+= acpicpu 129SUBDIR+= acpidalb 130SUBDIR+= acpifan 131SUBDIR+= acpilid 132SUBDIR+= acpipmtr 133SUBDIR+= acpitz 134SUBDIR+= acpivga 135SUBDIR+= acpiwdrt 136SUBDIR+= acpiwmi 137SUBDIR+= aibs 138SUBDIR+= asus 139SUBDIR+= fujbp 140SUBDIR+= fujhk 141SUBDIR+= hpacel 142SUBDIR+= hpqlb 143SUBDIR+= thinkpad 144SUBDIR+= wmidell 145SUBDIR+= wmieeepc 146SUBDIR+= wmihp 147SUBDIR+= wmimsi 148.endif 149 150.if ${MACHINE_ARCH} == "x86_64" 151SUBDIR+= azalia 152SUBDIR+= compat_linux 153SUBDIR+= compat_linux32 154SUBDIR+= compat_netbsd32 155SUBDIR+= drm 156SUBDIR+= i915drm 157SUBDIR+= pad 158.endif 159 160.if ${MACHINE_ARCH} == "i386" 161SUBDIR+= ati_pcigart 162SUBDIR+= azalia 163SUBDIR+= compat_freebsd 164SUBDIR+= compat_ibcs2 165SUBDIR+= compat_linux 166SUBDIR+= compat_svr4 167SUBDIR+= drm 168SUBDIR+= i915drm 169SUBDIR+= mach64drm 170SUBDIR+= mgadrm 171SUBDIR+= nsclpcsio 172SUBDIR+= pad 173SUBDIR+= padlock 174SUBDIR+= r128drm 175SUBDIR+= radeondrm 176SUBDIR+= savagedrm 177SUBDIR+= sisdrm 178SUBDIR+= tdfxdrm 179SUBDIR+= viac7temp 180SUBDIR+= viadrm 181.endif 182 183# 184# ISA modules 185# 186.if ${MACHINE_ARCH} == "i386" || \ 187 ${MACHINE_ARCH} == "x86_64" 188SUBDIR+= aps 189SUBDIR+= finsio 190SUBDIR+= itesio 191.endif 192 193.if ${MACHINE_CPU} == "m68k" 194SUBDIR+= compat_aoutm68k 195#SUBDIR+= compat_linux 196#SUBDIR+= compat_sunos 197#SUBDIR+= compat_svr4 198.endif 199 200.if ${MACHINE_ARCH} == "i386" || \ 201 ${MACHINE_ARCH} == "x86_64" || \ 202 ${MACHINE_ARCH} == "sparc64" 203SUBDIR+= pwdog 204.endif 205 206.include <bsd.own.mk> 207 208# we need our device mapper for LVM 209.if (${MKLVM} != "no") 210SUBDIR+= dm 211.endif 212 213.if (${MKDTRACE} != "no") 214SUBDIR+= dtrace 215.endif 216 217# we need solaris for the dtrace and zfs modules 218.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 219SUBDIR+= solaris 220.endif 221 222.if (${MKZFS} != "no") 223SUBDIR+= zfs 224.endif 225 226.if (${MKCOMPATMODULES} != "no") 227SUBDIR+= arch 228.endif 229 230# 231# DTV modules 232# 233SUBDIR+= dtv 234SUBDIR+= dtv_math 235.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 236# tuners/demods 237SUBDIR+= au8522 238SUBDIR+= cx24227 239SUBDIR+= lg3303 240SUBDIR+= mt2131 241SUBDIR+= nxt2k 242SUBDIR+= tvpll 243SUBDIR+= xc3028 244SUBDIR+= xc5k 245SUBDIR+= zl10353 246# hardware drivers 247SUBDIR+= auvitek 248SUBDIR+= coram 249SUBDIR+= cxdtv 250SUBDIR+= emdtv 251.endif 252 253.include <bsd.subdir.mk> 254