Makefile revision 1.82
11.82Sjmcneill#	$NetBSD: Makefile,v 1.82 2011/08/09 01:42:24 jmcneill 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.74SjmcneillSUBDIR+=	dtv
191.82SjmcneillSUBDIR+=	dtv_math
201.7SrumbleSUBDIR+=	efs
211.7SrumbleSUBDIR+=	ext2fs
221.15SadSUBDIR+=	exec_script
231.7SrumbleSUBDIR+=	fdesc
241.7SrumbleSUBDIR+=	ffs
251.18SadSUBDIR+=	filecore
261.68SahokaSUBDIR+=	flash
271.15SadSUBDIR+=	fss
281.7SrumbleSUBDIR+=	hfs
291.7SrumbleSUBDIR+=	kernfs
301.15SadSUBDIR+=	ksem
311.22SadSUBDIR+=	layerfs
321.7SrumbleSUBDIR+=	lfs
331.7SrumbleSUBDIR+=	mfs
341.45SpgoyetteSUBDIR+=	miiverbose
351.45SpgoyetteSUBDIR+=	miniroot
361.31SrmindSUBDIR+=	mqueue
371.18SadSUBDIR+=	msdos
381.68SahokaSUBDIR+=	nand
391.68SahokaSUBDIR+=	nandemulator
401.15SadSUBDIR+=	nfs
411.15SadSUBDIR+=	nfsserver
421.30SreinoudSUBDIR+=	nilfs
431.7SrumbleSUBDIR+=	ntfs
441.18SadSUBDIR+=	null
451.7SrumbleSUBDIR+=	overlay
461.42SpgoyetteSUBDIR+=	pciverbose
471.41SahokaSUBDIR+=	pf
481.19ScubeSUBDIR+=	ppp_bsdcomp
491.19ScubeSUBDIR+=	ppp_deflate
501.7SrumbleSUBDIR+=	procfs
511.7SrumbleSUBDIR+=	ptyfs
521.7SrumbleSUBDIR+=	puffs
531.15SadSUBDIR+=	putter
541.44SpgoyetteSUBDIR+=	scsiverbose
551.33SeladSUBDIR+=	secmodel_bsd44
561.33SeladSUBDIR+=	secmodel_overlay
571.33SeladSUBDIR+=	securelevel
581.7SrumbleSUBDIR+=	smbfs
591.81SpgoyetteSUBDIR+=	spdmem
601.24SpookaSUBDIR+=	sysvbfs
611.33SeladSUBDIR+=	suser
621.48SpgoyetteSUBDIR+=	swsensor
631.7SrumbleSUBDIR+=	tmpfs
641.7SrumbleSUBDIR+=	udf
651.18SadSUBDIR+=	umap
661.7SrumbleSUBDIR+=	union
671.43SpgoyetteSUBDIR+=	usbverbose
681.78SenamiSUBDIR+=	v7fs
691.25ShaadSUBDIR+=	vnd
701.29SyamtSUBDIR+=	tprof
711.7Srumble.if (defined(NOTYET))
721.7SrumbleSUBDIR+=	unionfs
731.7Srumble.endif
741.37Sdyoung.if ${MKBINUTILS} != "no"
751.37SdyoungSUBDIR+=	xldscripts
761.37Sdyoung.endif
771.7Srumble
781.15Sad# Machine dependent section
791.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
801.49Stsutsui    ${MACHINE_CPU} == "m68k"
811.47StsutsuiSUBDIR+=	exec_aout
821.47Stsutsui.endif
831.47Stsutsui
841.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
851.17SmartinSUBDIR+=	exec_elf32
861.17Smartin.endif
871.15Sad
881.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
891.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
901.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
911.20SheSUBDIR+=	exec_elf64
921.20She.endif
931.20She
941.29Syamt.if ${MACHINE_ARCH} == "i386" || \
951.29Syamt    ${MACHINE_ARCH} == "x86_64"
961.71SjruohoSUBDIR+=	amdtemp
971.64SjruohoSUBDIR+=	coretemp
981.65SjruohoSUBDIR+=	est
991.72SjruohoSUBDIR+=	hpet
1001.69SjruohoSUBDIR+=	odcm
1011.66SjruohoSUBDIR+=	powernow
1021.29SyamtSUBDIR+=	tprof_pmi
1031.70SyamtSUBDIR+=	tprof_amdpmi
1041.29Syamt.endif
1051.29Syamt
1061.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1071.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1081.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1091.46SpgoyetteSUBDIR+=	acpiverbose
1101.46Spgoyette.endif
1111.46Spgoyette
1121.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1131.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1141.52SjruohoSUBDIR+=	acpiacad
1151.52SjruohoSUBDIR+=	acpibat
1161.52SjruohoSUBDIR+=	acpibut
1171.52SjruohoSUBDIR+=	acpicpu
1181.53SjruohoSUBDIR+=	acpidalb
1191.58SjruohoSUBDIR+=	acpifan
1201.52SjruohoSUBDIR+=	acpilid
1211.57SjruohoSUBDIR+=	acpipmtr
1221.53SjruohoSUBDIR+=	acpitz
1231.53SjruohoSUBDIR+=	acpivga
1241.51SjmcneillSUBDIR+=	acpiwmi
1251.53SjruohoSUBDIR+=	aibs
1261.54SjruohoSUBDIR+=	asus
1271.63SjruohoSUBDIR+=	fujbp
1281.63SjruohoSUBDIR+=	fujhk
1291.75SjruohoSUBDIR+=	hpacel
1301.54SjruohoSUBDIR+=	hpqlb
1311.52SjruohoSUBDIR+=	thinkpad
1321.50SjmcneillSUBDIR+=	wmidell
1331.50SjmcneillSUBDIR+=	wmihp
1341.50SjmcneillSUBDIR+=	wmimsi
1351.50Sjmcneill.endif
1361.50Sjmcneill
1371.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1381.15SadSUBDIR+=	azalia
1391.15SadSUBDIR+=	compat_linux
1401.15SadSUBDIR+=	compat_linux32
1411.15SadSUBDIR+=	compat_netbsd32
1421.15SadSUBDIR+=	drm
1431.15SadSUBDIR+=	i915drm
1441.40SahokaSUBDIR+=	pad
1451.15Sad.endif
1461.15Sad
1471.27Sabs.if ${MACHINE_ARCH} == "i386"
1481.15SadSUBDIR+=	azalia
1491.15SadSUBDIR+=	compat_freebsd
1501.15SadSUBDIR+=	compat_ibcs2
1511.15SadSUBDIR+=	compat_linux
1521.15SadSUBDIR+=	compat_svr4
1531.15SadSUBDIR+=	drm
1541.15SadSUBDIR+=	i915drm
1551.76SjmcneillSUBDIR+=	nsclpcsio
1561.15SadSUBDIR+=	radeondrm
1571.32SjmcneillSUBDIR+=	viadrm
1581.40SahokaSUBDIR+=	pad
1591.62SjmcneillSUBDIR+=	padlock
1601.67SjruohoSUBDIR+=	viac7temp
1611.63SjruohoSUBDIR+=	wmieeepc
1621.15Sad.endif
1631.15Sad
1641.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1651.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1661.59SjmcneillSUBDIR+=	aps
1671.56SjmcneillSUBDIR+=	au8522
1681.56SjmcneillSUBDIR+=	auvitek
1691.80SjmcneillSUBDIR+=	finsio
1701.79SjmcneillSUBDIR+=	itesio
1711.56SjmcneillSUBDIR+=	xc5k
1721.56Sjmcneill.endif
1731.56Sjmcneill
1741.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1751.47StsutsuiSUBDIR+=	compat_aoutm68k
1761.47Stsutsui#SUBDIR+=	compat_linux
1771.47Stsutsui#SUBDIR+=	compat_sunos
1781.47Stsutsui#SUBDIR+=	compat_svr4
1791.47Stsutsui.endif
1801.47Stsutsui
1811.23Sagc.include <bsd.own.mk>
1821.23Sagc
1831.23Sagc# we need our device mapper for LVM
1841.23Sagc.if (${MKLVM} != "no")
1851.28SyamtSUBDIR+= 	dm
1861.23Sagc.endif
1871.23Sagc
1881.39Sdarran.if (${MKDTRACE} != "no")
1891.39SdarranSUBDIR+=	dtrace
1901.39Sdarran.endif
1911.39Sdarran
1921.39Sdarran# we need solaris for the dtrace and zfs modules
1931.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
1941.39SdarranSUBDIR+=        solaris
1951.39Sdarran.endif
1961.39Sdarran
1971.34Shaad.if (${MKZFS} != "no")
1981.34ShaadSUBDIR+=	zfs
1991.34Shaad.endif
2001.34Shaad
2011.73Smrg.if (${MKCOMPATMODULES} != "no")
2021.73SmrgSUBDIR+=	arch
2031.73Smrg.endif
2041.73Smrg
2051.1Sad.include <bsd.subdir.mk>
206