Makefile revision 1.88
11.88Smbalmer#	$NetBSD: Makefile,v 1.88 2011/08/11 12:03:06 mbalmer 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.81SpgoyetteSUBDIR+=	spdmem
581.24SpookaSUBDIR+=	sysvbfs
591.33SeladSUBDIR+=	suser
601.48SpgoyetteSUBDIR+=	swsensor
611.7SrumbleSUBDIR+=	tmpfs
621.7SrumbleSUBDIR+=	udf
631.18SadSUBDIR+=	umap
641.7SrumbleSUBDIR+=	union
651.43SpgoyetteSUBDIR+=	usbverbose
661.78SenamiSUBDIR+=	v7fs
671.25ShaadSUBDIR+=	vnd
681.29SyamtSUBDIR+=	tprof
691.7Srumble.if (defined(NOTYET))
701.7SrumbleSUBDIR+=	unionfs
711.7Srumble.endif
721.37Sdyoung.if ${MKBINUTILS} != "no"
731.37SdyoungSUBDIR+=	xldscripts
741.37Sdyoung.endif
751.7Srumble
761.15Sad# Machine dependent section
771.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
781.49Stsutsui    ${MACHINE_CPU} == "m68k"
791.47StsutsuiSUBDIR+=	exec_aout
801.47Stsutsui.endif
811.47Stsutsui
821.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
831.17SmartinSUBDIR+=	exec_elf32
841.17Smartin.endif
851.15Sad
861.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
871.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
881.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
891.20SheSUBDIR+=	exec_elf64
901.20She.endif
911.20She
921.29Syamt.if ${MACHINE_ARCH} == "i386" || \
931.29Syamt    ${MACHINE_ARCH} == "x86_64"
941.71SjruohoSUBDIR+=	amdtemp
951.64SjruohoSUBDIR+=	coretemp
961.65SjruohoSUBDIR+=	est
971.72SjruohoSUBDIR+=	hpet
981.69SjruohoSUBDIR+=	odcm
991.66SjruohoSUBDIR+=	powernow
1001.29SyamtSUBDIR+=	tprof_pmi
1011.70SyamtSUBDIR+=	tprof_amdpmi
1021.29Syamt.endif
1031.29Syamt
1041.85Sjruoho#
1051.85Sjruoho# ACPI modules
1061.85Sjruoho#
1071.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1081.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1091.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1101.46SpgoyetteSUBDIR+=	acpiverbose
1111.46Spgoyette.endif
1121.46Spgoyette
1131.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1141.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1151.52SjruohoSUBDIR+=	acpiacad
1161.52SjruohoSUBDIR+=	acpibat
1171.52SjruohoSUBDIR+=	acpibut
1181.52SjruohoSUBDIR+=	acpicpu
1191.53SjruohoSUBDIR+=	acpidalb
1201.58SjruohoSUBDIR+=	acpifan
1211.52SjruohoSUBDIR+=	acpilid
1221.57SjruohoSUBDIR+=	acpipmtr
1231.53SjruohoSUBDIR+=	acpitz
1241.53SjruohoSUBDIR+=	acpivga
1251.86SjruohoSUBDIR+=	acpiwdrt
1261.51SjmcneillSUBDIR+=	acpiwmi
1271.53SjruohoSUBDIR+=	aibs
1281.54SjruohoSUBDIR+=	asus
1291.63SjruohoSUBDIR+=	fujbp
1301.63SjruohoSUBDIR+=	fujhk
1311.75SjruohoSUBDIR+=	hpacel
1321.54SjruohoSUBDIR+=	hpqlb
1331.52SjruohoSUBDIR+=	thinkpad
1341.50SjmcneillSUBDIR+=	wmidell
1351.83SjruohoSUBDIR+=	wmieeepc
1361.50SjmcneillSUBDIR+=	wmihp
1371.50SjmcneillSUBDIR+=	wmimsi
1381.50Sjmcneill.endif
1391.50Sjmcneill
1401.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1411.15SadSUBDIR+=	azalia
1421.15SadSUBDIR+=	compat_linux
1431.15SadSUBDIR+=	compat_linux32
1441.15SadSUBDIR+=	compat_netbsd32
1451.15SadSUBDIR+=	drm
1461.15SadSUBDIR+=	i915drm
1471.40SahokaSUBDIR+=	pad
1481.15Sad.endif
1491.15Sad
1501.27Sabs.if ${MACHINE_ARCH} == "i386"
1511.15SadSUBDIR+=	azalia
1521.15SadSUBDIR+=	compat_freebsd
1531.15SadSUBDIR+=	compat_ibcs2
1541.15SadSUBDIR+=	compat_linux
1551.15SadSUBDIR+=	compat_svr4
1561.15SadSUBDIR+=	drm
1571.15SadSUBDIR+=	i915drm
1581.76SjmcneillSUBDIR+=	nsclpcsio
1591.15SadSUBDIR+=	radeondrm
1601.32SjmcneillSUBDIR+=	viadrm
1611.40SahokaSUBDIR+=	pad
1621.62SjmcneillSUBDIR+=	padlock
1631.67SjruohoSUBDIR+=	viac7temp
1641.15Sad.endif
1651.15Sad
1661.85Sjruoho#
1671.85Sjruoho# ISA modules
1681.85Sjruoho#
1691.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1701.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1711.59SjmcneillSUBDIR+=	aps
1721.80SjmcneillSUBDIR+=	finsio
1731.79SjmcneillSUBDIR+=	itesio
1741.56Sjmcneill.endif
1751.56Sjmcneill
1761.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1771.47StsutsuiSUBDIR+=	compat_aoutm68k
1781.47Stsutsui#SUBDIR+=	compat_linux
1791.47Stsutsui#SUBDIR+=	compat_sunos
1801.47Stsutsui#SUBDIR+=	compat_svr4
1811.47Stsutsui.endif
1821.47Stsutsui
1831.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
1841.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
1851.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
1861.88SmbalmerSUBDIR+=	pwdog
1871.88Smbalmer.endif
1881.88Smbalmer
1891.23Sagc.include <bsd.own.mk>
1901.23Sagc
1911.23Sagc# we need our device mapper for LVM
1921.23Sagc.if (${MKLVM} != "no")
1931.28SyamtSUBDIR+= 	dm
1941.23Sagc.endif
1951.23Sagc
1961.39Sdarran.if (${MKDTRACE} != "no")
1971.39SdarranSUBDIR+=	dtrace
1981.39Sdarran.endif
1991.39Sdarran
2001.39Sdarran# we need solaris for the dtrace and zfs modules
2011.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2021.39SdarranSUBDIR+=        solaris
2031.39Sdarran.endif
2041.39Sdarran
2051.34Shaad.if (${MKZFS} != "no")
2061.34ShaadSUBDIR+=	zfs
2071.34Shaad.endif
2081.34Shaad
2091.73Smrg.if (${MKCOMPATMODULES} != "no")
2101.73SmrgSUBDIR+=	arch
2111.73Smrg.endif
2121.73Smrg
2131.84Sjmcneill#
2141.84Sjmcneill# DTV modules
2151.84Sjmcneill#
2161.84SjmcneillSUBDIR+=	dtv
2171.84SjmcneillSUBDIR+=	dtv_math
2181.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2191.84Sjmcneill# tuners/demods
2201.84SjmcneillSUBDIR+=	au8522
2211.84SjmcneillSUBDIR+=	cx24227
2221.84SjmcneillSUBDIR+=	lg3303
2231.84SjmcneillSUBDIR+=	mt2131
2241.84SjmcneillSUBDIR+=	nxt2k
2251.84SjmcneillSUBDIR+=	tvpll
2261.84SjmcneillSUBDIR+=	xc3028
2271.84SjmcneillSUBDIR+=	xc5k
2281.84Sjmcneill# hardware drivers
2291.84SjmcneillSUBDIR+=	auvitek
2301.84SjmcneillSUBDIR+=	coram
2311.84SjmcneillSUBDIR+=	cxdtv
2321.84SjmcneillSUBDIR+=	emdtv
2331.84Sjmcneill.endif
2341.84Sjmcneill
2351.1Sad.include <bsd.subdir.mk>
236