Makefile revision 1.104
11.104Spgoyette# $NetBSD: Makefile,v 1.104 2012/04/25 04:49:46 pgoyette 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.94SmbalmerSUBDIR+= iic 351.7SrumbleSUBDIR+= kernfs 361.22SadSUBDIR+= layerfs 371.7SrumbleSUBDIR+= lfs 381.7SrumbleSUBDIR+= mfs 391.45SpgoyetteSUBDIR+= miiverbose 401.45SpgoyetteSUBDIR+= miniroot 411.31SrmindSUBDIR+= mqueue 421.18SadSUBDIR+= msdos 431.68SahokaSUBDIR+= nand 441.68SahokaSUBDIR+= nandemulator 451.15SadSUBDIR+= nfs 461.15SadSUBDIR+= nfsserver 471.30SreinoudSUBDIR+= nilfs 481.96StronSUBDIR+= npf 491.97StronSUBDIR+= npf_alg_icmp 501.7SrumbleSUBDIR+= ntfs 511.18SadSUBDIR+= null 521.92SmbalmerSUBDIR+= onewire 531.7SrumbleSUBDIR+= overlay 541.42SpgoyetteSUBDIR+= pciverbose 551.41SahokaSUBDIR+= pf 561.19ScubeSUBDIR+= ppp_bsdcomp 571.19ScubeSUBDIR+= ppp_deflate 581.7SrumbleSUBDIR+= procfs 591.7SrumbleSUBDIR+= ptyfs 601.7SrumbleSUBDIR+= puffs 611.15SadSUBDIR+= putter 621.44SpgoyetteSUBDIR+= scsiverbose 631.103SpgoyetteSUBDIR+= sdtemp 641.33SeladSUBDIR+= secmodel_bsd44 651.100SjymSUBDIR+= secmodel_extensions 661.33SeladSUBDIR+= secmodel_overlay 671.33SeladSUBDIR+= securelevel 681.7SrumbleSUBDIR+= smbfs 691.81SpgoyetteSUBDIR+= spdmem 701.24SpookaSUBDIR+= sysvbfs 711.33SeladSUBDIR+= suser 721.48SpgoyetteSUBDIR+= swsensor 731.7SrumbleSUBDIR+= tmpfs 741.7SrumbleSUBDIR+= udf 751.18SadSUBDIR+= umap 761.7SrumbleSUBDIR+= union 771.43SpgoyetteSUBDIR+= usbverbose 781.78SenamiSUBDIR+= v7fs 791.25ShaadSUBDIR+= vnd 801.29SyamtSUBDIR+= tprof 811.7Srumble.if (defined(NOTYET)) 821.7SrumbleSUBDIR+= unionfs 831.7Srumble.endif 841.37Sdyoung.if ${MKBINUTILS} != "no" 851.37SdyoungSUBDIR+= xldscripts 861.37Sdyoung.endif 871.7Srumble 881.15Sad# Machine dependent section 891.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 901.49Stsutsui ${MACHINE_CPU} == "m68k" 911.47StsutsuiSUBDIR+= exec_aout 921.47Stsutsui.endif 931.47Stsutsui 941.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 951.17SmartinSUBDIR+= exec_elf32 961.17Smartin.endif 971.15Sad 981.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 991.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1001.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1011.20SheSUBDIR+= exec_elf64 1021.20She.endif 1031.20She 1041.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1051.29Syamt ${MACHINE_ARCH} == "x86_64" 1061.71SjruohoSUBDIR+= amdtemp 1071.64SjruohoSUBDIR+= coretemp 1081.65SjruohoSUBDIR+= est 1091.72SjruohoSUBDIR+= hpet 1101.69SjruohoSUBDIR+= odcm 1111.66SjruohoSUBDIR+= powernow 1121.29SyamtSUBDIR+= tprof_pmi 1131.70SyamtSUBDIR+= tprof_amdpmi 1141.95SjmcneillSUBDIR+= vmt 1151.29Syamt.endif 1161.29Syamt 1171.85Sjruoho# 1181.85Sjruoho# ACPI modules 1191.85Sjruoho# 1201.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1211.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1221.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1231.46SpgoyetteSUBDIR+= acpiverbose 1241.46Spgoyette.endif 1251.46Spgoyette 1261.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1271.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1281.52SjruohoSUBDIR+= acpiacad 1291.52SjruohoSUBDIR+= acpibat 1301.52SjruohoSUBDIR+= acpibut 1311.52SjruohoSUBDIR+= acpicpu 1321.53SjruohoSUBDIR+= acpidalb 1331.58SjruohoSUBDIR+= acpifan 1341.52SjruohoSUBDIR+= acpilid 1351.57SjruohoSUBDIR+= acpipmtr 1361.53SjruohoSUBDIR+= acpitz 1371.53SjruohoSUBDIR+= acpivga 1381.86SjruohoSUBDIR+= acpiwdrt 1391.51SjmcneillSUBDIR+= acpiwmi 1401.53SjruohoSUBDIR+= aibs 1411.54SjruohoSUBDIR+= asus 1421.63SjruohoSUBDIR+= fujbp 1431.63SjruohoSUBDIR+= fujhk 1441.75SjruohoSUBDIR+= hpacel 1451.54SjruohoSUBDIR+= hpqlb 1461.52SjruohoSUBDIR+= thinkpad 1471.50SjmcneillSUBDIR+= wmidell 1481.83SjruohoSUBDIR+= wmieeepc 1491.50SjmcneillSUBDIR+= wmihp 1501.50SjmcneillSUBDIR+= wmimsi 1511.50Sjmcneill.endif 1521.50Sjmcneill 1531.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1541.15SadSUBDIR+= azalia 1551.15SadSUBDIR+= compat_linux 1561.15SadSUBDIR+= compat_linux32 1571.15SadSUBDIR+= compat_netbsd32 1581.15SadSUBDIR+= drm 1591.15SadSUBDIR+= i915drm 1601.40SahokaSUBDIR+= pad 1611.15Sad.endif 1621.15Sad 1631.27Sabs.if ${MACHINE_ARCH} == "i386" 1641.90SjmcneillSUBDIR+= ati_pcigart 1651.15SadSUBDIR+= azalia 1661.15SadSUBDIR+= compat_freebsd 1671.15SadSUBDIR+= compat_ibcs2 1681.15SadSUBDIR+= compat_linux 1691.15SadSUBDIR+= compat_svr4 1701.15SadSUBDIR+= drm 1711.15SadSUBDIR+= i915drm 1721.90SjmcneillSUBDIR+= mach64drm 1731.90SjmcneillSUBDIR+= mgadrm 1741.76SjmcneillSUBDIR+= nsclpcsio 1751.40SahokaSUBDIR+= pad 1761.62SjmcneillSUBDIR+= padlock 1771.90SjmcneillSUBDIR+= r128drm 1781.90SjmcneillSUBDIR+= radeondrm 1791.90SjmcneillSUBDIR+= savagedrm 1801.90SjmcneillSUBDIR+= sisdrm 1811.90SjmcneillSUBDIR+= tdfxdrm 1821.67SjruohoSUBDIR+= viac7temp 1831.90SjmcneillSUBDIR+= viadrm 1841.15Sad.endif 1851.15Sad 1861.85Sjruoho# 1871.85Sjruoho# ISA modules 1881.85Sjruoho# 1891.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1901.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 1911.59SjmcneillSUBDIR+= aps 1921.80SjmcneillSUBDIR+= finsio 1931.79SjmcneillSUBDIR+= itesio 1941.101SjakllschSUBDIR+= lm 1951.101SjakllschSUBDIR+= lm_isa 1961.101SjakllschSUBDIR+= lm_isa_common 1971.101SjakllschSUBDIR+= lm_wbsio 1981.101SjakllschSUBDIR+= wbsio 1991.56Sjmcneill.endif 2001.56Sjmcneill 2011.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2021.47StsutsuiSUBDIR+= compat_aoutm68k 2031.47Stsutsui#SUBDIR+= compat_linux 2041.47Stsutsui#SUBDIR+= compat_sunos 2051.47Stsutsui#SUBDIR+= compat_svr4 2061.47Stsutsui.endif 2071.47Stsutsui 2081.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2091.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2101.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2111.88SmbalmerSUBDIR+= pwdog 2121.88Smbalmer.endif 2131.88Smbalmer 2141.23Sagc.include <bsd.own.mk> 2151.23Sagc 2161.23Sagc# we need our device mapper for LVM 2171.23Sagc.if (${MKLVM} != "no") 2181.28SyamtSUBDIR+= dm 2191.23Sagc.endif 2201.23Sagc 2211.39Sdarran.if (${MKDTRACE} != "no") 2221.39SdarranSUBDIR+= dtrace 2231.39Sdarran.endif 2241.39Sdarran 2251.39Sdarran# we need solaris for the dtrace and zfs modules 2261.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2271.39SdarranSUBDIR+= solaris 2281.39Sdarran.endif 2291.39Sdarran 2301.34Shaad.if (${MKZFS} != "no") 2311.34ShaadSUBDIR+= zfs 2321.34Shaad.endif 2331.34Shaad 2341.73Smrg.if (${MKCOMPATMODULES} != "no") 2351.73SmrgSUBDIR+= arch 2361.73Smrg.endif 2371.73Smrg 2381.84Sjmcneill# 2391.84Sjmcneill# DTV modules 2401.84Sjmcneill# 2411.84SjmcneillSUBDIR+= dtv 2421.84SjmcneillSUBDIR+= dtv_math 2431.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2441.84Sjmcneill# tuners/demods 2451.84SjmcneillSUBDIR+= au8522 2461.84SjmcneillSUBDIR+= cx24227 2471.84SjmcneillSUBDIR+= lg3303 2481.84SjmcneillSUBDIR+= mt2131 2491.84SjmcneillSUBDIR+= nxt2k 2501.84SjmcneillSUBDIR+= tvpll 2511.84SjmcneillSUBDIR+= xc3028 2521.84SjmcneillSUBDIR+= xc5k 2531.91SjruohoSUBDIR+= zl10353 2541.84Sjmcneill# hardware drivers 2551.84SjmcneillSUBDIR+= auvitek 2561.84SjmcneillSUBDIR+= coram 2571.84SjmcneillSUBDIR+= cxdtv 2581.84SjmcneillSUBDIR+= emdtv 2591.84Sjmcneill.endif 2601.84Sjmcneill 2611.98Sriz.if (${MKISCSI} != "no") 2621.98SrizSUBDIR+= iscsi 2631.98Sriz.endif 2641.98Sriz 2651.1Sad.include <bsd.subdir.mk> 266