Makefile revision 1.146
1# $NetBSD: Makefile,v 1.146 2015/04/23 23:22:27 pgoyette 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# 241# ISA modules 242# 243SUBDIR+= aps 244SUBDIR+= finsio 245SUBDIR+= itesio 246SUBDIR+= lm 247SUBDIR+= lm_isa 248SUBDIR+= lm_isa_common 249SUBDIR+= lm_wbsio 250SUBDIR+= wbsio 251.endif 252 253.if ${MACHINE_CPU} == "m68k" 254SUBDIR+= compat_aoutm68k 255#SUBDIR+= compat_linux 256#SUBDIR+= compat_sunos 257#SUBDIR+= compat_svr4 258.endif 259 260.if ${MACHINE_ARCH} == "i386" || \ 261 ${MACHINE_ARCH} == "x86_64" || \ 262 ${MACHINE_ARCH} == "sparc64" 263SUBDIR+= pwdog 264.endif 265 266.include <bsd.own.mk> 267 268# 269# NetBSD/usermode support 270# 271.if ${MACHINE_ARCH} == "i386" || \ 272 ${MACHINE_ARCH} == "x86_64" 273SUBDIR+= ../arch/usermode/modules/syscallemu 274.endif 275 276# we need our device mapper for LVM 277.if (${MKLVM} != "no") 278SUBDIR+= dm 279.endif 280 281.if (${MKDTRACE} != "no") 282SUBDIR+= cyclic 283SUBDIR+= dtrace 284.endif 285 286# we need solaris for the dtrace and zfs modules 287.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 288SUBDIR+= solaris 289.endif 290 291.if (${MKZFS} != "no") 292SUBDIR+= zfs 293.endif 294 295.if (${MKCOMPATMODULES} != "no") 296SUBDIR+= arch 297.endif 298 299# 300# DTV modules 301# 302SUBDIR+= dtv 303SUBDIR+= dtv_math 304.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 305# tuners/demods 306SUBDIR+= au8522 307SUBDIR+= cx24227 308SUBDIR+= lg3303 309SUBDIR+= mt2131 310SUBDIR+= nxt2k 311SUBDIR+= tvpll 312SUBDIR+= xc3028 313SUBDIR+= xc5k 314SUBDIR+= zl10353 315# hardware drivers 316SUBDIR+= auvitek 317SUBDIR+= coram 318SUBDIR+= cxdtv 319SUBDIR+= emdtv 320.endif 321 322.if (${MKISCSI} != "no") 323SUBDIR+= iscsi 324.endif 325 326.include <bsd.subdir.mk> 327