Makefile revision 1.132
11.132Spgoyette#	$NetBSD: Makefile,v 1.132 2013/12/29 16:32:32 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.132SpgoyetteSUBDIR+=	ccd
131.7SrumbleSUBDIR+=	cd9660
141.129SpgoyetteSUBDIR+=	cgd
151.132SpgoyetteSUBDIR+=	chfs
161.7SrumbleSUBDIR+=	coda
171.7SrumbleSUBDIR+=	coda5
181.15SadSUBDIR+=	compat
191.15SadSUBDIR+=	compat_ossaudio
201.15SadSUBDIR+=	coredump
211.104SpgoyetteSUBDIR+=	dbcool
221.129SpgoyetteSUBDIR+=	dk_subr
231.7SrumbleSUBDIR+=	efs
241.7SrumbleSUBDIR+=	ext2fs
251.15SadSUBDIR+=	exec_script
261.7SrumbleSUBDIR+=	fdesc
271.7SrumbleSUBDIR+=	ffs
281.18SadSUBDIR+=	filecore
291.93SsjgSUBDIR+=	filemon
301.68SahokaSUBDIR+=	flash
311.15SadSUBDIR+=	fss
321.89SmbalmerSUBDIR+=	gpio
331.94SmbalmerSUBDIR+=	gpioiic
341.92SmbalmerSUBDIR+=	gpioow
351.89SmbalmerSUBDIR+=	gpiosim
361.7SrumbleSUBDIR+=	hfs
371.105SpgoyetteSUBDIR+=	if_axe
381.120SnonakaSUBDIR+=	if_axen
391.118SchristosSUBDIR+=	if_npflog
401.124SskrllSUBDIR+=	if_smsc
411.94SmbalmerSUBDIR+=	iic
421.7SrumbleSUBDIR+=	kernfs
431.22SadSUBDIR+=	layerfs
441.7SrumbleSUBDIR+=	lfs
451.121SmbalmerSUBDIR+=	lua
461.128SlnetoSUBDIR+=	luasystm
471.123SmbalmerSUBDIR+=	luapmf
481.7SrumbleSUBDIR+=	mfs
491.45SpgoyetteSUBDIR+=	miiverbose
501.45SpgoyetteSUBDIR+=	miniroot
511.31SrmindSUBDIR+=	mqueue
521.18SadSUBDIR+=	msdos
531.68SahokaSUBDIR+=	nand
541.68SahokaSUBDIR+=	nandemulator
551.15SadSUBDIR+=	nfs
561.15SadSUBDIR+=	nfsserver
571.30SreinoudSUBDIR+=	nilfs
581.96StronSUBDIR+=	npf
591.97StronSUBDIR+=	npf_alg_icmp
601.111SrmindSUBDIR+=	npf_ext_log
611.119SchristosSUBDIR+=	npf_ext_normalize
621.117SrmindSUBDIR+=	npf_ext_rndblock
631.7SrumbleSUBDIR+=	ntfs
641.18SadSUBDIR+=	null
651.92SmbalmerSUBDIR+=	onewire
661.7SrumbleSUBDIR+=	overlay
671.42SpgoyetteSUBDIR+=	pciverbose
681.41SahokaSUBDIR+=	pf
691.19ScubeSUBDIR+=	ppp_bsdcomp
701.19ScubeSUBDIR+=	ppp_deflate
711.7SrumbleSUBDIR+=	procfs
721.7SrumbleSUBDIR+=	ptyfs
731.7SrumbleSUBDIR+=	puffs
741.15SadSUBDIR+=	putter
751.44SpgoyetteSUBDIR+=	scsiverbose
761.103SpgoyetteSUBDIR+=	sdtemp
771.33SeladSUBDIR+=	secmodel_bsd44
781.100SjymSUBDIR+=	secmodel_extensions
791.33SeladSUBDIR+=	secmodel_overlay
801.33SeladSUBDIR+=	securelevel
811.7SrumbleSUBDIR+=	smbfs
821.81SpgoyetteSUBDIR+=	spdmem
831.24SpookaSUBDIR+=	sysvbfs
841.33SeladSUBDIR+=	suser
851.48SpgoyetteSUBDIR+=	swsensor
861.7SrumbleSUBDIR+=	tmpfs
871.108SriastradSUBDIR+=	uatp
881.7SrumbleSUBDIR+=	udf
891.18SadSUBDIR+=	umap
901.7SrumbleSUBDIR+=	union
911.43SpgoyetteSUBDIR+=	usbverbose
921.106SchristosSUBDIR+=	vcoda
931.78SenamiSUBDIR+=	v7fs
941.25ShaadSUBDIR+=	vnd
951.131SpgoyetteSUBDIR+=	zlib
961.29SyamtSUBDIR+=	tprof
971.7Srumble.if (defined(NOTYET))
981.7SrumbleSUBDIR+=	unionfs
991.7Srumble.endif
1001.37Sdyoung.if ${MKBINUTILS} != "no"
1011.37SdyoungSUBDIR+=	xldscripts
1021.37Sdyoung.endif
1031.7Srumble
1041.15Sad# Machine dependent section
1051.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
1061.49Stsutsui    ${MACHINE_CPU} == "m68k"
1071.47StsutsuiSUBDIR+=	exec_aout
1081.47Stsutsui.endif
1091.47Stsutsui
1101.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
1111.17SmartinSUBDIR+=	exec_elf32
1121.17Smartin.endif
1131.15Sad
1141.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1151.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1161.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1171.20SheSUBDIR+=	exec_elf64
1181.20She.endif
1191.20She
1201.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1211.29Syamt    ${MACHINE_ARCH} == "x86_64"
1221.71SjruohoSUBDIR+=	amdtemp
1231.64SjruohoSUBDIR+=	coretemp
1241.65SjruohoSUBDIR+=	est
1251.110SmartinSUBDIR+=	hdafg
1261.110SmartinSUBDIR+=	hdaudio
1271.72SjruohoSUBDIR+=	hpet
1281.69SjruohoSUBDIR+=	odcm
1291.66SjruohoSUBDIR+=	powernow
1301.29SyamtSUBDIR+=	tprof_pmi
1311.70SyamtSUBDIR+=	tprof_amdpmi
1321.95SjmcneillSUBDIR+=	vmt
1331.29Syamt.endif
1341.29Syamt
1351.126Salnsn.if ${MKSLJIT} != "no"
1361.126Salnsn# No modules for arm, mips and powerpc yet.
1371.114Salnsn.if ${MACHINE_ARCH} == "i386" || \
1381.115Salnsn    ${MACHINE_ARCH} == "x86_64" || \
1391.115Salnsn    ${MACHINE_ARCH} == "sparc"
1401.113SalnsnSUBDIR+=	bpfjit
1411.112SalnsnSUBDIR+=	sljit
1421.112Salnsn.endif
1431.126Salnsn.endif
1441.112Salnsn
1451.85Sjruoho#
1461.85Sjruoho# ACPI modules
1471.85Sjruoho#
1481.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1491.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1501.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1511.46SpgoyetteSUBDIR+=	acpiverbose
1521.46Spgoyette.endif
1531.46Spgoyette
1541.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1551.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1561.52SjruohoSUBDIR+=	acpiacad
1571.52SjruohoSUBDIR+=	acpibat
1581.52SjruohoSUBDIR+=	acpibut
1591.52SjruohoSUBDIR+=	acpicpu
1601.53SjruohoSUBDIR+=	acpidalb
1611.58SjruohoSUBDIR+=	acpifan
1621.52SjruohoSUBDIR+=	acpilid
1631.57SjruohoSUBDIR+=	acpipmtr
1641.53SjruohoSUBDIR+=	acpitz
1651.53SjruohoSUBDIR+=	acpivga
1661.86SjruohoSUBDIR+=	acpiwdrt
1671.51SjmcneillSUBDIR+=	acpiwmi
1681.53SjruohoSUBDIR+=	aibs
1691.54SjruohoSUBDIR+=	asus
1701.63SjruohoSUBDIR+=	fujbp
1711.63SjruohoSUBDIR+=	fujhk
1721.75SjruohoSUBDIR+=	hpacel
1731.54SjruohoSUBDIR+=	hpqlb
1741.52SjruohoSUBDIR+=	thinkpad
1751.50SjmcneillSUBDIR+=	wmidell
1761.83SjruohoSUBDIR+=	wmieeepc
1771.50SjmcneillSUBDIR+=	wmihp
1781.50SjmcneillSUBDIR+=	wmimsi
1791.50Sjmcneill.endif
1801.50Sjmcneill
1811.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1821.15SadSUBDIR+=	azalia
1831.15SadSUBDIR+=	compat_linux
1841.15SadSUBDIR+=	compat_linux32
1851.15SadSUBDIR+=	compat_netbsd32
1861.15SadSUBDIR+=	drm
1871.15SadSUBDIR+=	i915drm
1881.40SahokaSUBDIR+=	pad
1891.15Sad.endif
1901.15Sad
1911.27Sabs.if ${MACHINE_ARCH} == "i386"
1921.90SjmcneillSUBDIR+=	ati_pcigart
1931.15SadSUBDIR+=	azalia
1941.15SadSUBDIR+=	compat_freebsd
1951.15SadSUBDIR+=	compat_ibcs2
1961.15SadSUBDIR+=	compat_linux
1971.15SadSUBDIR+=	compat_svr4
1981.15SadSUBDIR+=	drm
1991.15SadSUBDIR+=	i915drm
2001.90SjmcneillSUBDIR+=	mach64drm
2011.90SjmcneillSUBDIR+=	mgadrm
2021.76SjmcneillSUBDIR+=	nsclpcsio
2031.40SahokaSUBDIR+=	pad
2041.62SjmcneillSUBDIR+=	padlock
2051.90SjmcneillSUBDIR+=	r128drm
2061.90SjmcneillSUBDIR+=	radeondrm
2071.90SjmcneillSUBDIR+=	savagedrm
2081.90SjmcneillSUBDIR+=	sisdrm
2091.90SjmcneillSUBDIR+=	tdfxdrm
2101.67SjruohoSUBDIR+=	viac7temp
2111.90SjmcneillSUBDIR+=	viadrm
2121.15Sad.endif
2131.15Sad
2141.85Sjruoho#
2151.85Sjruoho# ISA modules
2161.85Sjruoho#
2171.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2181.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2191.59SjmcneillSUBDIR+=	aps
2201.80SjmcneillSUBDIR+=	finsio
2211.79SjmcneillSUBDIR+=	itesio
2221.101SjakllschSUBDIR+=	lm
2231.101SjakllschSUBDIR+=	lm_isa
2241.101SjakllschSUBDIR+=	lm_isa_common
2251.101SjakllschSUBDIR+=	lm_wbsio
2261.101SjakllschSUBDIR+=	wbsio
2271.56Sjmcneill.endif
2281.56Sjmcneill
2291.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2301.47StsutsuiSUBDIR+=	compat_aoutm68k
2311.47Stsutsui#SUBDIR+=	compat_linux
2321.47Stsutsui#SUBDIR+=	compat_sunos
2331.47Stsutsui#SUBDIR+=	compat_svr4
2341.47Stsutsui.endif
2351.47Stsutsui
2361.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2371.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2381.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2391.88SmbalmerSUBDIR+=	pwdog
2401.88Smbalmer.endif
2411.88Smbalmer
2421.23Sagc.include <bsd.own.mk>
2431.23Sagc
2441.107Sreinoud#
2451.107Sreinoud# NetBSD/usermode support
2461.107Sreinoud#
2471.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2481.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2491.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2501.107Sreinoud.endif
2511.107Sreinoud
2521.23Sagc# we need our device mapper for LVM
2531.23Sagc.if (${MKLVM} != "no")
2541.28SyamtSUBDIR+= 	dm
2551.23Sagc.endif
2561.23Sagc
2571.39Sdarran.if (${MKDTRACE} != "no")
2581.116SchsSUBDIR+=	cyclic
2591.39SdarranSUBDIR+=	dtrace
2601.39Sdarran.endif
2611.39Sdarran
2621.39Sdarran# we need solaris for the dtrace and zfs modules
2631.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2641.39SdarranSUBDIR+=        solaris
2651.39Sdarran.endif
2661.39Sdarran
2671.34Shaad.if (${MKZFS} != "no")
2681.34ShaadSUBDIR+=	zfs
2691.34Shaad.endif
2701.34Shaad
2711.73Smrg.if (${MKCOMPATMODULES} != "no")
2721.73SmrgSUBDIR+=	arch
2731.73Smrg.endif
2741.73Smrg
2751.84Sjmcneill#
2761.84Sjmcneill# DTV modules
2771.84Sjmcneill#
2781.84SjmcneillSUBDIR+=	dtv
2791.84SjmcneillSUBDIR+=	dtv_math
2801.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2811.84Sjmcneill# tuners/demods
2821.84SjmcneillSUBDIR+=	au8522
2831.84SjmcneillSUBDIR+=	cx24227
2841.84SjmcneillSUBDIR+=	lg3303
2851.84SjmcneillSUBDIR+=	mt2131
2861.84SjmcneillSUBDIR+=	nxt2k
2871.84SjmcneillSUBDIR+=	tvpll
2881.84SjmcneillSUBDIR+=	xc3028
2891.84SjmcneillSUBDIR+=	xc5k
2901.91SjruohoSUBDIR+=	zl10353
2911.84Sjmcneill# hardware drivers
2921.84SjmcneillSUBDIR+=	auvitek
2931.84SjmcneillSUBDIR+=	coram
2941.84SjmcneillSUBDIR+=	cxdtv
2951.84SjmcneillSUBDIR+=	emdtv
2961.84Sjmcneill.endif
2971.84Sjmcneill
2981.98Sriz.if (${MKISCSI} != "no")
2991.98SrizSUBDIR+=	iscsi
3001.98Sriz.endif
3011.98Sriz
3021.1Sad.include <bsd.subdir.mk>
303