Makefile revision 1.93
11.93Ssjg#	$NetBSD: Makefile,v 1.93 2011/09/29 17:40:19 sjg 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.93SsjgSUBDIR+=	filemon
251.68SahokaSUBDIR+=	flash
261.15SadSUBDIR+=	fss
271.89SmbalmerSUBDIR+=	gpio
281.92SmbalmerSUBDIR+=	gpioow
291.89SmbalmerSUBDIR+=	gpiosim
301.7SrumbleSUBDIR+=	hfs
311.7SrumbleSUBDIR+=	kernfs
321.15SadSUBDIR+=	ksem
331.22SadSUBDIR+=	layerfs
341.7SrumbleSUBDIR+=	lfs
351.7SrumbleSUBDIR+=	mfs
361.45SpgoyetteSUBDIR+=	miiverbose
371.45SpgoyetteSUBDIR+=	miniroot
381.31SrmindSUBDIR+=	mqueue
391.18SadSUBDIR+=	msdos
401.68SahokaSUBDIR+=	nand
411.68SahokaSUBDIR+=	nandemulator
421.15SadSUBDIR+=	nfs
431.15SadSUBDIR+=	nfsserver
441.30SreinoudSUBDIR+=	nilfs
451.7SrumbleSUBDIR+=	ntfs
461.18SadSUBDIR+=	null
471.92SmbalmerSUBDIR+=	onewire
481.7SrumbleSUBDIR+=	overlay
491.42SpgoyetteSUBDIR+=	pciverbose
501.41SahokaSUBDIR+=	pf
511.19ScubeSUBDIR+=	ppp_bsdcomp
521.19ScubeSUBDIR+=	ppp_deflate
531.7SrumbleSUBDIR+=	procfs
541.7SrumbleSUBDIR+=	ptyfs
551.7SrumbleSUBDIR+=	puffs
561.15SadSUBDIR+=	putter
571.44SpgoyetteSUBDIR+=	scsiverbose
581.33SeladSUBDIR+=	secmodel_bsd44
591.33SeladSUBDIR+=	secmodel_overlay
601.33SeladSUBDIR+=	securelevel
611.7SrumbleSUBDIR+=	smbfs
621.81SpgoyetteSUBDIR+=	spdmem
631.24SpookaSUBDIR+=	sysvbfs
641.33SeladSUBDIR+=	suser
651.48SpgoyetteSUBDIR+=	swsensor
661.7SrumbleSUBDIR+=	tmpfs
671.7SrumbleSUBDIR+=	udf
681.18SadSUBDIR+=	umap
691.7SrumbleSUBDIR+=	union
701.43SpgoyetteSUBDIR+=	usbverbose
711.78SenamiSUBDIR+=	v7fs
721.25ShaadSUBDIR+=	vnd
731.29SyamtSUBDIR+=	tprof
741.7Srumble.if (defined(NOTYET))
751.7SrumbleSUBDIR+=	unionfs
761.7Srumble.endif
771.37Sdyoung.if ${MKBINUTILS} != "no"
781.37SdyoungSUBDIR+=	xldscripts
791.37Sdyoung.endif
801.7Srumble
811.15Sad# Machine dependent section
821.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
831.49Stsutsui    ${MACHINE_CPU} == "m68k"
841.47StsutsuiSUBDIR+=	exec_aout
851.47Stsutsui.endif
861.47Stsutsui
871.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
881.17SmartinSUBDIR+=	exec_elf32
891.17Smartin.endif
901.15Sad
911.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
921.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
931.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
941.20SheSUBDIR+=	exec_elf64
951.20She.endif
961.20She
971.29Syamt.if ${MACHINE_ARCH} == "i386" || \
981.29Syamt    ${MACHINE_ARCH} == "x86_64"
991.71SjruohoSUBDIR+=	amdtemp
1001.64SjruohoSUBDIR+=	coretemp
1011.65SjruohoSUBDIR+=	est
1021.72SjruohoSUBDIR+=	hpet
1031.69SjruohoSUBDIR+=	odcm
1041.66SjruohoSUBDIR+=	powernow
1051.29SyamtSUBDIR+=	tprof_pmi
1061.70SyamtSUBDIR+=	tprof_amdpmi
1071.29Syamt.endif
1081.29Syamt
1091.85Sjruoho#
1101.85Sjruoho# ACPI modules
1111.85Sjruoho#
1121.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1131.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1141.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1151.46SpgoyetteSUBDIR+=	acpiverbose
1161.46Spgoyette.endif
1171.46Spgoyette
1181.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1191.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1201.52SjruohoSUBDIR+=	acpiacad
1211.52SjruohoSUBDIR+=	acpibat
1221.52SjruohoSUBDIR+=	acpibut
1231.52SjruohoSUBDIR+=	acpicpu
1241.53SjruohoSUBDIR+=	acpidalb
1251.58SjruohoSUBDIR+=	acpifan
1261.52SjruohoSUBDIR+=	acpilid
1271.57SjruohoSUBDIR+=	acpipmtr
1281.53SjruohoSUBDIR+=	acpitz
1291.53SjruohoSUBDIR+=	acpivga
1301.86SjruohoSUBDIR+=	acpiwdrt
1311.51SjmcneillSUBDIR+=	acpiwmi
1321.53SjruohoSUBDIR+=	aibs
1331.54SjruohoSUBDIR+=	asus
1341.63SjruohoSUBDIR+=	fujbp
1351.63SjruohoSUBDIR+=	fujhk
1361.75SjruohoSUBDIR+=	hpacel
1371.54SjruohoSUBDIR+=	hpqlb
1381.52SjruohoSUBDIR+=	thinkpad
1391.50SjmcneillSUBDIR+=	wmidell
1401.83SjruohoSUBDIR+=	wmieeepc
1411.50SjmcneillSUBDIR+=	wmihp
1421.50SjmcneillSUBDIR+=	wmimsi
1431.50Sjmcneill.endif
1441.50Sjmcneill
1451.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1461.15SadSUBDIR+=	azalia
1471.15SadSUBDIR+=	compat_linux
1481.15SadSUBDIR+=	compat_linux32
1491.15SadSUBDIR+=	compat_netbsd32
1501.15SadSUBDIR+=	drm
1511.15SadSUBDIR+=	i915drm
1521.40SahokaSUBDIR+=	pad
1531.15Sad.endif
1541.15Sad
1551.27Sabs.if ${MACHINE_ARCH} == "i386"
1561.90SjmcneillSUBDIR+=	ati_pcigart
1571.15SadSUBDIR+=	azalia
1581.15SadSUBDIR+=	compat_freebsd
1591.15SadSUBDIR+=	compat_ibcs2
1601.15SadSUBDIR+=	compat_linux
1611.15SadSUBDIR+=	compat_svr4
1621.15SadSUBDIR+=	drm
1631.15SadSUBDIR+=	i915drm
1641.90SjmcneillSUBDIR+=	mach64drm
1651.90SjmcneillSUBDIR+=	mgadrm
1661.76SjmcneillSUBDIR+=	nsclpcsio
1671.40SahokaSUBDIR+=	pad
1681.62SjmcneillSUBDIR+=	padlock
1691.90SjmcneillSUBDIR+=	r128drm
1701.90SjmcneillSUBDIR+=	radeondrm
1711.90SjmcneillSUBDIR+=	savagedrm
1721.90SjmcneillSUBDIR+=	sisdrm
1731.90SjmcneillSUBDIR+=	tdfxdrm
1741.67SjruohoSUBDIR+=	viac7temp
1751.90SjmcneillSUBDIR+=	viadrm
1761.15Sad.endif
1771.15Sad
1781.85Sjruoho#
1791.85Sjruoho# ISA modules
1801.85Sjruoho#
1811.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1821.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1831.59SjmcneillSUBDIR+=	aps
1841.80SjmcneillSUBDIR+=	finsio
1851.79SjmcneillSUBDIR+=	itesio
1861.56Sjmcneill.endif
1871.56Sjmcneill
1881.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1891.47StsutsuiSUBDIR+=	compat_aoutm68k
1901.47Stsutsui#SUBDIR+=	compat_linux
1911.47Stsutsui#SUBDIR+=	compat_sunos
1921.47Stsutsui#SUBDIR+=	compat_svr4
1931.47Stsutsui.endif
1941.47Stsutsui
1951.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
1961.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
1971.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
1981.88SmbalmerSUBDIR+=	pwdog
1991.88Smbalmer.endif
2001.88Smbalmer
2011.23Sagc.include <bsd.own.mk>
2021.23Sagc
2031.23Sagc# we need our device mapper for LVM
2041.23Sagc.if (${MKLVM} != "no")
2051.28SyamtSUBDIR+= 	dm
2061.23Sagc.endif
2071.23Sagc
2081.39Sdarran.if (${MKDTRACE} != "no")
2091.39SdarranSUBDIR+=	dtrace
2101.39Sdarran.endif
2111.39Sdarran
2121.39Sdarran# we need solaris for the dtrace and zfs modules
2131.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2141.39SdarranSUBDIR+=        solaris
2151.39Sdarran.endif
2161.39Sdarran
2171.34Shaad.if (${MKZFS} != "no")
2181.34ShaadSUBDIR+=	zfs
2191.34Shaad.endif
2201.34Shaad
2211.73Smrg.if (${MKCOMPATMODULES} != "no")
2221.73SmrgSUBDIR+=	arch
2231.73Smrg.endif
2241.73Smrg
2251.84Sjmcneill#
2261.84Sjmcneill# DTV modules
2271.84Sjmcneill#
2281.84SjmcneillSUBDIR+=	dtv
2291.84SjmcneillSUBDIR+=	dtv_math
2301.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2311.84Sjmcneill# tuners/demods
2321.84SjmcneillSUBDIR+=	au8522
2331.84SjmcneillSUBDIR+=	cx24227
2341.84SjmcneillSUBDIR+=	lg3303
2351.84SjmcneillSUBDIR+=	mt2131
2361.84SjmcneillSUBDIR+=	nxt2k
2371.84SjmcneillSUBDIR+=	tvpll
2381.84SjmcneillSUBDIR+=	xc3028
2391.84SjmcneillSUBDIR+=	xc5k
2401.91SjruohoSUBDIR+=	zl10353
2411.84Sjmcneill# hardware drivers
2421.84SjmcneillSUBDIR+=	auvitek
2431.84SjmcneillSUBDIR+=	coram
2441.84SjmcneillSUBDIR+=	cxdtv
2451.84SjmcneillSUBDIR+=	emdtv
2461.84Sjmcneill.endif
2471.84Sjmcneill
2481.1Sad.include <bsd.subdir.mk>
249