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