Makefile revision 1.150
1# $NetBSD: Makefile,v 1.150 2015/05/03 02:54:07 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+= tco 151SUBDIR+= tprof_pmi 152SUBDIR+= tprof_amdpmi 153SUBDIR+= vmt 154.endif 155 156.if ${MACHINE_ARCH} == "i386" || \ 157 ${MACHINE_ARCH} == "x86_64" 158SUBDIR+= ubsec # Builds on architectures with PCI bus 159.endif 160 161.if ${MKSLJIT} != "no" 162# No modules for arm, mips and powerpc yet. 163.if ${MACHINE_ARCH} == "i386" || \ 164 ${MACHINE_ARCH} == "x86_64" || \ 165 ${MACHINE_ARCH} == "sparc" 166SUBDIR+= bpfjit 167SUBDIR+= sljit 168.endif 169.endif 170 171# 172# ACPI modules 173# 174.if ${MACHINE_ARCH} == "i386" || \ 175 ${MACHINE_ARCH} == "ia64" || \ 176 ${MACHINE_ARCH} == "x86_64" 177SUBDIR+= acpiverbose 178.endif 179 180.if ${MACHINE_ARCH} == "i386" || \ 181 ${MACHINE_ARCH} == "x86_64" 182SUBDIR+= acpiacad 183SUBDIR+= acpibat 184SUBDIR+= acpibut 185SUBDIR+= acpicpu 186SUBDIR+= acpidalb 187SUBDIR+= acpifan 188SUBDIR+= acpilid 189SUBDIR+= acpipmtr 190SUBDIR+= acpitz 191SUBDIR+= acpivga 192SUBDIR+= acpiwdrt 193SUBDIR+= acpiwmi 194SUBDIR+= aibs 195SUBDIR+= asus 196SUBDIR+= fujbp 197SUBDIR+= fujhk 198SUBDIR+= hpacel 199SUBDIR+= hpqlb 200SUBDIR+= thinkpad 201SUBDIR+= wmidell 202SUBDIR+= wmieeepc 203SUBDIR+= wmihp 204SUBDIR+= wmimsi 205.endif 206 207.if ${MACHINE_ARCH} == "x86_64" 208SUBDIR+= compat_linux32 209SUBDIR+= compat_netbsd32 210.endif 211 212.if ${MACHINE_ARCH} == "i386" 213SUBDIR+= ati_pcigart 214SUBDIR+= compat_freebsd 215SUBDIR+= compat_ibcs2 216SUBDIR+= compat_svr4 217SUBDIR+= mach64drm 218SUBDIR+= mgadrm 219SUBDIR+= nsclpcsio 220SUBDIR+= padlock 221SUBDIR+= r128drm 222SUBDIR+= radeondrm 223SUBDIR+= savagedrm 224SUBDIR+= sisdrm 225SUBDIR+= tdfxdrm 226SUBDIR+= viac7temp 227SUBDIR+= viadrm 228SUBDIR+= viadrmums 229.endif 230 231.if ${MACHINE_ARCH} == "i386" || \ 232 ${MACHINE_ARCH} == "x86_64" 233SUBDIR+= azalia 234SUBDIR+= compat_linux 235SUBDIR+= drm 236SUBDIR+= drmkms 237SUBDIR+= drmkms_linux 238SUBDIR+= drmkms_pci 239SUBDIR+= i915drm 240SUBDIR+= i915drmkms 241SUBDIR+= pad 242# 243# ISA modules 244# 245SUBDIR+= aps 246SUBDIR+= finsio 247SUBDIR+= itesio 248SUBDIR+= lm 249SUBDIR+= lm_isa 250SUBDIR+= lm_isa_common 251SUBDIR+= lm_wbsio 252SUBDIR+= wbsio 253.endif 254 255.if ${MACHINE_CPU} == "m68k" 256SUBDIR+= compat_aoutm68k 257#SUBDIR+= compat_linux 258#SUBDIR+= compat_sunos 259#SUBDIR+= compat_svr4 260.endif 261 262.if ${MACHINE_ARCH} == "i386" || \ 263 ${MACHINE_ARCH} == "x86_64" || \ 264 ${MACHINE_ARCH} == "sparc64" 265SUBDIR+= pwdog 266.endif 267 268.include <bsd.own.mk> 269 270# 271# NetBSD/usermode support 272# 273.if ${MACHINE_ARCH} == "i386" || \ 274 ${MACHINE_ARCH} == "x86_64" 275SUBDIR+= ../arch/usermode/modules/syscallemu 276.endif 277 278# we need our device mapper for LVM 279.if (${MKLVM} != "no") 280SUBDIR+= dm 281.endif 282 283.if (${MKDTRACE} != "no") 284SUBDIR+= cyclic 285SUBDIR+= dtrace 286.endif 287 288# we need solaris for the dtrace and zfs modules 289.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 290SUBDIR+= solaris 291.endif 292 293.if (${MKZFS} != "no") 294SUBDIR+= zfs 295.endif 296 297.if (${MKCOMPATMODULES} != "no") 298SUBDIR+= arch 299.endif 300 301# 302# DTV modules 303# 304SUBDIR+= dtv 305SUBDIR+= dtv_math 306.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 307# tuners/demods 308SUBDIR+= au8522 309SUBDIR+= cx24227 310SUBDIR+= lg3303 311SUBDIR+= mt2131 312SUBDIR+= nxt2k 313SUBDIR+= tvpll 314SUBDIR+= xc3028 315SUBDIR+= xc5k 316SUBDIR+= zl10353 317# hardware drivers 318SUBDIR+= auvitek 319SUBDIR+= coram 320SUBDIR+= cxdtv 321SUBDIR+= emdtv 322.endif 323 324.if (${MKISCSI} != "no") 325SUBDIR+= iscsi 326.endif 327 328.include <bsd.subdir.mk> 329