Makefile revision 1.105
11.105Spgoyette#	$NetBSD: Makefile,v 1.105 2012/04/25 13:55:17 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.99SahokaSUBDIR+=	chfs
191.104SpgoyetteSUBDIR+=	dbcool
201.7SrumbleSUBDIR+=	efs
211.7SrumbleSUBDIR+=	ext2fs
221.15SadSUBDIR+=	exec_script
231.7SrumbleSUBDIR+=	fdesc
241.7SrumbleSUBDIR+=	ffs
251.18SadSUBDIR+=	filecore
261.93SsjgSUBDIR+=	filemon
271.68SahokaSUBDIR+=	flash
281.15SadSUBDIR+=	fss
291.89SmbalmerSUBDIR+=	gpio
301.94SmbalmerSUBDIR+=	gpioiic
311.92SmbalmerSUBDIR+=	gpioow
321.89SmbalmerSUBDIR+=	gpiosim
331.7SrumbleSUBDIR+=	hfs
341.105SpgoyetteSUBDIR+=	if_axe
351.94SmbalmerSUBDIR+=	iic
361.7SrumbleSUBDIR+=	kernfs
371.22SadSUBDIR+=	layerfs
381.7SrumbleSUBDIR+=	lfs
391.7SrumbleSUBDIR+=	mfs
401.45SpgoyetteSUBDIR+=	miiverbose
411.45SpgoyetteSUBDIR+=	miniroot
421.31SrmindSUBDIR+=	mqueue
431.18SadSUBDIR+=	msdos
441.68SahokaSUBDIR+=	nand
451.68SahokaSUBDIR+=	nandemulator
461.15SadSUBDIR+=	nfs
471.15SadSUBDIR+=	nfsserver
481.30SreinoudSUBDIR+=	nilfs
491.96StronSUBDIR+=	npf
501.97StronSUBDIR+=	npf_alg_icmp
511.7SrumbleSUBDIR+=	ntfs
521.18SadSUBDIR+=	null
531.92SmbalmerSUBDIR+=	onewire
541.7SrumbleSUBDIR+=	overlay
551.42SpgoyetteSUBDIR+=	pciverbose
561.41SahokaSUBDIR+=	pf
571.19ScubeSUBDIR+=	ppp_bsdcomp
581.19ScubeSUBDIR+=	ppp_deflate
591.7SrumbleSUBDIR+=	procfs
601.7SrumbleSUBDIR+=	ptyfs
611.7SrumbleSUBDIR+=	puffs
621.15SadSUBDIR+=	putter
631.44SpgoyetteSUBDIR+=	scsiverbose
641.103SpgoyetteSUBDIR+=	sdtemp
651.33SeladSUBDIR+=	secmodel_bsd44
661.100SjymSUBDIR+=	secmodel_extensions
671.33SeladSUBDIR+=	secmodel_overlay
681.33SeladSUBDIR+=	securelevel
691.7SrumbleSUBDIR+=	smbfs
701.81SpgoyetteSUBDIR+=	spdmem
711.24SpookaSUBDIR+=	sysvbfs
721.33SeladSUBDIR+=	suser
731.48SpgoyetteSUBDIR+=	swsensor
741.7SrumbleSUBDIR+=	tmpfs
751.7SrumbleSUBDIR+=	udf
761.18SadSUBDIR+=	umap
771.7SrumbleSUBDIR+=	union
781.43SpgoyetteSUBDIR+=	usbverbose
791.78SenamiSUBDIR+=	v7fs
801.25ShaadSUBDIR+=	vnd
811.29SyamtSUBDIR+=	tprof
821.7Srumble.if (defined(NOTYET))
831.7SrumbleSUBDIR+=	unionfs
841.7Srumble.endif
851.37Sdyoung.if ${MKBINUTILS} != "no"
861.37SdyoungSUBDIR+=	xldscripts
871.37Sdyoung.endif
881.7Srumble
891.15Sad# Machine dependent section
901.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
911.49Stsutsui    ${MACHINE_CPU} == "m68k"
921.47StsutsuiSUBDIR+=	exec_aout
931.47Stsutsui.endif
941.47Stsutsui
951.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
961.17SmartinSUBDIR+=	exec_elf32
971.17Smartin.endif
981.15Sad
991.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1001.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1011.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1021.20SheSUBDIR+=	exec_elf64
1031.20She.endif
1041.20She
1051.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1061.29Syamt    ${MACHINE_ARCH} == "x86_64"
1071.71SjruohoSUBDIR+=	amdtemp
1081.64SjruohoSUBDIR+=	coretemp
1091.65SjruohoSUBDIR+=	est
1101.72SjruohoSUBDIR+=	hpet
1111.69SjruohoSUBDIR+=	odcm
1121.66SjruohoSUBDIR+=	powernow
1131.29SyamtSUBDIR+=	tprof_pmi
1141.70SyamtSUBDIR+=	tprof_amdpmi
1151.95SjmcneillSUBDIR+=	vmt
1161.29Syamt.endif
1171.29Syamt
1181.85Sjruoho#
1191.85Sjruoho# ACPI modules
1201.85Sjruoho#
1211.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1221.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1231.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1241.46SpgoyetteSUBDIR+=	acpiverbose
1251.46Spgoyette.endif
1261.46Spgoyette
1271.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1281.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1291.52SjruohoSUBDIR+=	acpiacad
1301.52SjruohoSUBDIR+=	acpibat
1311.52SjruohoSUBDIR+=	acpibut
1321.52SjruohoSUBDIR+=	acpicpu
1331.53SjruohoSUBDIR+=	acpidalb
1341.58SjruohoSUBDIR+=	acpifan
1351.52SjruohoSUBDIR+=	acpilid
1361.57SjruohoSUBDIR+=	acpipmtr
1371.53SjruohoSUBDIR+=	acpitz
1381.53SjruohoSUBDIR+=	acpivga
1391.86SjruohoSUBDIR+=	acpiwdrt
1401.51SjmcneillSUBDIR+=	acpiwmi
1411.53SjruohoSUBDIR+=	aibs
1421.54SjruohoSUBDIR+=	asus
1431.63SjruohoSUBDIR+=	fujbp
1441.63SjruohoSUBDIR+=	fujhk
1451.75SjruohoSUBDIR+=	hpacel
1461.54SjruohoSUBDIR+=	hpqlb
1471.52SjruohoSUBDIR+=	thinkpad
1481.50SjmcneillSUBDIR+=	wmidell
1491.83SjruohoSUBDIR+=	wmieeepc
1501.50SjmcneillSUBDIR+=	wmihp
1511.50SjmcneillSUBDIR+=	wmimsi
1521.50Sjmcneill.endif
1531.50Sjmcneill
1541.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1551.15SadSUBDIR+=	azalia
1561.15SadSUBDIR+=	compat_linux
1571.15SadSUBDIR+=	compat_linux32
1581.15SadSUBDIR+=	compat_netbsd32
1591.15SadSUBDIR+=	drm
1601.15SadSUBDIR+=	i915drm
1611.40SahokaSUBDIR+=	pad
1621.15Sad.endif
1631.15Sad
1641.27Sabs.if ${MACHINE_ARCH} == "i386"
1651.90SjmcneillSUBDIR+=	ati_pcigart
1661.15SadSUBDIR+=	azalia
1671.15SadSUBDIR+=	compat_freebsd
1681.15SadSUBDIR+=	compat_ibcs2
1691.15SadSUBDIR+=	compat_linux
1701.15SadSUBDIR+=	compat_svr4
1711.15SadSUBDIR+=	drm
1721.15SadSUBDIR+=	i915drm
1731.90SjmcneillSUBDIR+=	mach64drm
1741.90SjmcneillSUBDIR+=	mgadrm
1751.76SjmcneillSUBDIR+=	nsclpcsio
1761.40SahokaSUBDIR+=	pad
1771.62SjmcneillSUBDIR+=	padlock
1781.90SjmcneillSUBDIR+=	r128drm
1791.90SjmcneillSUBDIR+=	radeondrm
1801.90SjmcneillSUBDIR+=	savagedrm
1811.90SjmcneillSUBDIR+=	sisdrm
1821.90SjmcneillSUBDIR+=	tdfxdrm
1831.67SjruohoSUBDIR+=	viac7temp
1841.90SjmcneillSUBDIR+=	viadrm
1851.15Sad.endif
1861.15Sad
1871.85Sjruoho#
1881.85Sjruoho# ISA modules
1891.85Sjruoho#
1901.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1911.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1921.59SjmcneillSUBDIR+=	aps
1931.80SjmcneillSUBDIR+=	finsio
1941.79SjmcneillSUBDIR+=	itesio
1951.101SjakllschSUBDIR+=	lm
1961.101SjakllschSUBDIR+=	lm_isa
1971.101SjakllschSUBDIR+=	lm_isa_common
1981.101SjakllschSUBDIR+=	lm_wbsio
1991.101SjakllschSUBDIR+=	wbsio
2001.56Sjmcneill.endif
2011.56Sjmcneill
2021.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2031.47StsutsuiSUBDIR+=	compat_aoutm68k
2041.47Stsutsui#SUBDIR+=	compat_linux
2051.47Stsutsui#SUBDIR+=	compat_sunos
2061.47Stsutsui#SUBDIR+=	compat_svr4
2071.47Stsutsui.endif
2081.47Stsutsui
2091.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2101.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2111.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2121.88SmbalmerSUBDIR+=	pwdog
2131.88Smbalmer.endif
2141.88Smbalmer
2151.23Sagc.include <bsd.own.mk>
2161.23Sagc
2171.23Sagc# we need our device mapper for LVM
2181.23Sagc.if (${MKLVM} != "no")
2191.28SyamtSUBDIR+= 	dm
2201.23Sagc.endif
2211.23Sagc
2221.39Sdarran.if (${MKDTRACE} != "no")
2231.39SdarranSUBDIR+=	dtrace
2241.39Sdarran.endif
2251.39Sdarran
2261.39Sdarran# we need solaris for the dtrace and zfs modules
2271.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2281.39SdarranSUBDIR+=        solaris
2291.39Sdarran.endif
2301.39Sdarran
2311.34Shaad.if (${MKZFS} != "no")
2321.34ShaadSUBDIR+=	zfs
2331.34Shaad.endif
2341.34Shaad
2351.73Smrg.if (${MKCOMPATMODULES} != "no")
2361.73SmrgSUBDIR+=	arch
2371.73Smrg.endif
2381.73Smrg
2391.84Sjmcneill#
2401.84Sjmcneill# DTV modules
2411.84Sjmcneill#
2421.84SjmcneillSUBDIR+=	dtv
2431.84SjmcneillSUBDIR+=	dtv_math
2441.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2451.84Sjmcneill# tuners/demods
2461.84SjmcneillSUBDIR+=	au8522
2471.84SjmcneillSUBDIR+=	cx24227
2481.84SjmcneillSUBDIR+=	lg3303
2491.84SjmcneillSUBDIR+=	mt2131
2501.84SjmcneillSUBDIR+=	nxt2k
2511.84SjmcneillSUBDIR+=	tvpll
2521.84SjmcneillSUBDIR+=	xc3028
2531.84SjmcneillSUBDIR+=	xc5k
2541.91SjruohoSUBDIR+=	zl10353
2551.84Sjmcneill# hardware drivers
2561.84SjmcneillSUBDIR+=	auvitek
2571.84SjmcneillSUBDIR+=	coram
2581.84SjmcneillSUBDIR+=	cxdtv
2591.84SjmcneillSUBDIR+=	emdtv
2601.84Sjmcneill.endif
2611.84Sjmcneill
2621.98Sriz.if (${MKISCSI} != "no")
2631.98SrizSUBDIR+=	iscsi
2641.98Sriz.endif
2651.98Sriz
2661.1Sad.include <bsd.subdir.mk>
267