Makefile revision 1.106
11.106Schristos#	$NetBSD: Makefile,v 1.106 2012/04/26 03:03:53 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.94SmbalmerSUBDIR+=	iic
361.7SrumbleSUBDIR+=	kernfs
371.22SadSUBDIR+=	layerfs
381.7SrumbleSUBDIR+=	lfs
391.7SrumbleSUBDIR+=	mfs
401.45SpgoyetteSUBDIR+=	miiverbose
411.45SpgoyetteSUBDIR+=	miniroot
421.31SrmindSUBDIR+=	mqueue
431.18SadSUBDIR+=	msdos
441.68SahokaSUBDIR+=	nand
451.68SahokaSUBDIR+=	nandemulator
461.15SadSUBDIR+=	nfs
471.15SadSUBDIR+=	nfsserver
481.30SreinoudSUBDIR+=	nilfs
491.96StronSUBDIR+=	npf
501.97StronSUBDIR+=	npf_alg_icmp
511.7SrumbleSUBDIR+=	ntfs
521.18SadSUBDIR+=	null
531.92SmbalmerSUBDIR+=	onewire
541.7SrumbleSUBDIR+=	overlay
551.42SpgoyetteSUBDIR+=	pciverbose
561.41SahokaSUBDIR+=	pf
571.19ScubeSUBDIR+=	ppp_bsdcomp
581.19ScubeSUBDIR+=	ppp_deflate
591.7SrumbleSUBDIR+=	procfs
601.7SrumbleSUBDIR+=	ptyfs
611.7SrumbleSUBDIR+=	puffs
621.15SadSUBDIR+=	putter
631.44SpgoyetteSUBDIR+=	scsiverbose
641.103SpgoyetteSUBDIR+=	sdtemp
651.33SeladSUBDIR+=	secmodel_bsd44
661.100SjymSUBDIR+=	secmodel_extensions
671.33SeladSUBDIR+=	secmodel_overlay
681.33SeladSUBDIR+=	securelevel
691.7SrumbleSUBDIR+=	smbfs
701.81SpgoyetteSUBDIR+=	spdmem
711.24SpookaSUBDIR+=	sysvbfs
721.33SeladSUBDIR+=	suser
731.48SpgoyetteSUBDIR+=	swsensor
741.7SrumbleSUBDIR+=	tmpfs
751.7SrumbleSUBDIR+=	udf
761.18SadSUBDIR+=	umap
771.7SrumbleSUBDIR+=	union
781.43SpgoyetteSUBDIR+=	usbverbose
791.106SchristosSUBDIR+=	vcoda
801.78SenamiSUBDIR+=	v7fs
811.25ShaadSUBDIR+=	vnd
821.29SyamtSUBDIR+=	tprof
831.7Srumble.if (defined(NOTYET))
841.7SrumbleSUBDIR+=	unionfs
851.7Srumble.endif
861.37Sdyoung.if ${MKBINUTILS} != "no"
871.37SdyoungSUBDIR+=	xldscripts
881.37Sdyoung.endif
891.7Srumble
901.15Sad# Machine dependent section
911.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
921.49Stsutsui    ${MACHINE_CPU} == "m68k"
931.47StsutsuiSUBDIR+=	exec_aout
941.47Stsutsui.endif
951.47Stsutsui
961.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
971.17SmartinSUBDIR+=	exec_elf32
981.17Smartin.endif
991.15Sad
1001.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1011.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1021.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1031.20SheSUBDIR+=	exec_elf64
1041.20She.endif
1051.20She
1061.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1071.29Syamt    ${MACHINE_ARCH} == "x86_64"
1081.71SjruohoSUBDIR+=	amdtemp
1091.64SjruohoSUBDIR+=	coretemp
1101.65SjruohoSUBDIR+=	est
1111.72SjruohoSUBDIR+=	hpet
1121.69SjruohoSUBDIR+=	odcm
1131.66SjruohoSUBDIR+=	powernow
1141.29SyamtSUBDIR+=	tprof_pmi
1151.70SyamtSUBDIR+=	tprof_amdpmi
1161.95SjmcneillSUBDIR+=	vmt
1171.29Syamt.endif
1181.29Syamt
1191.85Sjruoho#
1201.85Sjruoho# ACPI modules
1211.85Sjruoho#
1221.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1231.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1241.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1251.46SpgoyetteSUBDIR+=	acpiverbose
1261.46Spgoyette.endif
1271.46Spgoyette
1281.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1291.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1301.52SjruohoSUBDIR+=	acpiacad
1311.52SjruohoSUBDIR+=	acpibat
1321.52SjruohoSUBDIR+=	acpibut
1331.52SjruohoSUBDIR+=	acpicpu
1341.53SjruohoSUBDIR+=	acpidalb
1351.58SjruohoSUBDIR+=	acpifan
1361.52SjruohoSUBDIR+=	acpilid
1371.57SjruohoSUBDIR+=	acpipmtr
1381.53SjruohoSUBDIR+=	acpitz
1391.53SjruohoSUBDIR+=	acpivga
1401.86SjruohoSUBDIR+=	acpiwdrt
1411.51SjmcneillSUBDIR+=	acpiwmi
1421.53SjruohoSUBDIR+=	aibs
1431.54SjruohoSUBDIR+=	asus
1441.63SjruohoSUBDIR+=	fujbp
1451.63SjruohoSUBDIR+=	fujhk
1461.75SjruohoSUBDIR+=	hpacel
1471.54SjruohoSUBDIR+=	hpqlb
1481.52SjruohoSUBDIR+=	thinkpad
1491.50SjmcneillSUBDIR+=	wmidell
1501.83SjruohoSUBDIR+=	wmieeepc
1511.50SjmcneillSUBDIR+=	wmihp
1521.50SjmcneillSUBDIR+=	wmimsi
1531.50Sjmcneill.endif
1541.50Sjmcneill
1551.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1561.15SadSUBDIR+=	azalia
1571.15SadSUBDIR+=	compat_linux
1581.15SadSUBDIR+=	compat_linux32
1591.15SadSUBDIR+=	compat_netbsd32
1601.15SadSUBDIR+=	drm
1611.15SadSUBDIR+=	i915drm
1621.40SahokaSUBDIR+=	pad
1631.15Sad.endif
1641.15Sad
1651.27Sabs.if ${MACHINE_ARCH} == "i386"
1661.90SjmcneillSUBDIR+=	ati_pcigart
1671.15SadSUBDIR+=	azalia
1681.15SadSUBDIR+=	compat_freebsd
1691.15SadSUBDIR+=	compat_ibcs2
1701.15SadSUBDIR+=	compat_linux
1711.15SadSUBDIR+=	compat_svr4
1721.15SadSUBDIR+=	drm
1731.15SadSUBDIR+=	i915drm
1741.90SjmcneillSUBDIR+=	mach64drm
1751.90SjmcneillSUBDIR+=	mgadrm
1761.76SjmcneillSUBDIR+=	nsclpcsio
1771.40SahokaSUBDIR+=	pad
1781.62SjmcneillSUBDIR+=	padlock
1791.90SjmcneillSUBDIR+=	r128drm
1801.90SjmcneillSUBDIR+=	radeondrm
1811.90SjmcneillSUBDIR+=	savagedrm
1821.90SjmcneillSUBDIR+=	sisdrm
1831.90SjmcneillSUBDIR+=	tdfxdrm
1841.67SjruohoSUBDIR+=	viac7temp
1851.90SjmcneillSUBDIR+=	viadrm
1861.15Sad.endif
1871.15Sad
1881.85Sjruoho#
1891.85Sjruoho# ISA modules
1901.85Sjruoho#
1911.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1921.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1931.59SjmcneillSUBDIR+=	aps
1941.80SjmcneillSUBDIR+=	finsio
1951.79SjmcneillSUBDIR+=	itesio
1961.101SjakllschSUBDIR+=	lm
1971.101SjakllschSUBDIR+=	lm_isa
1981.101SjakllschSUBDIR+=	lm_isa_common
1991.101SjakllschSUBDIR+=	lm_wbsio
2001.101SjakllschSUBDIR+=	wbsio
2011.56Sjmcneill.endif
2021.56Sjmcneill
2031.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2041.47StsutsuiSUBDIR+=	compat_aoutm68k
2051.47Stsutsui#SUBDIR+=	compat_linux
2061.47Stsutsui#SUBDIR+=	compat_sunos
2071.47Stsutsui#SUBDIR+=	compat_svr4
2081.47Stsutsui.endif
2091.47Stsutsui
2101.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2111.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2121.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2131.88SmbalmerSUBDIR+=	pwdog
2141.88Smbalmer.endif
2151.88Smbalmer
2161.23Sagc.include <bsd.own.mk>
2171.23Sagc
2181.23Sagc# we need our device mapper for LVM
2191.23Sagc.if (${MKLVM} != "no")
2201.28SyamtSUBDIR+= 	dm
2211.23Sagc.endif
2221.23Sagc
2231.39Sdarran.if (${MKDTRACE} != "no")
2241.39SdarranSUBDIR+=	dtrace
2251.39Sdarran.endif
2261.39Sdarran
2271.39Sdarran# we need solaris for the dtrace and zfs modules
2281.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2291.39SdarranSUBDIR+=        solaris
2301.39Sdarran.endif
2311.39Sdarran
2321.34Shaad.if (${MKZFS} != "no")
2331.34ShaadSUBDIR+=	zfs
2341.34Shaad.endif
2351.34Shaad
2361.73Smrg.if (${MKCOMPATMODULES} != "no")
2371.73SmrgSUBDIR+=	arch
2381.73Smrg.endif
2391.73Smrg
2401.84Sjmcneill#
2411.84Sjmcneill# DTV modules
2421.84Sjmcneill#
2431.84SjmcneillSUBDIR+=	dtv
2441.84SjmcneillSUBDIR+=	dtv_math
2451.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2461.84Sjmcneill# tuners/demods
2471.84SjmcneillSUBDIR+=	au8522
2481.84SjmcneillSUBDIR+=	cx24227
2491.84SjmcneillSUBDIR+=	lg3303
2501.84SjmcneillSUBDIR+=	mt2131
2511.84SjmcneillSUBDIR+=	nxt2k
2521.84SjmcneillSUBDIR+=	tvpll
2531.84SjmcneillSUBDIR+=	xc3028
2541.84SjmcneillSUBDIR+=	xc5k
2551.91SjruohoSUBDIR+=	zl10353
2561.84Sjmcneill# hardware drivers
2571.84SjmcneillSUBDIR+=	auvitek
2581.84SjmcneillSUBDIR+=	coram
2591.84SjmcneillSUBDIR+=	cxdtv
2601.84SjmcneillSUBDIR+=	emdtv
2611.84Sjmcneill.endif
2621.84Sjmcneill
2631.98Sriz.if (${MKISCSI} != "no")
2641.98SrizSUBDIR+=	iscsi
2651.98Sriz.endif
2661.98Sriz
2671.1Sad.include <bsd.subdir.mk>
268