Makefile revision 1.81
11.81Spgoyette#	$NetBSD: Makefile,v 1.81 2011/08/01 03:51:05 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.74SjmcneillSUBDIR+=	dtv
191.7SrumbleSUBDIR+=	efs
201.7SrumbleSUBDIR+=	ext2fs
211.15SadSUBDIR+=	exec_script
221.7SrumbleSUBDIR+=	fdesc
231.7SrumbleSUBDIR+=	ffs
241.18SadSUBDIR+=	filecore
251.68SahokaSUBDIR+=	flash
261.15SadSUBDIR+=	fss
271.7SrumbleSUBDIR+=	hfs
281.7SrumbleSUBDIR+=	kernfs
291.15SadSUBDIR+=	ksem
301.22SadSUBDIR+=	layerfs
311.7SrumbleSUBDIR+=	lfs
321.7SrumbleSUBDIR+=	mfs
331.45SpgoyetteSUBDIR+=	miiverbose
341.45SpgoyetteSUBDIR+=	miniroot
351.31SrmindSUBDIR+=	mqueue
361.18SadSUBDIR+=	msdos
371.68SahokaSUBDIR+=	nand
381.68SahokaSUBDIR+=	nandemulator
391.15SadSUBDIR+=	nfs
401.15SadSUBDIR+=	nfsserver
411.30SreinoudSUBDIR+=	nilfs
421.7SrumbleSUBDIR+=	ntfs
431.18SadSUBDIR+=	null
441.7SrumbleSUBDIR+=	overlay
451.42SpgoyetteSUBDIR+=	pciverbose
461.41SahokaSUBDIR+=	pf
471.19ScubeSUBDIR+=	ppp_bsdcomp
481.19ScubeSUBDIR+=	ppp_deflate
491.7SrumbleSUBDIR+=	procfs
501.7SrumbleSUBDIR+=	ptyfs
511.7SrumbleSUBDIR+=	puffs
521.15SadSUBDIR+=	putter
531.44SpgoyetteSUBDIR+=	scsiverbose
541.33SeladSUBDIR+=	secmodel_bsd44
551.33SeladSUBDIR+=	secmodel_overlay
561.33SeladSUBDIR+=	securelevel
571.7SrumbleSUBDIR+=	smbfs
581.81SpgoyetteSUBDIR+=	spdmem
591.24SpookaSUBDIR+=	sysvbfs
601.33SeladSUBDIR+=	suser
611.48SpgoyetteSUBDIR+=	swsensor
621.7SrumbleSUBDIR+=	tmpfs
631.7SrumbleSUBDIR+=	udf
641.18SadSUBDIR+=	umap
651.7SrumbleSUBDIR+=	union
661.43SpgoyetteSUBDIR+=	usbverbose
671.78SenamiSUBDIR+=	v7fs
681.25ShaadSUBDIR+=	vnd
691.29SyamtSUBDIR+=	tprof
701.7Srumble.if (defined(NOTYET))
711.7SrumbleSUBDIR+=	unionfs
721.7Srumble.endif
731.37Sdyoung.if ${MKBINUTILS} != "no"
741.37SdyoungSUBDIR+=	xldscripts
751.37Sdyoung.endif
761.7Srumble
771.15Sad# Machine dependent section
781.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
791.49Stsutsui    ${MACHINE_CPU} == "m68k"
801.47StsutsuiSUBDIR+=	exec_aout
811.47Stsutsui.endif
821.47Stsutsui
831.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
841.17SmartinSUBDIR+=	exec_elf32
851.17Smartin.endif
861.15Sad
871.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
881.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
891.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
901.20SheSUBDIR+=	exec_elf64
911.20She.endif
921.20She
931.29Syamt.if ${MACHINE_ARCH} == "i386" || \
941.29Syamt    ${MACHINE_ARCH} == "x86_64"
951.71SjruohoSUBDIR+=	amdtemp
961.64SjruohoSUBDIR+=	coretemp
971.65SjruohoSUBDIR+=	est
981.72SjruohoSUBDIR+=	hpet
991.69SjruohoSUBDIR+=	odcm
1001.66SjruohoSUBDIR+=	powernow
1011.29SyamtSUBDIR+=	tprof_pmi
1021.70SyamtSUBDIR+=	tprof_amdpmi
1031.29Syamt.endif
1041.29Syamt
1051.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1061.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1071.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1081.46SpgoyetteSUBDIR+=	acpiverbose
1091.46Spgoyette.endif
1101.46Spgoyette
1111.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1121.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1131.52SjruohoSUBDIR+=	acpiacad
1141.52SjruohoSUBDIR+=	acpibat
1151.52SjruohoSUBDIR+=	acpibut
1161.52SjruohoSUBDIR+=	acpicpu
1171.53SjruohoSUBDIR+=	acpidalb
1181.58SjruohoSUBDIR+=	acpifan
1191.52SjruohoSUBDIR+=	acpilid
1201.57SjruohoSUBDIR+=	acpipmtr
1211.53SjruohoSUBDIR+=	acpitz
1221.53SjruohoSUBDIR+=	acpivga
1231.51SjmcneillSUBDIR+=	acpiwmi
1241.53SjruohoSUBDIR+=	aibs
1251.54SjruohoSUBDIR+=	asus
1261.63SjruohoSUBDIR+=	fujbp
1271.63SjruohoSUBDIR+=	fujhk
1281.75SjruohoSUBDIR+=	hpacel
1291.54SjruohoSUBDIR+=	hpqlb
1301.52SjruohoSUBDIR+=	thinkpad
1311.50SjmcneillSUBDIR+=	wmidell
1321.50SjmcneillSUBDIR+=	wmihp
1331.50SjmcneillSUBDIR+=	wmimsi
1341.50Sjmcneill.endif
1351.50Sjmcneill
1361.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1371.15SadSUBDIR+=	azalia
1381.15SadSUBDIR+=	compat_linux
1391.15SadSUBDIR+=	compat_linux32
1401.15SadSUBDIR+=	compat_netbsd32
1411.15SadSUBDIR+=	drm
1421.15SadSUBDIR+=	i915drm
1431.40SahokaSUBDIR+=	pad
1441.15Sad.endif
1451.15Sad
1461.27Sabs.if ${MACHINE_ARCH} == "i386"
1471.15SadSUBDIR+=	azalia
1481.15SadSUBDIR+=	compat_freebsd
1491.15SadSUBDIR+=	compat_ibcs2
1501.15SadSUBDIR+=	compat_linux
1511.15SadSUBDIR+=	compat_svr4
1521.15SadSUBDIR+=	drm
1531.15SadSUBDIR+=	i915drm
1541.76SjmcneillSUBDIR+=	nsclpcsio
1551.15SadSUBDIR+=	radeondrm
1561.32SjmcneillSUBDIR+=	viadrm
1571.40SahokaSUBDIR+=	pad
1581.62SjmcneillSUBDIR+=	padlock
1591.67SjruohoSUBDIR+=	viac7temp
1601.63SjruohoSUBDIR+=	wmieeepc
1611.15Sad.endif
1621.15Sad
1631.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1641.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1651.59SjmcneillSUBDIR+=	aps
1661.56SjmcneillSUBDIR+=	au8522
1671.56SjmcneillSUBDIR+=	auvitek
1681.80SjmcneillSUBDIR+=	finsio
1691.79SjmcneillSUBDIR+=	itesio
1701.56SjmcneillSUBDIR+=	xc5k
1711.56Sjmcneill.endif
1721.56Sjmcneill
1731.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1741.47StsutsuiSUBDIR+=	compat_aoutm68k
1751.47Stsutsui#SUBDIR+=	compat_linux
1761.47Stsutsui#SUBDIR+=	compat_sunos
1771.47Stsutsui#SUBDIR+=	compat_svr4
1781.47Stsutsui.endif
1791.47Stsutsui
1801.23Sagc.include <bsd.own.mk>
1811.23Sagc
1821.23Sagc# we need our device mapper for LVM
1831.23Sagc.if (${MKLVM} != "no")
1841.28SyamtSUBDIR+= 	dm
1851.23Sagc.endif
1861.23Sagc
1871.39Sdarran.if (${MKDTRACE} != "no")
1881.39SdarranSUBDIR+=	dtrace
1891.39Sdarran.endif
1901.39Sdarran
1911.39Sdarran# we need solaris for the dtrace and zfs modules
1921.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
1931.39SdarranSUBDIR+=        solaris
1941.39Sdarran.endif
1951.39Sdarran
1961.34Shaad.if (${MKZFS} != "no")
1971.34ShaadSUBDIR+=	zfs
1981.34Shaad.endif
1991.34Shaad
2001.73Smrg.if (${MKCOMPATMODULES} != "no")
2011.73SmrgSUBDIR+=	arch
2021.73Smrg.endif
2031.73Smrg
2041.1Sad.include <bsd.subdir.mk>
205