Makefile revision 1.51
11.51Sjmcneill#	$NetBSD: Makefile,v 1.51 2010/10/24 18:29:33 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.7SrumbleSUBDIR+=	efs
191.7SrumbleSUBDIR+=	ext2fs
201.15SadSUBDIR+=	exec_script
211.7SrumbleSUBDIR+=	fdesc
221.7SrumbleSUBDIR+=	ffs
231.18SadSUBDIR+=	filecore
241.15SadSUBDIR+=	fss
251.7SrumbleSUBDIR+=	hfs
261.7SrumbleSUBDIR+=	kernfs
271.15SadSUBDIR+=	ksem
281.22SadSUBDIR+=	layerfs
291.7SrumbleSUBDIR+=	lfs
301.7SrumbleSUBDIR+=	mfs
311.45SpgoyetteSUBDIR+=	miiverbose
321.45SpgoyetteSUBDIR+=	miniroot
331.31SrmindSUBDIR+=	mqueue
341.18SadSUBDIR+=	msdos
351.15SadSUBDIR+=	nfs
361.15SadSUBDIR+=	nfsserver
371.30SreinoudSUBDIR+=	nilfs
381.7SrumbleSUBDIR+=	ntfs
391.18SadSUBDIR+=	null
401.7SrumbleSUBDIR+=	overlay
411.42SpgoyetteSUBDIR+=	pciverbose
421.41SahokaSUBDIR+=	pf
431.19ScubeSUBDIR+=	ppp_bsdcomp
441.19ScubeSUBDIR+=	ppp_deflate
451.7SrumbleSUBDIR+=	procfs
461.7SrumbleSUBDIR+=	ptyfs
471.7SrumbleSUBDIR+=	puffs
481.15SadSUBDIR+=	putter
491.44SpgoyetteSUBDIR+=	scsiverbose
501.33SeladSUBDIR+=	secmodel_bsd44
511.33SeladSUBDIR+=	secmodel_overlay
521.33SeladSUBDIR+=	securelevel
531.7SrumbleSUBDIR+=	smbfs
541.24SpookaSUBDIR+=	sysvbfs
551.33SeladSUBDIR+=	suser
561.48SpgoyetteSUBDIR+=	swsensor
571.7SrumbleSUBDIR+=	tmpfs
581.7SrumbleSUBDIR+=	udf
591.18SadSUBDIR+=	umap
601.7SrumbleSUBDIR+=	union
611.43SpgoyetteSUBDIR+=	usbverbose
621.25ShaadSUBDIR+=	vnd
631.29SyamtSUBDIR+=	tprof
641.7Srumble.if (defined(NOTYET))
651.7SrumbleSUBDIR+=	unionfs
661.7Srumble.endif
671.37Sdyoung.if ${MKBINUTILS} != "no"
681.37SdyoungSUBDIR+=	xldscripts
691.37Sdyoung.endif
701.7Srumble
711.15Sad# Machine dependent section
721.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
731.49Stsutsui    ${MACHINE_CPU} == "m68k"
741.47StsutsuiSUBDIR+=	exec_aout
751.47Stsutsui.endif
761.47Stsutsui
771.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
781.17SmartinSUBDIR+=	exec_elf32
791.17Smartin.endif
801.15Sad
811.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
821.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
831.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
841.20SheSUBDIR+=	exec_elf64
851.20She.endif
861.20She
871.29Syamt.if ${MACHINE_ARCH} == "i386" || \
881.29Syamt    ${MACHINE_ARCH} == "x86_64"
891.29SyamtSUBDIR+=	tprof_pmi
901.29Syamt.endif
911.29Syamt
921.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
931.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
941.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
951.46SpgoyetteSUBDIR+=	acpiverbose
961.46Spgoyette.endif
971.46Spgoyette
981.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
991.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1001.51SjmcneillSUBDIR+=	acpiwmi
1011.50SjmcneillSUBDIR+=	wmidell
1021.50SjmcneillSUBDIR+=	wmihp
1031.50SjmcneillSUBDIR+=	wmimsi
1041.50Sjmcneill.endif
1051.50Sjmcneill
1061.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1071.15SadSUBDIR+=	azalia
1081.15SadSUBDIR+=	compat_linux
1091.15SadSUBDIR+=	compat_linux32
1101.15SadSUBDIR+=	compat_netbsd32
1111.15SadSUBDIR+=	drm
1121.15SadSUBDIR+=	i915drm
1131.40SahokaSUBDIR+=	pad
1141.15Sad.endif
1151.15Sad
1161.27Sabs.if ${MACHINE_ARCH} == "i386"
1171.15SadSUBDIR+=	azalia
1181.15SadSUBDIR+=	compat_freebsd
1191.15SadSUBDIR+=	compat_ibcs2
1201.15SadSUBDIR+=	compat_linux
1211.15SadSUBDIR+=	compat_svr4
1221.15SadSUBDIR+=	drm
1231.15SadSUBDIR+=	i915drm
1241.15SadSUBDIR+=	radeondrm
1251.32SjmcneillSUBDIR+=	viadrm
1261.40SahokaSUBDIR+=	pad
1271.15Sad.endif
1281.15Sad
1291.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1301.47StsutsuiSUBDIR+=	compat_aoutm68k
1311.47Stsutsui#SUBDIR+=	compat_linux
1321.47Stsutsui#SUBDIR+=	compat_sunos
1331.47Stsutsui#SUBDIR+=	compat_svr4
1341.47Stsutsui.endif
1351.47Stsutsui
1361.23Sagc.include <bsd.own.mk>
1371.23Sagc
1381.23Sagc# we need our device mapper for LVM
1391.23Sagc.if (${MKLVM} != "no")
1401.28SyamtSUBDIR+= 	dm
1411.23Sagc.endif
1421.23Sagc
1431.39Sdarran.if (${MKDTRACE} != "no")
1441.39SdarranSUBDIR+=	dtrace
1451.39Sdarran.endif
1461.39Sdarran
1471.39Sdarran# we need solaris for the dtrace and zfs modules
1481.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
1491.39SdarranSUBDIR+=        solaris
1501.39Sdarran.endif
1511.39Sdarran
1521.34Shaad.if (${MKZFS} != "no")
1531.34ShaadSUBDIR+=	zfs
1541.34Shaad.endif
1551.34Shaad
1561.1Sad.include <bsd.subdir.mk>
157