Makefile revision 1.101
11.101Sjakllsch#	$NetBSD: Makefile,v 1.101 2012/01/17 16:59:38 jakllsch 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.7SrumbleSUBDIR+=	efs
201.7SrumbleSUBDIR+=	ext2fs
211.15SadSUBDIR+=	exec_script
221.7SrumbleSUBDIR+=	fdesc
231.7SrumbleSUBDIR+=	ffs
241.18SadSUBDIR+=	filecore
251.93SsjgSUBDIR+=	filemon
261.68SahokaSUBDIR+=	flash
271.15SadSUBDIR+=	fss
281.89SmbalmerSUBDIR+=	gpio
291.94SmbalmerSUBDIR+=	gpioiic
301.92SmbalmerSUBDIR+=	gpioow
311.89SmbalmerSUBDIR+=	gpiosim
321.7SrumbleSUBDIR+=	hfs
331.94SmbalmerSUBDIR+=	iic
341.7SrumbleSUBDIR+=	kernfs
351.15SadSUBDIR+=	ksem
361.22SadSUBDIR+=	layerfs
371.7SrumbleSUBDIR+=	lfs
381.7SrumbleSUBDIR+=	mfs
391.45SpgoyetteSUBDIR+=	miiverbose
401.45SpgoyetteSUBDIR+=	miniroot
411.31SrmindSUBDIR+=	mqueue
421.18SadSUBDIR+=	msdos
431.68SahokaSUBDIR+=	nand
441.68SahokaSUBDIR+=	nandemulator
451.15SadSUBDIR+=	nfs
461.15SadSUBDIR+=	nfsserver
471.30SreinoudSUBDIR+=	nilfs
481.96StronSUBDIR+=	npf
491.97StronSUBDIR+=	npf_alg_icmp
501.7SrumbleSUBDIR+=	ntfs
511.18SadSUBDIR+=	null
521.92SmbalmerSUBDIR+=	onewire
531.7SrumbleSUBDIR+=	overlay
541.42SpgoyetteSUBDIR+=	pciverbose
551.41SahokaSUBDIR+=	pf
561.19ScubeSUBDIR+=	ppp_bsdcomp
571.19ScubeSUBDIR+=	ppp_deflate
581.7SrumbleSUBDIR+=	procfs
591.7SrumbleSUBDIR+=	ptyfs
601.7SrumbleSUBDIR+=	puffs
611.15SadSUBDIR+=	putter
621.44SpgoyetteSUBDIR+=	scsiverbose
631.33SeladSUBDIR+=	secmodel_bsd44
641.100SjymSUBDIR+=	secmodel_extensions
651.33SeladSUBDIR+=	secmodel_overlay
661.33SeladSUBDIR+=	securelevel
671.7SrumbleSUBDIR+=	smbfs
681.81SpgoyetteSUBDIR+=	spdmem
691.24SpookaSUBDIR+=	sysvbfs
701.33SeladSUBDIR+=	suser
711.48SpgoyetteSUBDIR+=	swsensor
721.7SrumbleSUBDIR+=	tmpfs
731.7SrumbleSUBDIR+=	udf
741.18SadSUBDIR+=	umap
751.7SrumbleSUBDIR+=	union
761.43SpgoyetteSUBDIR+=	usbverbose
771.78SenamiSUBDIR+=	v7fs
781.25ShaadSUBDIR+=	vnd
791.29SyamtSUBDIR+=	tprof
801.7Srumble.if (defined(NOTYET))
811.7SrumbleSUBDIR+=	unionfs
821.7Srumble.endif
831.37Sdyoung.if ${MKBINUTILS} != "no"
841.37SdyoungSUBDIR+=	xldscripts
851.37Sdyoung.endif
861.7Srumble
871.15Sad# Machine dependent section
881.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
891.49Stsutsui    ${MACHINE_CPU} == "m68k"
901.47StsutsuiSUBDIR+=	exec_aout
911.47Stsutsui.endif
921.47Stsutsui
931.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
941.17SmartinSUBDIR+=	exec_elf32
951.17Smartin.endif
961.15Sad
971.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
981.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
991.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1001.20SheSUBDIR+=	exec_elf64
1011.20She.endif
1021.20She
1031.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1041.29Syamt    ${MACHINE_ARCH} == "x86_64"
1051.71SjruohoSUBDIR+=	amdtemp
1061.64SjruohoSUBDIR+=	coretemp
1071.65SjruohoSUBDIR+=	est
1081.72SjruohoSUBDIR+=	hpet
1091.69SjruohoSUBDIR+=	odcm
1101.66SjruohoSUBDIR+=	powernow
1111.29SyamtSUBDIR+=	tprof_pmi
1121.70SyamtSUBDIR+=	tprof_amdpmi
1131.95SjmcneillSUBDIR+=	vmt
1141.29Syamt.endif
1151.29Syamt
1161.85Sjruoho#
1171.85Sjruoho# ACPI modules
1181.85Sjruoho#
1191.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1201.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1211.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1221.46SpgoyetteSUBDIR+=	acpiverbose
1231.46Spgoyette.endif
1241.46Spgoyette
1251.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1261.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1271.52SjruohoSUBDIR+=	acpiacad
1281.52SjruohoSUBDIR+=	acpibat
1291.52SjruohoSUBDIR+=	acpibut
1301.52SjruohoSUBDIR+=	acpicpu
1311.53SjruohoSUBDIR+=	acpidalb
1321.58SjruohoSUBDIR+=	acpifan
1331.52SjruohoSUBDIR+=	acpilid
1341.57SjruohoSUBDIR+=	acpipmtr
1351.53SjruohoSUBDIR+=	acpitz
1361.53SjruohoSUBDIR+=	acpivga
1371.86SjruohoSUBDIR+=	acpiwdrt
1381.51SjmcneillSUBDIR+=	acpiwmi
1391.53SjruohoSUBDIR+=	aibs
1401.54SjruohoSUBDIR+=	asus
1411.63SjruohoSUBDIR+=	fujbp
1421.63SjruohoSUBDIR+=	fujhk
1431.75SjruohoSUBDIR+=	hpacel
1441.54SjruohoSUBDIR+=	hpqlb
1451.52SjruohoSUBDIR+=	thinkpad
1461.50SjmcneillSUBDIR+=	wmidell
1471.83SjruohoSUBDIR+=	wmieeepc
1481.50SjmcneillSUBDIR+=	wmihp
1491.50SjmcneillSUBDIR+=	wmimsi
1501.50Sjmcneill.endif
1511.50Sjmcneill
1521.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1531.15SadSUBDIR+=	azalia
1541.15SadSUBDIR+=	compat_linux
1551.15SadSUBDIR+=	compat_linux32
1561.15SadSUBDIR+=	compat_netbsd32
1571.15SadSUBDIR+=	drm
1581.15SadSUBDIR+=	i915drm
1591.40SahokaSUBDIR+=	pad
1601.15Sad.endif
1611.15Sad
1621.27Sabs.if ${MACHINE_ARCH} == "i386"
1631.90SjmcneillSUBDIR+=	ati_pcigart
1641.15SadSUBDIR+=	azalia
1651.15SadSUBDIR+=	compat_freebsd
1661.15SadSUBDIR+=	compat_ibcs2
1671.15SadSUBDIR+=	compat_linux
1681.15SadSUBDIR+=	compat_svr4
1691.15SadSUBDIR+=	drm
1701.15SadSUBDIR+=	i915drm
1711.90SjmcneillSUBDIR+=	mach64drm
1721.90SjmcneillSUBDIR+=	mgadrm
1731.76SjmcneillSUBDIR+=	nsclpcsio
1741.40SahokaSUBDIR+=	pad
1751.62SjmcneillSUBDIR+=	padlock
1761.90SjmcneillSUBDIR+=	r128drm
1771.90SjmcneillSUBDIR+=	radeondrm
1781.90SjmcneillSUBDIR+=	savagedrm
1791.90SjmcneillSUBDIR+=	sisdrm
1801.90SjmcneillSUBDIR+=	tdfxdrm
1811.67SjruohoSUBDIR+=	viac7temp
1821.90SjmcneillSUBDIR+=	viadrm
1831.15Sad.endif
1841.15Sad
1851.85Sjruoho#
1861.85Sjruoho# ISA modules
1871.85Sjruoho#
1881.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1891.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1901.59SjmcneillSUBDIR+=	aps
1911.80SjmcneillSUBDIR+=	finsio
1921.79SjmcneillSUBDIR+=	itesio
1931.101SjakllschSUBDIR+=	lm
1941.101SjakllschSUBDIR+=	lm_isa
1951.101SjakllschSUBDIR+=	lm_isa_common
1961.101SjakllschSUBDIR+=	lm_wbsio
1971.101SjakllschSUBDIR+=	wbsio
1981.56Sjmcneill.endif
1991.56Sjmcneill
2001.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2011.47StsutsuiSUBDIR+=	compat_aoutm68k
2021.47Stsutsui#SUBDIR+=	compat_linux
2031.47Stsutsui#SUBDIR+=	compat_sunos
2041.47Stsutsui#SUBDIR+=	compat_svr4
2051.47Stsutsui.endif
2061.47Stsutsui
2071.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2081.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2091.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2101.88SmbalmerSUBDIR+=	pwdog
2111.88Smbalmer.endif
2121.88Smbalmer
2131.23Sagc.include <bsd.own.mk>
2141.23Sagc
2151.23Sagc# we need our device mapper for LVM
2161.23Sagc.if (${MKLVM} != "no")
2171.28SyamtSUBDIR+= 	dm
2181.23Sagc.endif
2191.23Sagc
2201.39Sdarran.if (${MKDTRACE} != "no")
2211.39SdarranSUBDIR+=	dtrace
2221.39Sdarran.endif
2231.39Sdarran
2241.39Sdarran# we need solaris for the dtrace and zfs modules
2251.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2261.39SdarranSUBDIR+=        solaris
2271.39Sdarran.endif
2281.39Sdarran
2291.34Shaad.if (${MKZFS} != "no")
2301.34ShaadSUBDIR+=	zfs
2311.34Shaad.endif
2321.34Shaad
2331.73Smrg.if (${MKCOMPATMODULES} != "no")
2341.73SmrgSUBDIR+=	arch
2351.73Smrg.endif
2361.73Smrg
2371.84Sjmcneill#
2381.84Sjmcneill# DTV modules
2391.84Sjmcneill#
2401.84SjmcneillSUBDIR+=	dtv
2411.84SjmcneillSUBDIR+=	dtv_math
2421.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2431.84Sjmcneill# tuners/demods
2441.84SjmcneillSUBDIR+=	au8522
2451.84SjmcneillSUBDIR+=	cx24227
2461.84SjmcneillSUBDIR+=	lg3303
2471.84SjmcneillSUBDIR+=	mt2131
2481.84SjmcneillSUBDIR+=	nxt2k
2491.84SjmcneillSUBDIR+=	tvpll
2501.84SjmcneillSUBDIR+=	xc3028
2511.84SjmcneillSUBDIR+=	xc5k
2521.91SjruohoSUBDIR+=	zl10353
2531.84Sjmcneill# hardware drivers
2541.84SjmcneillSUBDIR+=	auvitek
2551.84SjmcneillSUBDIR+=	coram
2561.84SjmcneillSUBDIR+=	cxdtv
2571.84SjmcneillSUBDIR+=	emdtv
2581.84Sjmcneill.endif
2591.84Sjmcneill
2601.98Sriz.if (${MKISCSI} != "no")
2611.98SrizSUBDIR+=	iscsi
2621.98Sriz.endif
2631.98Sriz
2641.1Sad.include <bsd.subdir.mk>
265