Makefile revision 1.85
1# $NetBSD: Makefile,v 1.85 2011/08/09 12:09:55 jruoho 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# 105# ACPI modules 106# 107.if ${MACHINE_ARCH} == "i386" || \ 108 ${MACHINE_ARCH} == "ia64" || \ 109 ${MACHINE_ARCH} == "x86_64" 110SUBDIR+= acpiverbose 111.endif 112 113.if ${MACHINE_ARCH} == "i386" || \ 114 ${MACHINE_ARCH} == "x86_64" 115SUBDIR+= acpiacad 116SUBDIR+= acpibat 117SUBDIR+= acpibut 118SUBDIR+= acpicpu 119SUBDIR+= acpidalb 120SUBDIR+= acpifan 121SUBDIR+= acpilid 122SUBDIR+= acpipmtr 123SUBDIR+= acpitz 124SUBDIR+= acpivga 125SUBDIR+= acpiwmi 126SUBDIR+= aibs 127SUBDIR+= asus 128SUBDIR+= fujbp 129SUBDIR+= fujhk 130SUBDIR+= hpacel 131SUBDIR+= hpqlb 132SUBDIR+= thinkpad 133SUBDIR+= wmidell 134SUBDIR+= wmieeepc 135SUBDIR+= wmihp 136SUBDIR+= wmimsi 137.endif 138 139.if ${MACHINE_ARCH} == "x86_64" 140SUBDIR+= azalia 141SUBDIR+= compat_linux 142SUBDIR+= compat_linux32 143SUBDIR+= compat_netbsd32 144SUBDIR+= drm 145SUBDIR+= i915drm 146SUBDIR+= pad 147.endif 148 149.if ${MACHINE_ARCH} == "i386" 150SUBDIR+= azalia 151SUBDIR+= compat_freebsd 152SUBDIR+= compat_ibcs2 153SUBDIR+= compat_linux 154SUBDIR+= compat_svr4 155SUBDIR+= drm 156SUBDIR+= i915drm 157SUBDIR+= nsclpcsio 158SUBDIR+= radeondrm 159SUBDIR+= viadrm 160SUBDIR+= pad 161SUBDIR+= padlock 162SUBDIR+= viac7temp 163.endif 164 165# 166# ISA modules 167# 168.if ${MACHINE_ARCH} == "i386" || \ 169 ${MACHINE_ARCH} == "x86_64" 170SUBDIR+= aps 171SUBDIR+= finsio 172SUBDIR+= itesio 173.endif 174 175.if ${MACHINE_CPU} == "m68k" 176SUBDIR+= compat_aoutm68k 177#SUBDIR+= compat_linux 178#SUBDIR+= compat_sunos 179#SUBDIR+= compat_svr4 180.endif 181 182.include <bsd.own.mk> 183 184# we need our device mapper for LVM 185.if (${MKLVM} != "no") 186SUBDIR+= dm 187.endif 188 189.if (${MKDTRACE} != "no") 190SUBDIR+= dtrace 191.endif 192 193# we need solaris for the dtrace and zfs modules 194.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 195SUBDIR+= solaris 196.endif 197 198.if (${MKZFS} != "no") 199SUBDIR+= zfs 200.endif 201 202.if (${MKCOMPATMODULES} != "no") 203SUBDIR+= arch 204.endif 205 206# 207# DTV modules 208# 209SUBDIR+= dtv 210SUBDIR+= dtv_math 211.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 212# tuners/demods 213SUBDIR+= au8522 214SUBDIR+= cx24227 215SUBDIR+= lg3303 216SUBDIR+= mt2131 217SUBDIR+= nxt2k 218SUBDIR+= tvpll 219SUBDIR+= xc3028 220SUBDIR+= xc5k 221# hardware drivers 222SUBDIR+= auvitek 223SUBDIR+= coram 224SUBDIR+= cxdtv 225SUBDIR+= emdtv 226.endif 227 228.include <bsd.subdir.mk> 229