Makefile revision 1.123
11.123Smbalmer#	$NetBSD: Makefile,v 1.123 2013/10/28 20:32:14 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.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.120SnonakaSUBDIR+=	if_axen
361.118SchristosSUBDIR+=	if_npflog
371.94SmbalmerSUBDIR+=	iic
381.7SrumbleSUBDIR+=	kernfs
391.22SadSUBDIR+=	layerfs
401.7SrumbleSUBDIR+=	lfs
411.121SmbalmerSUBDIR+=	lua
421.122SmbalmerSUBDIR+=	luacore
431.123SmbalmerSUBDIR+=	luapmf
441.7SrumbleSUBDIR+=	mfs
451.45SpgoyetteSUBDIR+=	miiverbose
461.45SpgoyetteSUBDIR+=	miniroot
471.31SrmindSUBDIR+=	mqueue
481.18SadSUBDIR+=	msdos
491.68SahokaSUBDIR+=	nand
501.68SahokaSUBDIR+=	nandemulator
511.15SadSUBDIR+=	nfs
521.15SadSUBDIR+=	nfsserver
531.30SreinoudSUBDIR+=	nilfs
541.96StronSUBDIR+=	npf
551.97StronSUBDIR+=	npf_alg_icmp
561.111SrmindSUBDIR+=	npf_ext_log
571.119SchristosSUBDIR+=	npf_ext_normalize
581.117SrmindSUBDIR+=	npf_ext_rndblock
591.7SrumbleSUBDIR+=	ntfs
601.18SadSUBDIR+=	null
611.92SmbalmerSUBDIR+=	onewire
621.7SrumbleSUBDIR+=	overlay
631.42SpgoyetteSUBDIR+=	pciverbose
641.41SahokaSUBDIR+=	pf
651.19ScubeSUBDIR+=	ppp_bsdcomp
661.19ScubeSUBDIR+=	ppp_deflate
671.7SrumbleSUBDIR+=	procfs
681.7SrumbleSUBDIR+=	ptyfs
691.7SrumbleSUBDIR+=	puffs
701.15SadSUBDIR+=	putter
711.44SpgoyetteSUBDIR+=	scsiverbose
721.103SpgoyetteSUBDIR+=	sdtemp
731.33SeladSUBDIR+=	secmodel_bsd44
741.100SjymSUBDIR+=	secmodel_extensions
751.33SeladSUBDIR+=	secmodel_overlay
761.33SeladSUBDIR+=	securelevel
771.7SrumbleSUBDIR+=	smbfs
781.81SpgoyetteSUBDIR+=	spdmem
791.24SpookaSUBDIR+=	sysvbfs
801.33SeladSUBDIR+=	suser
811.48SpgoyetteSUBDIR+=	swsensor
821.7SrumbleSUBDIR+=	tmpfs
831.108SriastradSUBDIR+=	uatp
841.7SrumbleSUBDIR+=	udf
851.18SadSUBDIR+=	umap
861.7SrumbleSUBDIR+=	union
871.43SpgoyetteSUBDIR+=	usbverbose
881.106SchristosSUBDIR+=	vcoda
891.78SenamiSUBDIR+=	v7fs
901.25ShaadSUBDIR+=	vnd
911.29SyamtSUBDIR+=	tprof
921.7Srumble.if (defined(NOTYET))
931.7SrumbleSUBDIR+=	unionfs
941.7Srumble.endif
951.37Sdyoung.if ${MKBINUTILS} != "no"
961.37SdyoungSUBDIR+=	xldscripts
971.37Sdyoung.endif
981.7Srumble
991.15Sad# Machine dependent section
1001.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
1011.49Stsutsui    ${MACHINE_CPU} == "m68k"
1021.47StsutsuiSUBDIR+=	exec_aout
1031.47Stsutsui.endif
1041.47Stsutsui
1051.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
1061.17SmartinSUBDIR+=	exec_elf32
1071.17Smartin.endif
1081.15Sad
1091.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1101.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1111.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1121.20SheSUBDIR+=	exec_elf64
1131.20She.endif
1141.20She
1151.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1161.29Syamt    ${MACHINE_ARCH} == "x86_64"
1171.71SjruohoSUBDIR+=	amdtemp
1181.64SjruohoSUBDIR+=	coretemp
1191.65SjruohoSUBDIR+=	est
1201.110SmartinSUBDIR+=	hdafg
1211.110SmartinSUBDIR+=	hdaudio
1221.72SjruohoSUBDIR+=	hpet
1231.69SjruohoSUBDIR+=	odcm
1241.66SjruohoSUBDIR+=	powernow
1251.29SyamtSUBDIR+=	tprof_pmi
1261.70SyamtSUBDIR+=	tprof_amdpmi
1271.95SjmcneillSUBDIR+=	vmt
1281.29Syamt.endif
1291.29Syamt
1301.114Salnsn.if ${MACHINE_ARCH} == "i386" || \
1311.115Salnsn    ${MACHINE_ARCH} == "x86_64" || \
1321.115Salnsn    ${MACHINE_ARCH} == "sparc"
1331.113SalnsnSUBDIR+=	bpfjit
1341.112SalnsnSUBDIR+=	sljit
1351.112Salnsn.endif
1361.112Salnsn
1371.85Sjruoho#
1381.85Sjruoho# ACPI modules
1391.85Sjruoho#
1401.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1411.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1421.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1431.46SpgoyetteSUBDIR+=	acpiverbose
1441.46Spgoyette.endif
1451.46Spgoyette
1461.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1471.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1481.52SjruohoSUBDIR+=	acpiacad
1491.52SjruohoSUBDIR+=	acpibat
1501.52SjruohoSUBDIR+=	acpibut
1511.52SjruohoSUBDIR+=	acpicpu
1521.53SjruohoSUBDIR+=	acpidalb
1531.58SjruohoSUBDIR+=	acpifan
1541.52SjruohoSUBDIR+=	acpilid
1551.57SjruohoSUBDIR+=	acpipmtr
1561.53SjruohoSUBDIR+=	acpitz
1571.53SjruohoSUBDIR+=	acpivga
1581.86SjruohoSUBDIR+=	acpiwdrt
1591.51SjmcneillSUBDIR+=	acpiwmi
1601.53SjruohoSUBDIR+=	aibs
1611.54SjruohoSUBDIR+=	asus
1621.63SjruohoSUBDIR+=	fujbp
1631.63SjruohoSUBDIR+=	fujhk
1641.75SjruohoSUBDIR+=	hpacel
1651.54SjruohoSUBDIR+=	hpqlb
1661.52SjruohoSUBDIR+=	thinkpad
1671.50SjmcneillSUBDIR+=	wmidell
1681.83SjruohoSUBDIR+=	wmieeepc
1691.50SjmcneillSUBDIR+=	wmihp
1701.50SjmcneillSUBDIR+=	wmimsi
1711.50Sjmcneill.endif
1721.50Sjmcneill
1731.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1741.15SadSUBDIR+=	azalia
1751.15SadSUBDIR+=	compat_linux
1761.15SadSUBDIR+=	compat_linux32
1771.15SadSUBDIR+=	compat_netbsd32
1781.15SadSUBDIR+=	drm
1791.15SadSUBDIR+=	i915drm
1801.40SahokaSUBDIR+=	pad
1811.15Sad.endif
1821.15Sad
1831.27Sabs.if ${MACHINE_ARCH} == "i386"
1841.90SjmcneillSUBDIR+=	ati_pcigart
1851.15SadSUBDIR+=	azalia
1861.15SadSUBDIR+=	compat_freebsd
1871.15SadSUBDIR+=	compat_ibcs2
1881.15SadSUBDIR+=	compat_linux
1891.15SadSUBDIR+=	compat_svr4
1901.15SadSUBDIR+=	drm
1911.15SadSUBDIR+=	i915drm
1921.90SjmcneillSUBDIR+=	mach64drm
1931.90SjmcneillSUBDIR+=	mgadrm
1941.76SjmcneillSUBDIR+=	nsclpcsio
1951.40SahokaSUBDIR+=	pad
1961.62SjmcneillSUBDIR+=	padlock
1971.90SjmcneillSUBDIR+=	r128drm
1981.90SjmcneillSUBDIR+=	radeondrm
1991.90SjmcneillSUBDIR+=	savagedrm
2001.90SjmcneillSUBDIR+=	sisdrm
2011.90SjmcneillSUBDIR+=	tdfxdrm
2021.67SjruohoSUBDIR+=	viac7temp
2031.90SjmcneillSUBDIR+=	viadrm
2041.15Sad.endif
2051.15Sad
2061.85Sjruoho#
2071.85Sjruoho# ISA modules
2081.85Sjruoho#
2091.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2101.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2111.59SjmcneillSUBDIR+=	aps
2121.80SjmcneillSUBDIR+=	finsio
2131.79SjmcneillSUBDIR+=	itesio
2141.101SjakllschSUBDIR+=	lm
2151.101SjakllschSUBDIR+=	lm_isa
2161.101SjakllschSUBDIR+=	lm_isa_common
2171.101SjakllschSUBDIR+=	lm_wbsio
2181.101SjakllschSUBDIR+=	wbsio
2191.56Sjmcneill.endif
2201.56Sjmcneill
2211.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2221.47StsutsuiSUBDIR+=	compat_aoutm68k
2231.47Stsutsui#SUBDIR+=	compat_linux
2241.47Stsutsui#SUBDIR+=	compat_sunos
2251.47Stsutsui#SUBDIR+=	compat_svr4
2261.47Stsutsui.endif
2271.47Stsutsui
2281.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2291.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2301.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2311.88SmbalmerSUBDIR+=	pwdog
2321.88Smbalmer.endif
2331.88Smbalmer
2341.23Sagc.include <bsd.own.mk>
2351.23Sagc
2361.107Sreinoud#
2371.107Sreinoud# NetBSD/usermode support
2381.107Sreinoud#
2391.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2401.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2411.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2421.107Sreinoud.endif
2431.107Sreinoud
2441.23Sagc# we need our device mapper for LVM
2451.23Sagc.if (${MKLVM} != "no")
2461.28SyamtSUBDIR+= 	dm
2471.23Sagc.endif
2481.23Sagc
2491.39Sdarran.if (${MKDTRACE} != "no")
2501.116SchsSUBDIR+=	cyclic
2511.39SdarranSUBDIR+=	dtrace
2521.39Sdarran.endif
2531.39Sdarran
2541.39Sdarran# we need solaris for the dtrace and zfs modules
2551.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2561.39SdarranSUBDIR+=        solaris
2571.39Sdarran.endif
2581.39Sdarran
2591.34Shaad.if (${MKZFS} != "no")
2601.34ShaadSUBDIR+=	zfs
2611.34Shaad.endif
2621.34Shaad
2631.73Smrg.if (${MKCOMPATMODULES} != "no")
2641.73SmrgSUBDIR+=	arch
2651.73Smrg.endif
2661.73Smrg
2671.84Sjmcneill#
2681.84Sjmcneill# DTV modules
2691.84Sjmcneill#
2701.84SjmcneillSUBDIR+=	dtv
2711.84SjmcneillSUBDIR+=	dtv_math
2721.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2731.84Sjmcneill# tuners/demods
2741.84SjmcneillSUBDIR+=	au8522
2751.84SjmcneillSUBDIR+=	cx24227
2761.84SjmcneillSUBDIR+=	lg3303
2771.84SjmcneillSUBDIR+=	mt2131
2781.84SjmcneillSUBDIR+=	nxt2k
2791.84SjmcneillSUBDIR+=	tvpll
2801.84SjmcneillSUBDIR+=	xc3028
2811.84SjmcneillSUBDIR+=	xc5k
2821.91SjruohoSUBDIR+=	zl10353
2831.84Sjmcneill# hardware drivers
2841.84SjmcneillSUBDIR+=	auvitek
2851.84SjmcneillSUBDIR+=	coram
2861.84SjmcneillSUBDIR+=	cxdtv
2871.84SjmcneillSUBDIR+=	emdtv
2881.84Sjmcneill.endif
2891.84Sjmcneill
2901.98Sriz.if (${MKISCSI} != "no")
2911.98SrizSUBDIR+=	iscsi
2921.98Sriz.endif
2931.98Sriz
2941.1Sad.include <bsd.subdir.mk>
295