Makefile revision 1.108
11.108Sriastrad# $NetBSD: Makefile,v 1.108 2012/08/04 04:37:25 riastradh Exp $ 21.37Sdyoung 31.37Sdyoung.include <bsd.own.mk> 41.15Sad 51.15Sad# For all platforms 61.1Sad 71.37SdyoungSUBDIR= accf_dataready 81.16SadSUBDIR+= accf_httpready 91.15SadSUBDIR+= adosfs 101.14SadSUBDIR+= aio 111.38SpookaSUBDIR+= bpf 121.7SrumbleSUBDIR+= cd9660 131.7SrumbleSUBDIR+= coda 141.7SrumbleSUBDIR+= coda5 151.15SadSUBDIR+= compat 161.15SadSUBDIR+= compat_ossaudio 171.15SadSUBDIR+= coredump 181.99SahokaSUBDIR+= chfs 191.104SpgoyetteSUBDIR+= dbcool 201.7SrumbleSUBDIR+= efs 211.7SrumbleSUBDIR+= ext2fs 221.15SadSUBDIR+= exec_script 231.7SrumbleSUBDIR+= fdesc 241.7SrumbleSUBDIR+= ffs 251.18SadSUBDIR+= filecore 261.93SsjgSUBDIR+= filemon 271.68SahokaSUBDIR+= flash 281.15SadSUBDIR+= fss 291.89SmbalmerSUBDIR+= gpio 301.94SmbalmerSUBDIR+= gpioiic 311.92SmbalmerSUBDIR+= gpioow 321.89SmbalmerSUBDIR+= gpiosim 331.7SrumbleSUBDIR+= hfs 341.105SpgoyetteSUBDIR+= if_axe 351.94SmbalmerSUBDIR+= iic 361.7SrumbleSUBDIR+= kernfs 371.22SadSUBDIR+= layerfs 381.7SrumbleSUBDIR+= lfs 391.7SrumbleSUBDIR+= mfs 401.45SpgoyetteSUBDIR+= miiverbose 411.45SpgoyetteSUBDIR+= miniroot 421.31SrmindSUBDIR+= mqueue 431.18SadSUBDIR+= msdos 441.68SahokaSUBDIR+= nand 451.68SahokaSUBDIR+= nandemulator 461.15SadSUBDIR+= nfs 471.15SadSUBDIR+= nfsserver 481.30SreinoudSUBDIR+= nilfs 491.96StronSUBDIR+= npf 501.97StronSUBDIR+= npf_alg_icmp 511.7SrumbleSUBDIR+= ntfs 521.18SadSUBDIR+= null 531.92SmbalmerSUBDIR+= onewire 541.7SrumbleSUBDIR+= overlay 551.42SpgoyetteSUBDIR+= pciverbose 561.41SahokaSUBDIR+= pf 571.19ScubeSUBDIR+= ppp_bsdcomp 581.19ScubeSUBDIR+= ppp_deflate 591.7SrumbleSUBDIR+= procfs 601.7SrumbleSUBDIR+= ptyfs 611.7SrumbleSUBDIR+= puffs 621.15SadSUBDIR+= putter 631.44SpgoyetteSUBDIR+= scsiverbose 641.103SpgoyetteSUBDIR+= sdtemp 651.33SeladSUBDIR+= secmodel_bsd44 661.100SjymSUBDIR+= secmodel_extensions 671.33SeladSUBDIR+= secmodel_overlay 681.33SeladSUBDIR+= securelevel 691.7SrumbleSUBDIR+= smbfs 701.81SpgoyetteSUBDIR+= spdmem 711.24SpookaSUBDIR+= sysvbfs 721.33SeladSUBDIR+= suser 731.48SpgoyetteSUBDIR+= swsensor 741.7SrumbleSUBDIR+= tmpfs 751.108SriastradSUBDIR+= uatp 761.7SrumbleSUBDIR+= udf 771.18SadSUBDIR+= umap 781.7SrumbleSUBDIR+= union 791.43SpgoyetteSUBDIR+= usbverbose 801.106SchristosSUBDIR+= vcoda 811.78SenamiSUBDIR+= v7fs 821.25ShaadSUBDIR+= vnd 831.29SyamtSUBDIR+= tprof 841.7Srumble.if (defined(NOTYET)) 851.7SrumbleSUBDIR+= unionfs 861.7Srumble.endif 871.37Sdyoung.if ${MKBINUTILS} != "no" 881.37SdyoungSUBDIR+= xldscripts 891.37Sdyoung.endif 901.7Srumble 911.15Sad# Machine dependent section 921.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 931.49Stsutsui ${MACHINE_CPU} == "m68k" 941.47StsutsuiSUBDIR+= exec_aout 951.47Stsutsui.endif 961.47Stsutsui 971.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 981.17SmartinSUBDIR+= exec_elf32 991.17Smartin.endif 1001.15Sad 1011.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1021.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1031.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1041.20SheSUBDIR+= exec_elf64 1051.20She.endif 1061.20She 1071.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1081.29Syamt ${MACHINE_ARCH} == "x86_64" 1091.71SjruohoSUBDIR+= amdtemp 1101.64SjruohoSUBDIR+= coretemp 1111.65SjruohoSUBDIR+= est 1121.72SjruohoSUBDIR+= hpet 1131.69SjruohoSUBDIR+= odcm 1141.66SjruohoSUBDIR+= powernow 1151.29SyamtSUBDIR+= tprof_pmi 1161.70SyamtSUBDIR+= tprof_amdpmi 1171.95SjmcneillSUBDIR+= vmt 1181.29Syamt.endif 1191.29Syamt 1201.85Sjruoho# 1211.85Sjruoho# ACPI modules 1221.85Sjruoho# 1231.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1241.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1251.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1261.46SpgoyetteSUBDIR+= acpiverbose 1271.46Spgoyette.endif 1281.46Spgoyette 1291.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1301.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1311.52SjruohoSUBDIR+= acpiacad 1321.52SjruohoSUBDIR+= acpibat 1331.52SjruohoSUBDIR+= acpibut 1341.52SjruohoSUBDIR+= acpicpu 1351.53SjruohoSUBDIR+= acpidalb 1361.58SjruohoSUBDIR+= acpifan 1371.52SjruohoSUBDIR+= acpilid 1381.57SjruohoSUBDIR+= acpipmtr 1391.53SjruohoSUBDIR+= acpitz 1401.53SjruohoSUBDIR+= acpivga 1411.86SjruohoSUBDIR+= acpiwdrt 1421.51SjmcneillSUBDIR+= acpiwmi 1431.53SjruohoSUBDIR+= aibs 1441.54SjruohoSUBDIR+= asus 1451.63SjruohoSUBDIR+= fujbp 1461.63SjruohoSUBDIR+= fujhk 1471.75SjruohoSUBDIR+= hpacel 1481.54SjruohoSUBDIR+= hpqlb 1491.52SjruohoSUBDIR+= thinkpad 1501.50SjmcneillSUBDIR+= wmidell 1511.83SjruohoSUBDIR+= wmieeepc 1521.50SjmcneillSUBDIR+= wmihp 1531.50SjmcneillSUBDIR+= wmimsi 1541.50Sjmcneill.endif 1551.50Sjmcneill 1561.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1571.15SadSUBDIR+= azalia 1581.15SadSUBDIR+= compat_linux 1591.15SadSUBDIR+= compat_linux32 1601.15SadSUBDIR+= compat_netbsd32 1611.15SadSUBDIR+= drm 1621.15SadSUBDIR+= i915drm 1631.40SahokaSUBDIR+= pad 1641.15Sad.endif 1651.15Sad 1661.27Sabs.if ${MACHINE_ARCH} == "i386" 1671.90SjmcneillSUBDIR+= ati_pcigart 1681.15SadSUBDIR+= azalia 1691.15SadSUBDIR+= compat_freebsd 1701.15SadSUBDIR+= compat_ibcs2 1711.15SadSUBDIR+= compat_linux 1721.15SadSUBDIR+= compat_svr4 1731.15SadSUBDIR+= drm 1741.15SadSUBDIR+= i915drm 1751.90SjmcneillSUBDIR+= mach64drm 1761.90SjmcneillSUBDIR+= mgadrm 1771.76SjmcneillSUBDIR+= nsclpcsio 1781.40SahokaSUBDIR+= pad 1791.62SjmcneillSUBDIR+= padlock 1801.90SjmcneillSUBDIR+= r128drm 1811.90SjmcneillSUBDIR+= radeondrm 1821.90SjmcneillSUBDIR+= savagedrm 1831.90SjmcneillSUBDIR+= sisdrm 1841.90SjmcneillSUBDIR+= tdfxdrm 1851.67SjruohoSUBDIR+= viac7temp 1861.90SjmcneillSUBDIR+= viadrm 1871.15Sad.endif 1881.15Sad 1891.85Sjruoho# 1901.85Sjruoho# ISA modules 1911.85Sjruoho# 1921.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1931.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 1941.59SjmcneillSUBDIR+= aps 1951.80SjmcneillSUBDIR+= finsio 1961.79SjmcneillSUBDIR+= itesio 1971.101SjakllschSUBDIR+= lm 1981.101SjakllschSUBDIR+= lm_isa 1991.101SjakllschSUBDIR+= lm_isa_common 2001.101SjakllschSUBDIR+= lm_wbsio 2011.101SjakllschSUBDIR+= wbsio 2021.56Sjmcneill.endif 2031.56Sjmcneill 2041.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2051.47StsutsuiSUBDIR+= compat_aoutm68k 2061.47Stsutsui#SUBDIR+= compat_linux 2071.47Stsutsui#SUBDIR+= compat_sunos 2081.47Stsutsui#SUBDIR+= compat_svr4 2091.47Stsutsui.endif 2101.47Stsutsui 2111.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2121.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2131.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2141.88SmbalmerSUBDIR+= pwdog 2151.88Smbalmer.endif 2161.88Smbalmer 2171.23Sagc.include <bsd.own.mk> 2181.23Sagc 2191.107Sreinoud# 2201.107Sreinoud# NetBSD/usermode support 2211.107Sreinoud# 2221.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2231.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2241.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2251.107Sreinoud.endif 2261.107Sreinoud 2271.23Sagc# we need our device mapper for LVM 2281.23Sagc.if (${MKLVM} != "no") 2291.28SyamtSUBDIR+= dm 2301.23Sagc.endif 2311.23Sagc 2321.39Sdarran.if (${MKDTRACE} != "no") 2331.39SdarranSUBDIR+= dtrace 2341.39Sdarran.endif 2351.39Sdarran 2361.39Sdarran# we need solaris for the dtrace and zfs modules 2371.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2381.39SdarranSUBDIR+= solaris 2391.39Sdarran.endif 2401.39Sdarran 2411.34Shaad.if (${MKZFS} != "no") 2421.34ShaadSUBDIR+= zfs 2431.34Shaad.endif 2441.34Shaad 2451.73Smrg.if (${MKCOMPATMODULES} != "no") 2461.73SmrgSUBDIR+= arch 2471.73Smrg.endif 2481.73Smrg 2491.84Sjmcneill# 2501.84Sjmcneill# DTV modules 2511.84Sjmcneill# 2521.84SjmcneillSUBDIR+= dtv 2531.84SjmcneillSUBDIR+= dtv_math 2541.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2551.84Sjmcneill# tuners/demods 2561.84SjmcneillSUBDIR+= au8522 2571.84SjmcneillSUBDIR+= cx24227 2581.84SjmcneillSUBDIR+= lg3303 2591.84SjmcneillSUBDIR+= mt2131 2601.84SjmcneillSUBDIR+= nxt2k 2611.84SjmcneillSUBDIR+= tvpll 2621.84SjmcneillSUBDIR+= xc3028 2631.84SjmcneillSUBDIR+= xc5k 2641.91SjruohoSUBDIR+= zl10353 2651.84Sjmcneill# hardware drivers 2661.84SjmcneillSUBDIR+= auvitek 2671.84SjmcneillSUBDIR+= coram 2681.84SjmcneillSUBDIR+= cxdtv 2691.84SjmcneillSUBDIR+= emdtv 2701.84Sjmcneill.endif 2711.84Sjmcneill 2721.98Sriz.if (${MKISCSI} != "no") 2731.98SrizSUBDIR+= iscsi 2741.98Sriz.endif 2751.98Sriz 2761.1Sad.include <bsd.subdir.mk> 277