Makefile revision 1.122
11.122Smbalmer#	$NetBSD: Makefile,v 1.122 2013/10/28 19:18:54 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.7SrumbleSUBDIR+=	mfs
441.45SpgoyetteSUBDIR+=	miiverbose
451.45SpgoyetteSUBDIR+=	miniroot
461.31SrmindSUBDIR+=	mqueue
471.18SadSUBDIR+=	msdos
481.68SahokaSUBDIR+=	nand
491.68SahokaSUBDIR+=	nandemulator
501.15SadSUBDIR+=	nfs
511.15SadSUBDIR+=	nfsserver
521.30SreinoudSUBDIR+=	nilfs
531.96StronSUBDIR+=	npf
541.97StronSUBDIR+=	npf_alg_icmp
551.111SrmindSUBDIR+=	npf_ext_log
561.119SchristosSUBDIR+=	npf_ext_normalize
571.117SrmindSUBDIR+=	npf_ext_rndblock
581.7SrumbleSUBDIR+=	ntfs
591.18SadSUBDIR+=	null
601.92SmbalmerSUBDIR+=	onewire
611.7SrumbleSUBDIR+=	overlay
621.42SpgoyetteSUBDIR+=	pciverbose
631.41SahokaSUBDIR+=	pf
641.19ScubeSUBDIR+=	ppp_bsdcomp
651.19ScubeSUBDIR+=	ppp_deflate
661.7SrumbleSUBDIR+=	procfs
671.7SrumbleSUBDIR+=	ptyfs
681.7SrumbleSUBDIR+=	puffs
691.15SadSUBDIR+=	putter
701.44SpgoyetteSUBDIR+=	scsiverbose
711.103SpgoyetteSUBDIR+=	sdtemp
721.33SeladSUBDIR+=	secmodel_bsd44
731.100SjymSUBDIR+=	secmodel_extensions
741.33SeladSUBDIR+=	secmodel_overlay
751.33SeladSUBDIR+=	securelevel
761.7SrumbleSUBDIR+=	smbfs
771.81SpgoyetteSUBDIR+=	spdmem
781.24SpookaSUBDIR+=	sysvbfs
791.33SeladSUBDIR+=	suser
801.48SpgoyetteSUBDIR+=	swsensor
811.7SrumbleSUBDIR+=	tmpfs
821.108SriastradSUBDIR+=	uatp
831.7SrumbleSUBDIR+=	udf
841.18SadSUBDIR+=	umap
851.7SrumbleSUBDIR+=	union
861.43SpgoyetteSUBDIR+=	usbverbose
871.106SchristosSUBDIR+=	vcoda
881.78SenamiSUBDIR+=	v7fs
891.25ShaadSUBDIR+=	vnd
901.29SyamtSUBDIR+=	tprof
911.7Srumble.if (defined(NOTYET))
921.7SrumbleSUBDIR+=	unionfs
931.7Srumble.endif
941.37Sdyoung.if ${MKBINUTILS} != "no"
951.37SdyoungSUBDIR+=	xldscripts
961.37Sdyoung.endif
971.7Srumble
981.15Sad# Machine dependent section
991.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
1001.49Stsutsui    ${MACHINE_CPU} == "m68k"
1011.47StsutsuiSUBDIR+=	exec_aout
1021.47Stsutsui.endif
1031.47Stsutsui
1041.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
1051.17SmartinSUBDIR+=	exec_elf32
1061.17Smartin.endif
1071.15Sad
1081.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1091.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1101.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1111.20SheSUBDIR+=	exec_elf64
1121.20She.endif
1131.20She
1141.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1151.29Syamt    ${MACHINE_ARCH} == "x86_64"
1161.71SjruohoSUBDIR+=	amdtemp
1171.64SjruohoSUBDIR+=	coretemp
1181.65SjruohoSUBDIR+=	est
1191.110SmartinSUBDIR+=	hdafg
1201.110SmartinSUBDIR+=	hdaudio
1211.72SjruohoSUBDIR+=	hpet
1221.69SjruohoSUBDIR+=	odcm
1231.66SjruohoSUBDIR+=	powernow
1241.29SyamtSUBDIR+=	tprof_pmi
1251.70SyamtSUBDIR+=	tprof_amdpmi
1261.95SjmcneillSUBDIR+=	vmt
1271.29Syamt.endif
1281.29Syamt
1291.114Salnsn.if ${MACHINE_ARCH} == "i386" || \
1301.115Salnsn    ${MACHINE_ARCH} == "x86_64" || \
1311.115Salnsn    ${MACHINE_ARCH} == "sparc"
1321.113SalnsnSUBDIR+=	bpfjit
1331.112SalnsnSUBDIR+=	sljit
1341.112Salnsn.endif
1351.112Salnsn
1361.85Sjruoho#
1371.85Sjruoho# ACPI modules
1381.85Sjruoho#
1391.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1401.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1411.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1421.46SpgoyetteSUBDIR+=	acpiverbose
1431.46Spgoyette.endif
1441.46Spgoyette
1451.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1461.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1471.52SjruohoSUBDIR+=	acpiacad
1481.52SjruohoSUBDIR+=	acpibat
1491.52SjruohoSUBDIR+=	acpibut
1501.52SjruohoSUBDIR+=	acpicpu
1511.53SjruohoSUBDIR+=	acpidalb
1521.58SjruohoSUBDIR+=	acpifan
1531.52SjruohoSUBDIR+=	acpilid
1541.57SjruohoSUBDIR+=	acpipmtr
1551.53SjruohoSUBDIR+=	acpitz
1561.53SjruohoSUBDIR+=	acpivga
1571.86SjruohoSUBDIR+=	acpiwdrt
1581.51SjmcneillSUBDIR+=	acpiwmi
1591.53SjruohoSUBDIR+=	aibs
1601.54SjruohoSUBDIR+=	asus
1611.63SjruohoSUBDIR+=	fujbp
1621.63SjruohoSUBDIR+=	fujhk
1631.75SjruohoSUBDIR+=	hpacel
1641.54SjruohoSUBDIR+=	hpqlb
1651.52SjruohoSUBDIR+=	thinkpad
1661.50SjmcneillSUBDIR+=	wmidell
1671.83SjruohoSUBDIR+=	wmieeepc
1681.50SjmcneillSUBDIR+=	wmihp
1691.50SjmcneillSUBDIR+=	wmimsi
1701.50Sjmcneill.endif
1711.50Sjmcneill
1721.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1731.15SadSUBDIR+=	azalia
1741.15SadSUBDIR+=	compat_linux
1751.15SadSUBDIR+=	compat_linux32
1761.15SadSUBDIR+=	compat_netbsd32
1771.15SadSUBDIR+=	drm
1781.15SadSUBDIR+=	i915drm
1791.40SahokaSUBDIR+=	pad
1801.15Sad.endif
1811.15Sad
1821.27Sabs.if ${MACHINE_ARCH} == "i386"
1831.90SjmcneillSUBDIR+=	ati_pcigart
1841.15SadSUBDIR+=	azalia
1851.15SadSUBDIR+=	compat_freebsd
1861.15SadSUBDIR+=	compat_ibcs2
1871.15SadSUBDIR+=	compat_linux
1881.15SadSUBDIR+=	compat_svr4
1891.15SadSUBDIR+=	drm
1901.15SadSUBDIR+=	i915drm
1911.90SjmcneillSUBDIR+=	mach64drm
1921.90SjmcneillSUBDIR+=	mgadrm
1931.76SjmcneillSUBDIR+=	nsclpcsio
1941.40SahokaSUBDIR+=	pad
1951.62SjmcneillSUBDIR+=	padlock
1961.90SjmcneillSUBDIR+=	r128drm
1971.90SjmcneillSUBDIR+=	radeondrm
1981.90SjmcneillSUBDIR+=	savagedrm
1991.90SjmcneillSUBDIR+=	sisdrm
2001.90SjmcneillSUBDIR+=	tdfxdrm
2011.67SjruohoSUBDIR+=	viac7temp
2021.90SjmcneillSUBDIR+=	viadrm
2031.15Sad.endif
2041.15Sad
2051.85Sjruoho#
2061.85Sjruoho# ISA modules
2071.85Sjruoho#
2081.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2091.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2101.59SjmcneillSUBDIR+=	aps
2111.80SjmcneillSUBDIR+=	finsio
2121.79SjmcneillSUBDIR+=	itesio
2131.101SjakllschSUBDIR+=	lm
2141.101SjakllschSUBDIR+=	lm_isa
2151.101SjakllschSUBDIR+=	lm_isa_common
2161.101SjakllschSUBDIR+=	lm_wbsio
2171.101SjakllschSUBDIR+=	wbsio
2181.56Sjmcneill.endif
2191.56Sjmcneill
2201.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2211.47StsutsuiSUBDIR+=	compat_aoutm68k
2221.47Stsutsui#SUBDIR+=	compat_linux
2231.47Stsutsui#SUBDIR+=	compat_sunos
2241.47Stsutsui#SUBDIR+=	compat_svr4
2251.47Stsutsui.endif
2261.47Stsutsui
2271.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2281.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2291.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2301.88SmbalmerSUBDIR+=	pwdog
2311.88Smbalmer.endif
2321.88Smbalmer
2331.23Sagc.include <bsd.own.mk>
2341.23Sagc
2351.107Sreinoud#
2361.107Sreinoud# NetBSD/usermode support
2371.107Sreinoud#
2381.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2391.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2401.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2411.107Sreinoud.endif
2421.107Sreinoud
2431.23Sagc# we need our device mapper for LVM
2441.23Sagc.if (${MKLVM} != "no")
2451.28SyamtSUBDIR+= 	dm
2461.23Sagc.endif
2471.23Sagc
2481.39Sdarran.if (${MKDTRACE} != "no")
2491.116SchsSUBDIR+=	cyclic
2501.39SdarranSUBDIR+=	dtrace
2511.39Sdarran.endif
2521.39Sdarran
2531.39Sdarran# we need solaris for the dtrace and zfs modules
2541.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2551.39SdarranSUBDIR+=        solaris
2561.39Sdarran.endif
2571.39Sdarran
2581.34Shaad.if (${MKZFS} != "no")
2591.34ShaadSUBDIR+=	zfs
2601.34Shaad.endif
2611.34Shaad
2621.73Smrg.if (${MKCOMPATMODULES} != "no")
2631.73SmrgSUBDIR+=	arch
2641.73Smrg.endif
2651.73Smrg
2661.84Sjmcneill#
2671.84Sjmcneill# DTV modules
2681.84Sjmcneill#
2691.84SjmcneillSUBDIR+=	dtv
2701.84SjmcneillSUBDIR+=	dtv_math
2711.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2721.84Sjmcneill# tuners/demods
2731.84SjmcneillSUBDIR+=	au8522
2741.84SjmcneillSUBDIR+=	cx24227
2751.84SjmcneillSUBDIR+=	lg3303
2761.84SjmcneillSUBDIR+=	mt2131
2771.84SjmcneillSUBDIR+=	nxt2k
2781.84SjmcneillSUBDIR+=	tvpll
2791.84SjmcneillSUBDIR+=	xc3028
2801.84SjmcneillSUBDIR+=	xc5k
2811.91SjruohoSUBDIR+=	zl10353
2821.84Sjmcneill# hardware drivers
2831.84SjmcneillSUBDIR+=	auvitek
2841.84SjmcneillSUBDIR+=	coram
2851.84SjmcneillSUBDIR+=	cxdtv
2861.84SjmcneillSUBDIR+=	emdtv
2871.84Sjmcneill.endif
2881.84Sjmcneill
2891.98Sriz.if (${MKISCSI} != "no")
2901.98SrizSUBDIR+=	iscsi
2911.98Sriz.endif
2921.98Sriz
2931.1Sad.include <bsd.subdir.mk>
294