Makefile revision 1.70
11.70Syamt# $NetBSD: Makefile,v 1.70 2011/04/14 15:45:27 yamt 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.7SrumbleSUBDIR+= efs 191.7SrumbleSUBDIR+= ext2fs 201.15SadSUBDIR+= exec_script 211.7SrumbleSUBDIR+= fdesc 221.7SrumbleSUBDIR+= ffs 231.18SadSUBDIR+= filecore 241.68SahokaSUBDIR+= flash 251.15SadSUBDIR+= fss 261.7SrumbleSUBDIR+= hfs 271.7SrumbleSUBDIR+= kernfs 281.15SadSUBDIR+= ksem 291.22SadSUBDIR+= layerfs 301.7SrumbleSUBDIR+= lfs 311.7SrumbleSUBDIR+= mfs 321.45SpgoyetteSUBDIR+= miiverbose 331.45SpgoyetteSUBDIR+= miniroot 341.31SrmindSUBDIR+= mqueue 351.18SadSUBDIR+= msdos 361.68SahokaSUBDIR+= nand 371.68SahokaSUBDIR+= nandemulator 381.15SadSUBDIR+= nfs 391.15SadSUBDIR+= nfsserver 401.30SreinoudSUBDIR+= nilfs 411.7SrumbleSUBDIR+= ntfs 421.18SadSUBDIR+= null 431.7SrumbleSUBDIR+= overlay 441.42SpgoyetteSUBDIR+= pciverbose 451.41SahokaSUBDIR+= pf 461.19ScubeSUBDIR+= ppp_bsdcomp 471.19ScubeSUBDIR+= ppp_deflate 481.7SrumbleSUBDIR+= procfs 491.7SrumbleSUBDIR+= ptyfs 501.7SrumbleSUBDIR+= puffs 511.15SadSUBDIR+= putter 521.44SpgoyetteSUBDIR+= scsiverbose 531.33SeladSUBDIR+= secmodel_bsd44 541.33SeladSUBDIR+= secmodel_overlay 551.33SeladSUBDIR+= securelevel 561.7SrumbleSUBDIR+= smbfs 571.24SpookaSUBDIR+= sysvbfs 581.33SeladSUBDIR+= suser 591.48SpgoyetteSUBDIR+= swsensor 601.7SrumbleSUBDIR+= tmpfs 611.7SrumbleSUBDIR+= udf 621.18SadSUBDIR+= umap 631.7SrumbleSUBDIR+= union 641.43SpgoyetteSUBDIR+= usbverbose 651.25ShaadSUBDIR+= vnd 661.29SyamtSUBDIR+= tprof 671.7Srumble.if (defined(NOTYET)) 681.7SrumbleSUBDIR+= unionfs 691.7Srumble.endif 701.37Sdyoung.if ${MKBINUTILS} != "no" 711.37SdyoungSUBDIR+= xldscripts 721.37Sdyoung.endif 731.7Srumble 741.15Sad# Machine dependent section 751.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 761.49Stsutsui ${MACHINE_CPU} == "m68k" 771.47StsutsuiSUBDIR+= exec_aout 781.47Stsutsui.endif 791.47Stsutsui 801.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 811.17SmartinSUBDIR+= exec_elf32 821.17Smartin.endif 831.15Sad 841.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 851.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 861.21Stsutsui ${MACHINE_ARCH} == "x86_64" 871.20SheSUBDIR+= exec_elf64 881.20She.endif 891.20She 901.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 911.29Syamt ${MACHINE_ARCH} == "x86_64" 921.64SjruohoSUBDIR+= coretemp 931.65SjruohoSUBDIR+= est 941.69SjruohoSUBDIR+= odcm 951.66SjruohoSUBDIR+= powernow 961.29SyamtSUBDIR+= tprof_pmi 971.70SyamtSUBDIR+= tprof_amdpmi 981.29Syamt.endif 991.29Syamt 1001.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1011.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1021.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1031.46SpgoyetteSUBDIR+= acpiverbose 1041.46Spgoyette.endif 1051.46Spgoyette 1061.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1071.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1081.52SjruohoSUBDIR+= acpiacad 1091.52SjruohoSUBDIR+= acpibat 1101.52SjruohoSUBDIR+= acpibut 1111.52SjruohoSUBDIR+= acpicpu 1121.53SjruohoSUBDIR+= acpidalb 1131.58SjruohoSUBDIR+= acpifan 1141.52SjruohoSUBDIR+= acpilid 1151.57SjruohoSUBDIR+= acpipmtr 1161.53SjruohoSUBDIR+= acpitz 1171.53SjruohoSUBDIR+= acpivga 1181.51SjmcneillSUBDIR+= acpiwmi 1191.53SjruohoSUBDIR+= aibs 1201.54SjruohoSUBDIR+= asus 1211.63SjruohoSUBDIR+= fujbp 1221.63SjruohoSUBDIR+= fujhk 1231.54SjruohoSUBDIR+= hpqlb 1241.52SjruohoSUBDIR+= thinkpad 1251.50SjmcneillSUBDIR+= wmidell 1261.50SjmcneillSUBDIR+= wmihp 1271.50SjmcneillSUBDIR+= wmimsi 1281.50Sjmcneill.endif 1291.50Sjmcneill 1301.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1311.15SadSUBDIR+= azalia 1321.15SadSUBDIR+= compat_linux 1331.15SadSUBDIR+= compat_linux32 1341.15SadSUBDIR+= compat_netbsd32 1351.15SadSUBDIR+= drm 1361.15SadSUBDIR+= i915drm 1371.40SahokaSUBDIR+= pad 1381.15Sad.endif 1391.15Sad 1401.27Sabs.if ${MACHINE_ARCH} == "i386" 1411.15SadSUBDIR+= azalia 1421.15SadSUBDIR+= compat_freebsd 1431.15SadSUBDIR+= compat_ibcs2 1441.15SadSUBDIR+= compat_linux 1451.15SadSUBDIR+= compat_svr4 1461.15SadSUBDIR+= drm 1471.15SadSUBDIR+= i915drm 1481.15SadSUBDIR+= radeondrm 1491.32SjmcneillSUBDIR+= viadrm 1501.40SahokaSUBDIR+= pad 1511.62SjmcneillSUBDIR+= padlock 1521.67SjruohoSUBDIR+= viac7temp 1531.63SjruohoSUBDIR+= wmieeepc 1541.15Sad.endif 1551.15Sad 1561.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1571.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 1581.59SjmcneillSUBDIR+= aps 1591.56SjmcneillSUBDIR+= au8522 1601.56SjmcneillSUBDIR+= auvitek 1611.56SjmcneillSUBDIR+= xc5k 1621.56Sjmcneill.endif 1631.56Sjmcneill 1641.49Stsutsui.if ${MACHINE_CPU} == "m68k" 1651.47StsutsuiSUBDIR+= compat_aoutm68k 1661.47Stsutsui#SUBDIR+= compat_linux 1671.47Stsutsui#SUBDIR+= compat_sunos 1681.47Stsutsui#SUBDIR+= compat_svr4 1691.47Stsutsui.endif 1701.47Stsutsui 1711.23Sagc.include <bsd.own.mk> 1721.23Sagc 1731.23Sagc# we need our device mapper for LVM 1741.23Sagc.if (${MKLVM} != "no") 1751.28SyamtSUBDIR+= dm 1761.23Sagc.endif 1771.23Sagc 1781.39Sdarran.if (${MKDTRACE} != "no") 1791.39SdarranSUBDIR+= dtrace 1801.39Sdarran.endif 1811.39Sdarran 1821.39Sdarran# we need solaris for the dtrace and zfs modules 1831.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 1841.39SdarranSUBDIR+= solaris 1851.39Sdarran.endif 1861.39Sdarran 1871.34Shaad.if (${MKZFS} != "no") 1881.34ShaadSUBDIR+= zfs 1891.34Shaad.endif 1901.34Shaad 1911.1Sad.include <bsd.subdir.mk> 192