291 lines
4.8 KiB
Makefile
291 lines
4.8 KiB
Makefile
# $NetBSD: Makefile,v 1.119 2013/03/12 20:49:22 christos Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
# For all platforms
|
|
|
|
SUBDIR= accf_dataready
|
|
SUBDIR+= accf_httpready
|
|
SUBDIR+= adosfs
|
|
SUBDIR+= aio
|
|
SUBDIR+= bpf
|
|
SUBDIR+= cd9660
|
|
SUBDIR+= coda
|
|
SUBDIR+= coda5
|
|
SUBDIR+= compat
|
|
SUBDIR+= compat_ossaudio
|
|
SUBDIR+= coredump
|
|
SUBDIR+= chfs
|
|
SUBDIR+= dbcool
|
|
SUBDIR+= efs
|
|
SUBDIR+= ext2fs
|
|
SUBDIR+= exec_script
|
|
SUBDIR+= fdesc
|
|
SUBDIR+= ffs
|
|
SUBDIR+= filecore
|
|
SUBDIR+= filemon
|
|
SUBDIR+= flash
|
|
SUBDIR+= fss
|
|
SUBDIR+= gpio
|
|
SUBDIR+= gpioiic
|
|
SUBDIR+= gpioow
|
|
SUBDIR+= gpiosim
|
|
SUBDIR+= hfs
|
|
SUBDIR+= if_axe
|
|
SUBDIR+= if_npflog
|
|
SUBDIR+= iic
|
|
SUBDIR+= kernfs
|
|
SUBDIR+= layerfs
|
|
SUBDIR+= lfs
|
|
SUBDIR+= mfs
|
|
SUBDIR+= miiverbose
|
|
SUBDIR+= miniroot
|
|
SUBDIR+= mqueue
|
|
SUBDIR+= msdos
|
|
SUBDIR+= nand
|
|
SUBDIR+= nandemulator
|
|
SUBDIR+= nfs
|
|
SUBDIR+= nfsserver
|
|
SUBDIR+= nilfs
|
|
SUBDIR+= npf
|
|
SUBDIR+= npf_alg_icmp
|
|
SUBDIR+= npf_ext_log
|
|
SUBDIR+= npf_ext_normalize
|
|
SUBDIR+= npf_ext_rndblock
|
|
SUBDIR+= ntfs
|
|
SUBDIR+= null
|
|
SUBDIR+= onewire
|
|
SUBDIR+= overlay
|
|
SUBDIR+= pciverbose
|
|
SUBDIR+= pf
|
|
SUBDIR+= ppp_bsdcomp
|
|
SUBDIR+= ppp_deflate
|
|
SUBDIR+= procfs
|
|
SUBDIR+= ptyfs
|
|
SUBDIR+= puffs
|
|
SUBDIR+= putter
|
|
SUBDIR+= scsiverbose
|
|
SUBDIR+= sdtemp
|
|
SUBDIR+= secmodel_bsd44
|
|
SUBDIR+= secmodel_extensions
|
|
SUBDIR+= secmodel_overlay
|
|
SUBDIR+= securelevel
|
|
SUBDIR+= smbfs
|
|
SUBDIR+= spdmem
|
|
SUBDIR+= sysvbfs
|
|
SUBDIR+= suser
|
|
SUBDIR+= swsensor
|
|
SUBDIR+= tmpfs
|
|
SUBDIR+= uatp
|
|
SUBDIR+= udf
|
|
SUBDIR+= umap
|
|
SUBDIR+= union
|
|
SUBDIR+= usbverbose
|
|
SUBDIR+= vcoda
|
|
SUBDIR+= v7fs
|
|
SUBDIR+= vnd
|
|
SUBDIR+= tprof
|
|
.if (defined(NOTYET))
|
|
SUBDIR+= unionfs
|
|
.endif
|
|
.if ${MKBINUTILS} != "no"
|
|
SUBDIR+= xldscripts
|
|
.endif
|
|
|
|
# Machine dependent section
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_CPU} == "m68k"
|
|
SUBDIR+= exec_aout
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} != "alpha"
|
|
SUBDIR+= exec_elf32
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "alpha" || \
|
|
${MACHINE_ARCH} == "sparc64" || \
|
|
${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= exec_elf64
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= amdtemp
|
|
SUBDIR+= coretemp
|
|
SUBDIR+= est
|
|
SUBDIR+= hdafg
|
|
SUBDIR+= hdaudio
|
|
SUBDIR+= hpet
|
|
SUBDIR+= odcm
|
|
SUBDIR+= powernow
|
|
SUBDIR+= tprof_pmi
|
|
SUBDIR+= tprof_amdpmi
|
|
SUBDIR+= vmt
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "x86_64" || \
|
|
${MACHINE_ARCH} == "sparc"
|
|
SUBDIR+= bpfjit
|
|
SUBDIR+= sljit
|
|
.endif
|
|
|
|
#
|
|
# ACPI modules
|
|
#
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "ia64" || \
|
|
${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= acpiverbose
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= acpiacad
|
|
SUBDIR+= acpibat
|
|
SUBDIR+= acpibut
|
|
SUBDIR+= acpicpu
|
|
SUBDIR+= acpidalb
|
|
SUBDIR+= acpifan
|
|
SUBDIR+= acpilid
|
|
SUBDIR+= acpipmtr
|
|
SUBDIR+= acpitz
|
|
SUBDIR+= acpivga
|
|
SUBDIR+= acpiwdrt
|
|
SUBDIR+= acpiwmi
|
|
SUBDIR+= aibs
|
|
SUBDIR+= asus
|
|
SUBDIR+= fujbp
|
|
SUBDIR+= fujhk
|
|
SUBDIR+= hpacel
|
|
SUBDIR+= hpqlb
|
|
SUBDIR+= thinkpad
|
|
SUBDIR+= wmidell
|
|
SUBDIR+= wmieeepc
|
|
SUBDIR+= wmihp
|
|
SUBDIR+= wmimsi
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= azalia
|
|
SUBDIR+= compat_linux
|
|
SUBDIR+= compat_linux32
|
|
SUBDIR+= compat_netbsd32
|
|
SUBDIR+= drm
|
|
SUBDIR+= i915drm
|
|
SUBDIR+= pad
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
SUBDIR+= ati_pcigart
|
|
SUBDIR+= azalia
|
|
SUBDIR+= compat_freebsd
|
|
SUBDIR+= compat_ibcs2
|
|
SUBDIR+= compat_linux
|
|
SUBDIR+= compat_svr4
|
|
SUBDIR+= drm
|
|
SUBDIR+= i915drm
|
|
SUBDIR+= mach64drm
|
|
SUBDIR+= mgadrm
|
|
SUBDIR+= nsclpcsio
|
|
SUBDIR+= pad
|
|
SUBDIR+= padlock
|
|
SUBDIR+= r128drm
|
|
SUBDIR+= radeondrm
|
|
SUBDIR+= savagedrm
|
|
SUBDIR+= sisdrm
|
|
SUBDIR+= tdfxdrm
|
|
SUBDIR+= viac7temp
|
|
SUBDIR+= viadrm
|
|
.endif
|
|
|
|
#
|
|
# ISA modules
|
|
#
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= aps
|
|
SUBDIR+= finsio
|
|
SUBDIR+= itesio
|
|
SUBDIR+= lm
|
|
SUBDIR+= lm_isa
|
|
SUBDIR+= lm_isa_common
|
|
SUBDIR+= lm_wbsio
|
|
SUBDIR+= wbsio
|
|
.endif
|
|
|
|
.if ${MACHINE_CPU} == "m68k"
|
|
SUBDIR+= compat_aoutm68k
|
|
#SUBDIR+= compat_linux
|
|
#SUBDIR+= compat_sunos
|
|
#SUBDIR+= compat_svr4
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "x86_64" || \
|
|
${MACHINE_ARCH} == "sparc64"
|
|
SUBDIR+= pwdog
|
|
.endif
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
#
|
|
# NetBSD/usermode support
|
|
#
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "x86_64"
|
|
SUBDIR+= ../arch/usermode/modules/syscallemu
|
|
.endif
|
|
|
|
# we need our device mapper for LVM
|
|
.if (${MKLVM} != "no")
|
|
SUBDIR+= dm
|
|
.endif
|
|
|
|
.if (${MKDTRACE} != "no")
|
|
SUBDIR+= cyclic
|
|
SUBDIR+= dtrace
|
|
.endif
|
|
|
|
# we need solaris for the dtrace and zfs modules
|
|
.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
|
|
SUBDIR+= solaris
|
|
.endif
|
|
|
|
.if (${MKZFS} != "no")
|
|
SUBDIR+= zfs
|
|
.endif
|
|
|
|
.if (${MKCOMPATMODULES} != "no")
|
|
SUBDIR+= arch
|
|
.endif
|
|
|
|
#
|
|
# DTV modules
|
|
#
|
|
SUBDIR+= dtv
|
|
SUBDIR+= dtv_math
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
|
# tuners/demods
|
|
SUBDIR+= au8522
|
|
SUBDIR+= cx24227
|
|
SUBDIR+= lg3303
|
|
SUBDIR+= mt2131
|
|
SUBDIR+= nxt2k
|
|
SUBDIR+= tvpll
|
|
SUBDIR+= xc3028
|
|
SUBDIR+= xc5k
|
|
SUBDIR+= zl10353
|
|
# hardware drivers
|
|
SUBDIR+= auvitek
|
|
SUBDIR+= coram
|
|
SUBDIR+= cxdtv
|
|
SUBDIR+= emdtv
|
|
.endif
|
|
|
|
.if (${MKISCSI} != "no")
|
|
SUBDIR+= iscsi
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|