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