Makefile revision 1.119
11.119Schristos#	$NetBSD: Makefile,v 1.119 2013/03/12 20:49:22 christos 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.118SchristosSUBDIR+=	if_npflog
361.94SmbalmerSUBDIR+=	iic
371.7SrumbleSUBDIR+=	kernfs
381.22SadSUBDIR+=	layerfs
391.7SrumbleSUBDIR+=	lfs
401.7SrumbleSUBDIR+=	mfs
411.45SpgoyetteSUBDIR+=	miiverbose
421.45SpgoyetteSUBDIR+=	miniroot
431.31SrmindSUBDIR+=	mqueue
441.18SadSUBDIR+=	msdos
451.68SahokaSUBDIR+=	nand
461.68SahokaSUBDIR+=	nandemulator
471.15SadSUBDIR+=	nfs
481.15SadSUBDIR+=	nfsserver
491.30SreinoudSUBDIR+=	nilfs
501.96StronSUBDIR+=	npf
511.97StronSUBDIR+=	npf_alg_icmp
521.111SrmindSUBDIR+=	npf_ext_log
531.119SchristosSUBDIR+=	npf_ext_normalize
541.117SrmindSUBDIR+=	npf_ext_rndblock
551.7SrumbleSUBDIR+=	ntfs
561.18SadSUBDIR+=	null
571.92SmbalmerSUBDIR+=	onewire
581.7SrumbleSUBDIR+=	overlay
591.42SpgoyetteSUBDIR+=	pciverbose
601.41SahokaSUBDIR+=	pf
611.19ScubeSUBDIR+=	ppp_bsdcomp
621.19ScubeSUBDIR+=	ppp_deflate
631.7SrumbleSUBDIR+=	procfs
641.7SrumbleSUBDIR+=	ptyfs
651.7SrumbleSUBDIR+=	puffs
661.15SadSUBDIR+=	putter
671.44SpgoyetteSUBDIR+=	scsiverbose
681.103SpgoyetteSUBDIR+=	sdtemp
691.33SeladSUBDIR+=	secmodel_bsd44
701.100SjymSUBDIR+=	secmodel_extensions
711.33SeladSUBDIR+=	secmodel_overlay
721.33SeladSUBDIR+=	securelevel
731.7SrumbleSUBDIR+=	smbfs
741.81SpgoyetteSUBDIR+=	spdmem
751.24SpookaSUBDIR+=	sysvbfs
761.33SeladSUBDIR+=	suser
771.48SpgoyetteSUBDIR+=	swsensor
781.7SrumbleSUBDIR+=	tmpfs
791.108SriastradSUBDIR+=	uatp
801.7SrumbleSUBDIR+=	udf
811.18SadSUBDIR+=	umap
821.7SrumbleSUBDIR+=	union
831.43SpgoyetteSUBDIR+=	usbverbose
841.106SchristosSUBDIR+=	vcoda
851.78SenamiSUBDIR+=	v7fs
861.25ShaadSUBDIR+=	vnd
871.29SyamtSUBDIR+=	tprof
881.7Srumble.if (defined(NOTYET))
891.7SrumbleSUBDIR+=	unionfs
901.7Srumble.endif
911.37Sdyoung.if ${MKBINUTILS} != "no"
921.37SdyoungSUBDIR+=	xldscripts
931.37Sdyoung.endif
941.7Srumble
951.15Sad# Machine dependent section
961.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
971.49Stsutsui    ${MACHINE_CPU} == "m68k"
981.47StsutsuiSUBDIR+=	exec_aout
991.47Stsutsui.endif
1001.47Stsutsui
1011.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
1021.17SmartinSUBDIR+=	exec_elf32
1031.17Smartin.endif
1041.15Sad
1051.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1061.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1071.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1081.20SheSUBDIR+=	exec_elf64
1091.20She.endif
1101.20She
1111.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1121.29Syamt    ${MACHINE_ARCH} == "x86_64"
1131.71SjruohoSUBDIR+=	amdtemp
1141.64SjruohoSUBDIR+=	coretemp
1151.65SjruohoSUBDIR+=	est
1161.110SmartinSUBDIR+=	hdafg
1171.110SmartinSUBDIR+=	hdaudio
1181.72SjruohoSUBDIR+=	hpet
1191.69SjruohoSUBDIR+=	odcm
1201.66SjruohoSUBDIR+=	powernow
1211.29SyamtSUBDIR+=	tprof_pmi
1221.70SyamtSUBDIR+=	tprof_amdpmi
1231.95SjmcneillSUBDIR+=	vmt
1241.29Syamt.endif
1251.29Syamt
1261.114Salnsn.if ${MACHINE_ARCH} == "i386" || \
1271.115Salnsn    ${MACHINE_ARCH} == "x86_64" || \
1281.115Salnsn    ${MACHINE_ARCH} == "sparc"
1291.113SalnsnSUBDIR+=	bpfjit
1301.112SalnsnSUBDIR+=	sljit
1311.112Salnsn.endif
1321.112Salnsn
1331.85Sjruoho#
1341.85Sjruoho# ACPI modules
1351.85Sjruoho#
1361.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1371.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1381.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1391.46SpgoyetteSUBDIR+=	acpiverbose
1401.46Spgoyette.endif
1411.46Spgoyette
1421.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1431.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1441.52SjruohoSUBDIR+=	acpiacad
1451.52SjruohoSUBDIR+=	acpibat
1461.52SjruohoSUBDIR+=	acpibut
1471.52SjruohoSUBDIR+=	acpicpu
1481.53SjruohoSUBDIR+=	acpidalb
1491.58SjruohoSUBDIR+=	acpifan
1501.52SjruohoSUBDIR+=	acpilid
1511.57SjruohoSUBDIR+=	acpipmtr
1521.53SjruohoSUBDIR+=	acpitz
1531.53SjruohoSUBDIR+=	acpivga
1541.86SjruohoSUBDIR+=	acpiwdrt
1551.51SjmcneillSUBDIR+=	acpiwmi
1561.53SjruohoSUBDIR+=	aibs
1571.54SjruohoSUBDIR+=	asus
1581.63SjruohoSUBDIR+=	fujbp
1591.63SjruohoSUBDIR+=	fujhk
1601.75SjruohoSUBDIR+=	hpacel
1611.54SjruohoSUBDIR+=	hpqlb
1621.52SjruohoSUBDIR+=	thinkpad
1631.50SjmcneillSUBDIR+=	wmidell
1641.83SjruohoSUBDIR+=	wmieeepc
1651.50SjmcneillSUBDIR+=	wmihp
1661.50SjmcneillSUBDIR+=	wmimsi
1671.50Sjmcneill.endif
1681.50Sjmcneill
1691.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1701.15SadSUBDIR+=	azalia
1711.15SadSUBDIR+=	compat_linux
1721.15SadSUBDIR+=	compat_linux32
1731.15SadSUBDIR+=	compat_netbsd32
1741.15SadSUBDIR+=	drm
1751.15SadSUBDIR+=	i915drm
1761.40SahokaSUBDIR+=	pad
1771.15Sad.endif
1781.15Sad
1791.27Sabs.if ${MACHINE_ARCH} == "i386"
1801.90SjmcneillSUBDIR+=	ati_pcigart
1811.15SadSUBDIR+=	azalia
1821.15SadSUBDIR+=	compat_freebsd
1831.15SadSUBDIR+=	compat_ibcs2
1841.15SadSUBDIR+=	compat_linux
1851.15SadSUBDIR+=	compat_svr4
1861.15SadSUBDIR+=	drm
1871.15SadSUBDIR+=	i915drm
1881.90SjmcneillSUBDIR+=	mach64drm
1891.90SjmcneillSUBDIR+=	mgadrm
1901.76SjmcneillSUBDIR+=	nsclpcsio
1911.40SahokaSUBDIR+=	pad
1921.62SjmcneillSUBDIR+=	padlock
1931.90SjmcneillSUBDIR+=	r128drm
1941.90SjmcneillSUBDIR+=	radeondrm
1951.90SjmcneillSUBDIR+=	savagedrm
1961.90SjmcneillSUBDIR+=	sisdrm
1971.90SjmcneillSUBDIR+=	tdfxdrm
1981.67SjruohoSUBDIR+=	viac7temp
1991.90SjmcneillSUBDIR+=	viadrm
2001.15Sad.endif
2011.15Sad
2021.85Sjruoho#
2031.85Sjruoho# ISA modules
2041.85Sjruoho#
2051.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2061.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2071.59SjmcneillSUBDIR+=	aps
2081.80SjmcneillSUBDIR+=	finsio
2091.79SjmcneillSUBDIR+=	itesio
2101.101SjakllschSUBDIR+=	lm
2111.101SjakllschSUBDIR+=	lm_isa
2121.101SjakllschSUBDIR+=	lm_isa_common
2131.101SjakllschSUBDIR+=	lm_wbsio
2141.101SjakllschSUBDIR+=	wbsio
2151.56Sjmcneill.endif
2161.56Sjmcneill
2171.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2181.47StsutsuiSUBDIR+=	compat_aoutm68k
2191.47Stsutsui#SUBDIR+=	compat_linux
2201.47Stsutsui#SUBDIR+=	compat_sunos
2211.47Stsutsui#SUBDIR+=	compat_svr4
2221.47Stsutsui.endif
2231.47Stsutsui
2241.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2251.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2261.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2271.88SmbalmerSUBDIR+=	pwdog
2281.88Smbalmer.endif
2291.88Smbalmer
2301.23Sagc.include <bsd.own.mk>
2311.23Sagc
2321.107Sreinoud#
2331.107Sreinoud# NetBSD/usermode support
2341.107Sreinoud#
2351.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2361.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2371.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2381.107Sreinoud.endif
2391.107Sreinoud
2401.23Sagc# we need our device mapper for LVM
2411.23Sagc.if (${MKLVM} != "no")
2421.28SyamtSUBDIR+= 	dm
2431.23Sagc.endif
2441.23Sagc
2451.39Sdarran.if (${MKDTRACE} != "no")
2461.116SchsSUBDIR+=	cyclic
2471.39SdarranSUBDIR+=	dtrace
2481.39Sdarran.endif
2491.39Sdarran
2501.39Sdarran# we need solaris for the dtrace and zfs modules
2511.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2521.39SdarranSUBDIR+=        solaris
2531.39Sdarran.endif
2541.39Sdarran
2551.34Shaad.if (${MKZFS} != "no")
2561.34ShaadSUBDIR+=	zfs
2571.34Shaad.endif
2581.34Shaad
2591.73Smrg.if (${MKCOMPATMODULES} != "no")
2601.73SmrgSUBDIR+=	arch
2611.73Smrg.endif
2621.73Smrg
2631.84Sjmcneill#
2641.84Sjmcneill# DTV modules
2651.84Sjmcneill#
2661.84SjmcneillSUBDIR+=	dtv
2671.84SjmcneillSUBDIR+=	dtv_math
2681.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2691.84Sjmcneill# tuners/demods
2701.84SjmcneillSUBDIR+=	au8522
2711.84SjmcneillSUBDIR+=	cx24227
2721.84SjmcneillSUBDIR+=	lg3303
2731.84SjmcneillSUBDIR+=	mt2131
2741.84SjmcneillSUBDIR+=	nxt2k
2751.84SjmcneillSUBDIR+=	tvpll
2761.84SjmcneillSUBDIR+=	xc3028
2771.84SjmcneillSUBDIR+=	xc5k
2781.91SjruohoSUBDIR+=	zl10353
2791.84Sjmcneill# hardware drivers
2801.84SjmcneillSUBDIR+=	auvitek
2811.84SjmcneillSUBDIR+=	coram
2821.84SjmcneillSUBDIR+=	cxdtv
2831.84SjmcneillSUBDIR+=	emdtv
2841.84Sjmcneill.endif
2851.84Sjmcneill
2861.98Sriz.if (${MKISCSI} != "no")
2871.98SrizSUBDIR+=	iscsi
2881.98Sriz.endif
2891.98Sriz
2901.1Sad.include <bsd.subdir.mk>
291