Makefile revision 1.148
1# $NetBSD: Makefile,v 1.148 2015/04/29 12:53:08 riastradh Exp $ 2 3.include <bsd.own.mk> 4 5# For all platforms 6 7SUBDIR= accf_dataready 8SUBDIR+= accf_httpready 9SUBDIR+= adosfs 10SUBDIR+= aio 11SUBDIR+= blowfish 12SUBDIR+= bpf 13SUBDIR+= camellia 14SUBDIR+= cast128 15SUBDIR+= ccd 16SUBDIR+= cd9660 17SUBDIR+= cgd 18SUBDIR+= chfs 19SUBDIR+= crypto 20SUBDIR+= coda 21SUBDIR+= coda5 22SUBDIR+= compat 23SUBDIR+= compat_ossaudio 24SUBDIR+= coredump 25SUBDIR+= dbcool 26SUBDIR+= des 27SUBDIR+= dk_subr 28SUBDIR+= efs 29SUBDIR+= ext2fs 30SUBDIR+= exec_script 31SUBDIR+= fdesc 32SUBDIR+= ffs 33SUBDIR+= filecore 34SUBDIR+= filemon 35SUBDIR+= flash 36SUBDIR+= fss 37SUBDIR+= gpio 38SUBDIR+= gpioiic 39SUBDIR+= gpioow 40SUBDIR+= gpiosim 41SUBDIR+= hfs 42SUBDIR+= hythygtemp 43SUBDIR+= i2cexec 44SUBDIR+= if_axe 45SUBDIR+= if_axen 46SUBDIR+= if_npflog 47SUBDIR+= if_smsc 48SUBDIR+= iic 49SUBDIR+= kernfs 50SUBDIR+= layerfs 51SUBDIR+= lfs 52SUBDIR+= lua 53SUBDIR+= luasystm 54SUBDIR+= luapmf 55SUBDIR+= mfs 56SUBDIR+= miiverbose 57SUBDIR+= miniroot 58SUBDIR+= mqueue 59SUBDIR+= msdos 60SUBDIR+= nand 61SUBDIR+= nandemulator 62SUBDIR+= nfs 63SUBDIR+= nfsserver 64SUBDIR+= nilfs 65SUBDIR+= npf 66SUBDIR+= npf_alg_icmp 67SUBDIR+= npf_ext_log 68SUBDIR+= npf_ext_normalize 69SUBDIR+= npf_ext_rndblock 70SUBDIR+= ntfs 71SUBDIR+= null 72SUBDIR+= onewire 73SUBDIR+= opencrypto 74SUBDIR+= overlay 75SUBDIR+= pciverbose 76SUBDIR+= pf 77SUBDIR+= ppp_bsdcomp 78SUBDIR+= ppp_deflate 79SUBDIR+= procfs 80SUBDIR+= ptyfs 81SUBDIR+= puffs 82SUBDIR+= putter 83SUBDIR+= scsiverbose 84SUBDIR+= sdtemp 85SUBDIR+= secmodel_bsd44 86SUBDIR+= secmodel_extensions 87SUBDIR+= secmodel_overlay 88SUBDIR+= securelevel 89SUBDIR+= skipjack 90SUBDIR+= smbfs 91SUBDIR+= spdmem 92SUBDIR+= sysmon 93SUBDIR+= sysmon_envsys 94SUBDIR+= sysmon_power 95SUBDIR+= sysmon_taskq 96SUBDIR+= sysmon_wdog 97SUBDIR+= sysvbfs 98SUBDIR+= suser 99SUBDIR+= swcrypto 100SUBDIR+= swsensor 101SUBDIR+= swwdog 102SUBDIR+= tmpfs 103SUBDIR+= uatp 104SUBDIR+= udf 105SUBDIR+= umap 106SUBDIR+= union 107SUBDIR+= usbverbose 108SUBDIR+= vcoda 109SUBDIR+= v7fs 110SUBDIR+= vnd 111SUBDIR+= zlib 112SUBDIR+= tprof 113.if (defined(NOTYET)) 114SUBDIR+= hifn # Builds on architectures with PCI bus 115SUBDIR+= unionfs 116.endif 117.if ${MKBINUTILS} != "no" 118SUBDIR+= xldscripts 119.endif 120 121# Machine dependent section 122.if ${MACHINE_ARCH} == "i386" || \ 123 ${MACHINE_CPU} == "m68k" 124SUBDIR+= exec_aout 125.endif 126 127.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_CPU} != "aarch64" 128SUBDIR+= exec_elf32 129.endif 130 131.if ${MACHINE_CPU} == "aarch64" || \ 132 ${MACHINE_ARCH} == "alpha" || \ 133 ${MACHINE_ARCH} == "sparc64" || \ 134 ${MACHINE_ARCH} == "x86_64" 135SUBDIR+= exec_elf64 136.endif 137 138.if ${MACHINE_ARCH} == "i386" || \ 139 ${MACHINE_ARCH} == "x86_64" 140SUBDIR+= amdtemp 141SUBDIR+= coretemp 142SUBDIR+= est 143SUBDIR+= hdafg 144SUBDIR+= hdaudio 145SUBDIR+= hdaudio_pci 146SUBDIR+= hdaudioverbose 147SUBDIR+= hpet 148SUBDIR+= odcm 149SUBDIR+= powernow 150SUBDIR+= tprof_pmi 151SUBDIR+= tprof_amdpmi 152SUBDIR+= vmt 153.endif 154 155.if ${MACHINE_ARCH} == "i386" || \ 156 ${MACHINE_ARCH} == "x86_64" 157SUBDIR+= ubsec # Builds on architectures with PCI bus 158.endif 159 160.if ${MKSLJIT} != "no" 161# No modules for arm, mips and powerpc yet. 162.if ${MACHINE_ARCH} == "i386" || \ 163 ${MACHINE_ARCH} == "x86_64" || \ 164 ${MACHINE_ARCH} == "sparc" 165SUBDIR+= bpfjit 166SUBDIR+= sljit 167.endif 168.endif 169 170# 171# ACPI modules 172# 173.if ${MACHINE_ARCH} == "i386" || \ 174 ${MACHINE_ARCH} == "ia64" || \ 175 ${MACHINE_ARCH} == "x86_64" 176SUBDIR+= acpiverbose 177.endif 178 179.if ${MACHINE_ARCH} == "i386" || \ 180 ${MACHINE_ARCH} == "x86_64" 181SUBDIR+= acpiacad 182SUBDIR+= acpibat 183SUBDIR+= acpibut 184SUBDIR+= acpicpu 185SUBDIR+= acpidalb 186SUBDIR+= acpifan 187SUBDIR+= acpilid 188SUBDIR+= acpipmtr 189SUBDIR+= acpitz 190SUBDIR+= acpivga 191SUBDIR+= acpiwdrt 192SUBDIR+= acpiwmi 193SUBDIR+= aibs 194SUBDIR+= asus 195SUBDIR+= fujbp 196SUBDIR+= fujhk 197SUBDIR+= hpacel 198SUBDIR+= hpqlb 199SUBDIR+= thinkpad 200SUBDIR+= wmidell 201SUBDIR+= wmieeepc 202SUBDIR+= wmihp 203SUBDIR+= wmimsi 204.endif 205 206.if ${MACHINE_ARCH} == "x86_64" 207SUBDIR+= compat_linux32 208SUBDIR+= compat_netbsd32 209.endif 210 211.if ${MACHINE_ARCH} == "i386" 212SUBDIR+= ati_pcigart 213SUBDIR+= compat_freebsd 214SUBDIR+= compat_ibcs2 215SUBDIR+= compat_svr4 216SUBDIR+= mach64drm 217SUBDIR+= mgadrm 218SUBDIR+= nsclpcsio 219SUBDIR+= padlock 220SUBDIR+= r128drm 221SUBDIR+= radeondrm 222SUBDIR+= savagedrm 223SUBDIR+= sisdrm 224SUBDIR+= tdfxdrm 225SUBDIR+= viac7temp 226SUBDIR+= viadrm 227.endif 228 229.if ${MACHINE_ARCH} == "i386" || \ 230 ${MACHINE_ARCH} == "x86_64" 231SUBDIR+= azalia 232SUBDIR+= compat_linux 233SUBDIR+= drm 234SUBDIR+= drmkms 235SUBDIR+= drmkms_linux 236SUBDIR+= drmkms_pci 237SUBDIR+= i915drm 238SUBDIR+= i915drmkms 239SUBDIR+= pad 240#SUBDIR+= viadrmums # XXX not yet 241# 242# ISA modules 243# 244SUBDIR+= aps 245SUBDIR+= finsio 246SUBDIR+= itesio 247SUBDIR+= lm 248SUBDIR+= lm_isa 249SUBDIR+= lm_isa_common 250SUBDIR+= lm_wbsio 251SUBDIR+= wbsio 252.endif 253 254.if ${MACHINE_CPU} == "m68k" 255SUBDIR+= compat_aoutm68k 256#SUBDIR+= compat_linux 257#SUBDIR+= compat_sunos 258#SUBDIR+= compat_svr4 259.endif 260 261.if ${MACHINE_ARCH} == "i386" || \ 262 ${MACHINE_ARCH} == "x86_64" || \ 263 ${MACHINE_ARCH} == "sparc64" 264SUBDIR+= pwdog 265.endif 266 267.include <bsd.own.mk> 268 269# 270# NetBSD/usermode support 271# 272.if ${MACHINE_ARCH} == "i386" || \ 273 ${MACHINE_ARCH} == "x86_64" 274SUBDIR+= ../arch/usermode/modules/syscallemu 275.endif 276 277# we need our device mapper for LVM 278.if (${MKLVM} != "no") 279SUBDIR+= dm 280.endif 281 282.if (${MKDTRACE} != "no") 283SUBDIR+= cyclic 284SUBDIR+= dtrace 285.endif 286 287# we need solaris for the dtrace and zfs modules 288.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 289SUBDIR+= solaris 290.endif 291 292.if (${MKZFS} != "no") 293SUBDIR+= zfs 294.endif 295 296.if (${MKCOMPATMODULES} != "no") 297SUBDIR+= arch 298.endif 299 300# 301# DTV modules 302# 303SUBDIR+= dtv 304SUBDIR+= dtv_math 305.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 306# tuners/demods 307SUBDIR+= au8522 308SUBDIR+= cx24227 309SUBDIR+= lg3303 310SUBDIR+= mt2131 311SUBDIR+= nxt2k 312SUBDIR+= tvpll 313SUBDIR+= xc3028 314SUBDIR+= xc5k 315SUBDIR+= zl10353 316# hardware drivers 317SUBDIR+= auvitek 318SUBDIR+= coram 319SUBDIR+= cxdtv 320SUBDIR+= emdtv 321.endif 322 323.if (${MKISCSI} != "no") 324SUBDIR+= iscsi 325.endif 326 327.include <bsd.subdir.mk> 328