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