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