Makefile revision 1.133
11.133Spgoyette#	$NetBSD: Makefile,v 1.133 2014/01/01 15:18:57 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.133SpgoyetteSUBDIR+=	blowfish
121.38SpookaSUBDIR+=	bpf
131.133SpgoyetteSUBDIR+=	camellia
141.133SpgoyetteSUBDIR+=	cast128
151.132SpgoyetteSUBDIR+=	ccd
161.7SrumbleSUBDIR+=	cd9660
171.129SpgoyetteSUBDIR+=	cgd
181.132SpgoyetteSUBDIR+=	chfs
191.7SrumbleSUBDIR+=	coda
201.7SrumbleSUBDIR+=	coda5
211.15SadSUBDIR+=	compat
221.15SadSUBDIR+=	compat_ossaudio
231.15SadSUBDIR+=	coredump
241.104SpgoyetteSUBDIR+=	dbcool
251.133SpgoyetteSUBDIR+=	des
261.129SpgoyetteSUBDIR+=	dk_subr
271.7SrumbleSUBDIR+=	efs
281.7SrumbleSUBDIR+=	ext2fs
291.15SadSUBDIR+=	exec_script
301.7SrumbleSUBDIR+=	fdesc
311.7SrumbleSUBDIR+=	ffs
321.18SadSUBDIR+=	filecore
331.93SsjgSUBDIR+=	filemon
341.68SahokaSUBDIR+=	flash
351.15SadSUBDIR+=	fss
361.89SmbalmerSUBDIR+=	gpio
371.94SmbalmerSUBDIR+=	gpioiic
381.92SmbalmerSUBDIR+=	gpioow
391.89SmbalmerSUBDIR+=	gpiosim
401.7SrumbleSUBDIR+=	hfs
411.105SpgoyetteSUBDIR+=	if_axe
421.120SnonakaSUBDIR+=	if_axen
431.118SchristosSUBDIR+=	if_npflog
441.124SskrllSUBDIR+=	if_smsc
451.94SmbalmerSUBDIR+=	iic
461.7SrumbleSUBDIR+=	kernfs
471.22SadSUBDIR+=	layerfs
481.7SrumbleSUBDIR+=	lfs
491.121SmbalmerSUBDIR+=	lua
501.128SlnetoSUBDIR+=	luasystm
511.123SmbalmerSUBDIR+=	luapmf
521.7SrumbleSUBDIR+=	mfs
531.45SpgoyetteSUBDIR+=	miiverbose
541.45SpgoyetteSUBDIR+=	miniroot
551.31SrmindSUBDIR+=	mqueue
561.18SadSUBDIR+=	msdos
571.68SahokaSUBDIR+=	nand
581.68SahokaSUBDIR+=	nandemulator
591.15SadSUBDIR+=	nfs
601.15SadSUBDIR+=	nfsserver
611.30SreinoudSUBDIR+=	nilfs
621.96StronSUBDIR+=	npf
631.97StronSUBDIR+=	npf_alg_icmp
641.111SrmindSUBDIR+=	npf_ext_log
651.119SchristosSUBDIR+=	npf_ext_normalize
661.117SrmindSUBDIR+=	npf_ext_rndblock
671.7SrumbleSUBDIR+=	ntfs
681.18SadSUBDIR+=	null
691.92SmbalmerSUBDIR+=	onewire
701.7SrumbleSUBDIR+=	overlay
711.42SpgoyetteSUBDIR+=	pciverbose
721.41SahokaSUBDIR+=	pf
731.19ScubeSUBDIR+=	ppp_bsdcomp
741.19ScubeSUBDIR+=	ppp_deflate
751.7SrumbleSUBDIR+=	procfs
761.7SrumbleSUBDIR+=	ptyfs
771.7SrumbleSUBDIR+=	puffs
781.15SadSUBDIR+=	putter
791.44SpgoyetteSUBDIR+=	scsiverbose
801.103SpgoyetteSUBDIR+=	sdtemp
811.33SeladSUBDIR+=	secmodel_bsd44
821.100SjymSUBDIR+=	secmodel_extensions
831.33SeladSUBDIR+=	secmodel_overlay
841.33SeladSUBDIR+=	securelevel
851.133SpgoyetteSUBDIR+=	skipjack
861.7SrumbleSUBDIR+=	smbfs
871.81SpgoyetteSUBDIR+=	spdmem
881.24SpookaSUBDIR+=	sysvbfs
891.33SeladSUBDIR+=	suser
901.48SpgoyetteSUBDIR+=	swsensor
911.7SrumbleSUBDIR+=	tmpfs
921.108SriastradSUBDIR+=	uatp
931.7SrumbleSUBDIR+=	udf
941.18SadSUBDIR+=	umap
951.7SrumbleSUBDIR+=	union
961.43SpgoyetteSUBDIR+=	usbverbose
971.106SchristosSUBDIR+=	vcoda
981.78SenamiSUBDIR+=	v7fs
991.25ShaadSUBDIR+=	vnd
1001.131SpgoyetteSUBDIR+=	zlib
1011.29SyamtSUBDIR+=	tprof
1021.7Srumble.if (defined(NOTYET))
1031.7SrumbleSUBDIR+=	unionfs
1041.7Srumble.endif
1051.37Sdyoung.if ${MKBINUTILS} != "no"
1061.37SdyoungSUBDIR+=	xldscripts
1071.37Sdyoung.endif
1081.7Srumble
1091.15Sad# Machine dependent section
1101.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
1111.49Stsutsui    ${MACHINE_CPU} == "m68k"
1121.47StsutsuiSUBDIR+=	exec_aout
1131.47Stsutsui.endif
1141.47Stsutsui
1151.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
1161.17SmartinSUBDIR+=	exec_elf32
1171.17Smartin.endif
1181.15Sad
1191.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1201.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1211.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1221.20SheSUBDIR+=	exec_elf64
1231.20She.endif
1241.20She
1251.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1261.29Syamt    ${MACHINE_ARCH} == "x86_64"
1271.71SjruohoSUBDIR+=	amdtemp
1281.64SjruohoSUBDIR+=	coretemp
1291.65SjruohoSUBDIR+=	est
1301.110SmartinSUBDIR+=	hdafg
1311.110SmartinSUBDIR+=	hdaudio
1321.72SjruohoSUBDIR+=	hpet
1331.69SjruohoSUBDIR+=	odcm
1341.66SjruohoSUBDIR+=	powernow
1351.29SyamtSUBDIR+=	tprof_pmi
1361.70SyamtSUBDIR+=	tprof_amdpmi
1371.95SjmcneillSUBDIR+=	vmt
1381.29Syamt.endif
1391.29Syamt
1401.126Salnsn.if ${MKSLJIT} != "no"
1411.126Salnsn# No modules for arm, mips and powerpc yet.
1421.114Salnsn.if ${MACHINE_ARCH} == "i386" || \
1431.115Salnsn    ${MACHINE_ARCH} == "x86_64" || \
1441.115Salnsn    ${MACHINE_ARCH} == "sparc"
1451.113SalnsnSUBDIR+=	bpfjit
1461.112SalnsnSUBDIR+=	sljit
1471.112Salnsn.endif
1481.126Salnsn.endif
1491.112Salnsn
1501.85Sjruoho#
1511.85Sjruoho# ACPI modules
1521.85Sjruoho#
1531.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1541.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1551.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1561.46SpgoyetteSUBDIR+=	acpiverbose
1571.46Spgoyette.endif
1581.46Spgoyette
1591.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1601.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1611.52SjruohoSUBDIR+=	acpiacad
1621.52SjruohoSUBDIR+=	acpibat
1631.52SjruohoSUBDIR+=	acpibut
1641.52SjruohoSUBDIR+=	acpicpu
1651.53SjruohoSUBDIR+=	acpidalb
1661.58SjruohoSUBDIR+=	acpifan
1671.52SjruohoSUBDIR+=	acpilid
1681.57SjruohoSUBDIR+=	acpipmtr
1691.53SjruohoSUBDIR+=	acpitz
1701.53SjruohoSUBDIR+=	acpivga
1711.86SjruohoSUBDIR+=	acpiwdrt
1721.51SjmcneillSUBDIR+=	acpiwmi
1731.53SjruohoSUBDIR+=	aibs
1741.54SjruohoSUBDIR+=	asus
1751.63SjruohoSUBDIR+=	fujbp
1761.63SjruohoSUBDIR+=	fujhk
1771.75SjruohoSUBDIR+=	hpacel
1781.54SjruohoSUBDIR+=	hpqlb
1791.52SjruohoSUBDIR+=	thinkpad
1801.50SjmcneillSUBDIR+=	wmidell
1811.83SjruohoSUBDIR+=	wmieeepc
1821.50SjmcneillSUBDIR+=	wmihp
1831.50SjmcneillSUBDIR+=	wmimsi
1841.50Sjmcneill.endif
1851.50Sjmcneill
1861.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1871.15SadSUBDIR+=	azalia
1881.15SadSUBDIR+=	compat_linux
1891.15SadSUBDIR+=	compat_linux32
1901.15SadSUBDIR+=	compat_netbsd32
1911.15SadSUBDIR+=	drm
1921.15SadSUBDIR+=	i915drm
1931.40SahokaSUBDIR+=	pad
1941.15Sad.endif
1951.15Sad
1961.27Sabs.if ${MACHINE_ARCH} == "i386"
1971.90SjmcneillSUBDIR+=	ati_pcigart
1981.15SadSUBDIR+=	azalia
1991.15SadSUBDIR+=	compat_freebsd
2001.15SadSUBDIR+=	compat_ibcs2
2011.15SadSUBDIR+=	compat_linux
2021.15SadSUBDIR+=	compat_svr4
2031.15SadSUBDIR+=	drm
2041.15SadSUBDIR+=	i915drm
2051.90SjmcneillSUBDIR+=	mach64drm
2061.90SjmcneillSUBDIR+=	mgadrm
2071.76SjmcneillSUBDIR+=	nsclpcsio
2081.40SahokaSUBDIR+=	pad
2091.62SjmcneillSUBDIR+=	padlock
2101.90SjmcneillSUBDIR+=	r128drm
2111.90SjmcneillSUBDIR+=	radeondrm
2121.90SjmcneillSUBDIR+=	savagedrm
2131.90SjmcneillSUBDIR+=	sisdrm
2141.90SjmcneillSUBDIR+=	tdfxdrm
2151.67SjruohoSUBDIR+=	viac7temp
2161.90SjmcneillSUBDIR+=	viadrm
2171.15Sad.endif
2181.15Sad
2191.85Sjruoho#
2201.85Sjruoho# ISA modules
2211.85Sjruoho#
2221.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2231.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2241.59SjmcneillSUBDIR+=	aps
2251.80SjmcneillSUBDIR+=	finsio
2261.79SjmcneillSUBDIR+=	itesio
2271.101SjakllschSUBDIR+=	lm
2281.101SjakllschSUBDIR+=	lm_isa
2291.101SjakllschSUBDIR+=	lm_isa_common
2301.101SjakllschSUBDIR+=	lm_wbsio
2311.101SjakllschSUBDIR+=	wbsio
2321.56Sjmcneill.endif
2331.56Sjmcneill
2341.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2351.47StsutsuiSUBDIR+=	compat_aoutm68k
2361.47Stsutsui#SUBDIR+=	compat_linux
2371.47Stsutsui#SUBDIR+=	compat_sunos
2381.47Stsutsui#SUBDIR+=	compat_svr4
2391.47Stsutsui.endif
2401.47Stsutsui
2411.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2421.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2431.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2441.88SmbalmerSUBDIR+=	pwdog
2451.88Smbalmer.endif
2461.88Smbalmer
2471.23Sagc.include <bsd.own.mk>
2481.23Sagc
2491.107Sreinoud#
2501.107Sreinoud# NetBSD/usermode support
2511.107Sreinoud#
2521.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2531.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2541.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2551.107Sreinoud.endif
2561.107Sreinoud
2571.23Sagc# we need our device mapper for LVM
2581.23Sagc.if (${MKLVM} != "no")
2591.28SyamtSUBDIR+= 	dm
2601.23Sagc.endif
2611.23Sagc
2621.39Sdarran.if (${MKDTRACE} != "no")
2631.116SchsSUBDIR+=	cyclic
2641.39SdarranSUBDIR+=	dtrace
2651.39Sdarran.endif
2661.39Sdarran
2671.39Sdarran# we need solaris for the dtrace and zfs modules
2681.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2691.39SdarranSUBDIR+=        solaris
2701.39Sdarran.endif
2711.39Sdarran
2721.34Shaad.if (${MKZFS} != "no")
2731.34ShaadSUBDIR+=	zfs
2741.34Shaad.endif
2751.34Shaad
2761.73Smrg.if (${MKCOMPATMODULES} != "no")
2771.73SmrgSUBDIR+=	arch
2781.73Smrg.endif
2791.73Smrg
2801.84Sjmcneill#
2811.84Sjmcneill# DTV modules
2821.84Sjmcneill#
2831.84SjmcneillSUBDIR+=	dtv
2841.84SjmcneillSUBDIR+=	dtv_math
2851.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2861.84Sjmcneill# tuners/demods
2871.84SjmcneillSUBDIR+=	au8522
2881.84SjmcneillSUBDIR+=	cx24227
2891.84SjmcneillSUBDIR+=	lg3303
2901.84SjmcneillSUBDIR+=	mt2131
2911.84SjmcneillSUBDIR+=	nxt2k
2921.84SjmcneillSUBDIR+=	tvpll
2931.84SjmcneillSUBDIR+=	xc3028
2941.84SjmcneillSUBDIR+=	xc5k
2951.91SjruohoSUBDIR+=	zl10353
2961.84Sjmcneill# hardware drivers
2971.84SjmcneillSUBDIR+=	auvitek
2981.84SjmcneillSUBDIR+=	coram
2991.84SjmcneillSUBDIR+=	cxdtv
3001.84SjmcneillSUBDIR+=	emdtv
3011.84Sjmcneill.endif
3021.84Sjmcneill
3031.98Sriz.if (${MKISCSI} != "no")
3041.98SrizSUBDIR+=	iscsi
3051.98Sriz.endif
3061.98Sriz
3071.1Sad.include <bsd.subdir.mk>
308