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