Home | History | Annotate | Line # | Download | only in modules
Makefile revision 1.142.2.5
      1  1.142.2.5     skrll #	$NetBSD: Makefile,v 1.142.2.5 2016/07/09 20:25:20 skrll Exp $
      2       1.37    dyoung 
      3       1.37    dyoung .include <bsd.own.mk>
      4       1.15        ad 
      5       1.15        ad # For all platforms
      6        1.1        ad 
      7       1.37    dyoung SUBDIR=		accf_dataready
      8       1.16        ad SUBDIR+=	accf_httpready
      9       1.15        ad SUBDIR+=	adosfs
     10       1.14        ad SUBDIR+=	aio
     11      1.133  pgoyette SUBDIR+=	blowfish
     12       1.38     pooka SUBDIR+=	bpf
     13  1.142.2.5     skrll SUBDIR+=	bpf_filter
     14      1.133  pgoyette SUBDIR+=	camellia
     15      1.133  pgoyette SUBDIR+=	cast128
     16      1.132  pgoyette SUBDIR+=	ccd
     17        1.7    rumble SUBDIR+=	cd9660
     18      1.129  pgoyette SUBDIR+=	cgd
     19      1.132  pgoyette SUBDIR+=	chfs
     20  1.142.2.4     skrll SUBDIR+=	clockctl
     21      1.134  pgoyette SUBDIR+=	crypto
     22        1.7    rumble SUBDIR+=	coda
     23        1.7    rumble SUBDIR+=	coda5
     24       1.15        ad SUBDIR+=	compat
     25       1.15        ad SUBDIR+=	compat_ossaudio
     26       1.15        ad SUBDIR+=	coredump
     27      1.104  pgoyette SUBDIR+=	dbcool
     28      1.133  pgoyette SUBDIR+=	des
     29      1.129  pgoyette SUBDIR+=	dk_subr
     30  1.142.2.4     skrll SUBDIR+=	drvctl
     31        1.7    rumble SUBDIR+=	efs
     32        1.7    rumble SUBDIR+=	ext2fs
     33       1.15        ad SUBDIR+=	exec_script
     34        1.7    rumble SUBDIR+=	fdesc
     35        1.7    rumble SUBDIR+=	ffs
     36       1.18        ad SUBDIR+=	filecore
     37       1.93       sjg SUBDIR+=	filemon
     38       1.68     ahoka SUBDIR+=	flash
     39       1.15        ad SUBDIR+=	fss
     40       1.89   mbalmer SUBDIR+=	gpio
     41       1.94   mbalmer SUBDIR+=	gpioiic
     42       1.92   mbalmer SUBDIR+=	gpioow
     43       1.89   mbalmer SUBDIR+=	gpiosim
     44        1.7    rumble SUBDIR+=	hfs
     45      1.136    kardel SUBDIR+=	hythygtemp
     46  1.142.2.1     skrll SUBDIR+=	i2cexec
     47  1.142.2.5     skrll SUBDIR+=	i2c_bitbang
     48      1.105  pgoyette SUBDIR+=	if_axe
     49      1.120    nonaka SUBDIR+=	if_axen
     50      1.118  christos SUBDIR+=	if_npflog
     51      1.124     skrll SUBDIR+=	if_smsc
     52       1.94   mbalmer SUBDIR+=	iic
     53  1.142.2.5     skrll SUBDIR+=	ipl
     54        1.7    rumble SUBDIR+=	kernfs
     55       1.22        ad SUBDIR+=	layerfs
     56        1.7    rumble SUBDIR+=	lfs
     57      1.121   mbalmer SUBDIR+=	lua
     58      1.128     lneto SUBDIR+=	luasystm
     59      1.123   mbalmer SUBDIR+=	luapmf
     60        1.7    rumble SUBDIR+=	mfs
     61       1.45  pgoyette SUBDIR+=	miiverbose
     62       1.45  pgoyette SUBDIR+=	miniroot
     63       1.31     rmind SUBDIR+=	mqueue
     64       1.18        ad SUBDIR+=	msdos
     65       1.68     ahoka SUBDIR+=	nand
     66       1.68     ahoka SUBDIR+=	nandemulator
     67       1.15        ad SUBDIR+=	nfs
     68       1.15        ad SUBDIR+=	nfsserver
     69       1.30   reinoud SUBDIR+=	nilfs
     70       1.96      tron SUBDIR+=	npf
     71       1.97      tron SUBDIR+=	npf_alg_icmp
     72      1.111     rmind SUBDIR+=	npf_ext_log
     73      1.119  christos SUBDIR+=	npf_ext_normalize
     74      1.117     rmind SUBDIR+=	npf_ext_rndblock
     75        1.7    rumble SUBDIR+=	ntfs
     76       1.18        ad SUBDIR+=	null
     77       1.92   mbalmer SUBDIR+=	onewire
     78      1.134  pgoyette SUBDIR+=	opencrypto
     79        1.7    rumble SUBDIR+=	overlay
     80       1.42  pgoyette SUBDIR+=	pciverbose
     81       1.41     ahoka SUBDIR+=	pf
     82       1.19      cube SUBDIR+=	ppp_bsdcomp
     83       1.19      cube SUBDIR+=	ppp_deflate
     84        1.7    rumble SUBDIR+=	procfs
     85        1.7    rumble SUBDIR+=	ptyfs
     86        1.7    rumble SUBDIR+=	puffs
     87       1.15        ad SUBDIR+=	putter
     88  1.142.2.4     skrll SUBDIR+=	raid
     89       1.44  pgoyette SUBDIR+=	scsiverbose
     90      1.103  pgoyette SUBDIR+=	sdtemp
     91       1.33      elad SUBDIR+=	secmodel_bsd44
     92      1.100       jym SUBDIR+=	secmodel_extensions
     93       1.33      elad SUBDIR+=	secmodel_overlay
     94       1.33      elad SUBDIR+=	securelevel
     95      1.133  pgoyette SUBDIR+=	skipjack
     96        1.7    rumble SUBDIR+=	smbfs
     97       1.81  pgoyette SUBDIR+=	spdmem
     98  1.142.2.2     skrll SUBDIR+=	sysmon
     99  1.142.2.2     skrll SUBDIR+=	sysmon_envsys
    100  1.142.2.2     skrll SUBDIR+=	sysmon_power
    101  1.142.2.2     skrll SUBDIR+=	sysmon_taskq
    102  1.142.2.2     skrll SUBDIR+=	sysmon_wdog
    103       1.24     pooka SUBDIR+=	sysvbfs
    104  1.142.2.2     skrll SUBDIR+=	sysv_ipc
    105       1.33      elad SUBDIR+=	suser
    106      1.134  pgoyette SUBDIR+=	swcrypto
    107       1.48  pgoyette SUBDIR+=	swsensor
    108  1.142.2.2     skrll SUBDIR+=	swwdog
    109        1.7    rumble SUBDIR+=	tmpfs
    110      1.108  riastrad SUBDIR+=	uatp
    111        1.7    rumble SUBDIR+=	udf
    112       1.18        ad SUBDIR+=	umap
    113        1.7    rumble SUBDIR+=	union
    114       1.43  pgoyette SUBDIR+=	usbverbose
    115      1.106  christos SUBDIR+=	vcoda
    116       1.78     enami SUBDIR+=	v7fs
    117       1.25      haad SUBDIR+=	vnd
    118  1.142.2.4     skrll SUBDIR+=	wapbl
    119      1.131  pgoyette SUBDIR+=	zlib
    120       1.29      yamt SUBDIR+=	tprof
    121        1.7    rumble .if (defined(NOTYET))
    122      1.135  pgoyette SUBDIR+=	hifn		# Builds on architectures with PCI bus
    123        1.7    rumble SUBDIR+=	unionfs
    124        1.7    rumble .endif
    125       1.37    dyoung .if ${MKBINUTILS} != "no"
    126       1.37    dyoung SUBDIR+=	xldscripts
    127       1.37    dyoung .endif
    128        1.7    rumble 
    129       1.15        ad # Machine dependent section
    130       1.47   tsutsui .if ${MACHINE_ARCH} == "i386" || \
    131       1.49   tsutsui     ${MACHINE_CPU} == "m68k"
    132       1.47   tsutsui SUBDIR+=	exec_aout
    133       1.47   tsutsui .endif
    134       1.47   tsutsui 
    135      1.139      matt .if ${MACHINE_ARCH} != "alpha" && ${MACHINE_CPU} != "aarch64"
    136       1.17    martin SUBDIR+=	exec_elf32
    137       1.17    martin .endif
    138       1.15        ad 
    139      1.139      matt .if ${MACHINE_CPU} == "aarch64" || \
    140      1.139      matt     ${MACHINE_ARCH} == "alpha" || \
    141       1.21   tsutsui     ${MACHINE_ARCH} == "sparc64" || \
    142       1.21   tsutsui     ${MACHINE_ARCH} == "x86_64"
    143       1.20        he SUBDIR+=	exec_elf64
    144       1.20        he .endif
    145       1.20        he 
    146       1.29      yamt .if ${MACHINE_ARCH} == "i386" || \
    147       1.29      yamt     ${MACHINE_ARCH} == "x86_64"
    148       1.71    jruoho SUBDIR+=	amdtemp
    149       1.64    jruoho SUBDIR+=	coretemp
    150       1.65    jruoho SUBDIR+=	est
    151      1.110    martin SUBDIR+=	hdafg
    152      1.110    martin SUBDIR+=	hdaudio
    153  1.142.2.1     skrll SUBDIR+=	hdaudio_pci
    154      1.141  christos SUBDIR+=	hdaudioverbose
    155       1.72    jruoho SUBDIR+=	hpet
    156       1.69    jruoho SUBDIR+=	odcm
    157       1.66    jruoho SUBDIR+=	powernow
    158  1.142.2.2     skrll SUBDIR+=	tco
    159       1.29      yamt SUBDIR+=	tprof_pmi
    160       1.70      yamt SUBDIR+=	tprof_amdpmi
    161       1.95  jmcneill SUBDIR+=	vmt
    162       1.29      yamt .endif
    163       1.29      yamt 
    164      1.140       bad .if ${MACHINE_ARCH} == "i386" || \
    165      1.137       bad     ${MACHINE_ARCH} == "x86_64"
    166      1.137       bad SUBDIR+=	ubsec		# Builds on architectures with PCI bus
    167      1.137       bad .endif
    168      1.137       bad 
    169      1.126     alnsn .if ${MKSLJIT} != "no"
    170      1.126     alnsn # No modules for arm, mips and powerpc yet.
    171      1.114     alnsn .if ${MACHINE_ARCH} == "i386" || \
    172      1.115     alnsn     ${MACHINE_ARCH} == "x86_64" || \
    173      1.115     alnsn     ${MACHINE_ARCH} == "sparc"
    174      1.113     alnsn SUBDIR+=	bpfjit
    175      1.112     alnsn SUBDIR+=	sljit
    176      1.112     alnsn .endif
    177      1.126     alnsn .endif
    178      1.112     alnsn 
    179       1.85    jruoho #
    180       1.85    jruoho # ACPI modules
    181       1.85    jruoho #
    182       1.46  pgoyette .if ${MACHINE_ARCH} == "i386" || \
    183       1.46  pgoyette     ${MACHINE_ARCH} == "ia64" || \
    184       1.46  pgoyette     ${MACHINE_ARCH} == "x86_64"
    185       1.46  pgoyette SUBDIR+=	acpiverbose
    186       1.46  pgoyette .endif
    187       1.46  pgoyette 
    188       1.50  jmcneill .if ${MACHINE_ARCH} == "i386" || \
    189       1.50  jmcneill     ${MACHINE_ARCH} == "x86_64"
    190       1.52    jruoho SUBDIR+=	acpiacad
    191       1.52    jruoho SUBDIR+=	acpibat
    192       1.52    jruoho SUBDIR+=	acpibut
    193       1.52    jruoho SUBDIR+=	acpicpu
    194       1.53    jruoho SUBDIR+=	acpidalb
    195       1.58    jruoho SUBDIR+=	acpifan
    196       1.52    jruoho SUBDIR+=	acpilid
    197       1.57    jruoho SUBDIR+=	acpipmtr
    198       1.53    jruoho SUBDIR+=	acpitz
    199       1.53    jruoho SUBDIR+=	acpivga
    200       1.86    jruoho SUBDIR+=	acpiwdrt
    201       1.51  jmcneill SUBDIR+=	acpiwmi
    202       1.53    jruoho SUBDIR+=	aibs
    203       1.54    jruoho SUBDIR+=	asus
    204       1.63    jruoho SUBDIR+=	fujbp
    205       1.63    jruoho SUBDIR+=	fujhk
    206       1.75    jruoho SUBDIR+=	hpacel
    207       1.54    jruoho SUBDIR+=	hpqlb
    208       1.52    jruoho SUBDIR+=	thinkpad
    209       1.50  jmcneill SUBDIR+=	wmidell
    210       1.83    jruoho SUBDIR+=	wmieeepc
    211       1.50  jmcneill SUBDIR+=	wmihp
    212       1.50  jmcneill SUBDIR+=	wmimsi
    213       1.50  jmcneill .endif
    214       1.50  jmcneill 
    215  1.142.2.3     skrll .if ${MACHINE_CPU} == "arm" \
    216  1.142.2.3     skrll     || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE))
    217  1.142.2.2     skrll SUBDIR+=	compat_netbsd32
    218  1.142.2.4     skrll SUBDIR+=	compat_netbsd32_nfssrv
    219  1.142.2.4     skrll SUBDIR+=	compat_netbsd32_mqueue
    220  1.142.2.4     skrll SUBDIR+=	compat_netbsd32_sysvipc
    221  1.142.2.2     skrll .endif
    222  1.142.2.2     skrll 
    223       1.27       abs .if ${MACHINE_ARCH} == "x86_64"
    224       1.15        ad SUBDIR+=	compat_linux32
    225       1.15        ad SUBDIR+=	compat_netbsd32
    226  1.142.2.4     skrll SUBDIR+=	compat_netbsd32_nfssrv
    227  1.142.2.4     skrll SUBDIR+=	compat_netbsd32_mqueue
    228  1.142.2.4     skrll SUBDIR+=	compat_netbsd32_sysvipc
    229       1.15        ad .endif
    230       1.15        ad 
    231       1.27       abs .if ${MACHINE_ARCH} == "i386"
    232       1.90  jmcneill SUBDIR+=	ati_pcigart
    233       1.15        ad SUBDIR+=	compat_freebsd
    234       1.15        ad SUBDIR+=	compat_ibcs2
    235       1.15        ad SUBDIR+=	compat_svr4
    236       1.90  jmcneill SUBDIR+=	mach64drm
    237       1.90  jmcneill SUBDIR+=	mgadrm
    238       1.76  jmcneill SUBDIR+=	nsclpcsio
    239       1.62  jmcneill SUBDIR+=	padlock
    240       1.90  jmcneill SUBDIR+=	r128drm
    241       1.90  jmcneill SUBDIR+=	radeondrm
    242       1.90  jmcneill SUBDIR+=	savagedrm
    243       1.90  jmcneill SUBDIR+=	sisdrm
    244       1.90  jmcneill SUBDIR+=	tdfxdrm
    245       1.67    jruoho SUBDIR+=	viac7temp
    246       1.90  jmcneill SUBDIR+=	viadrm
    247  1.142.2.2     skrll SUBDIR+=	viadrmums
    248       1.15        ad .endif
    249       1.15        ad 
    250      1.142  christos .if ${MACHINE_ARCH} == "i386" || \
    251      1.142  christos     ${MACHINE_ARCH} == "x86_64"
    252      1.142  christos SUBDIR+=	azalia
    253      1.142  christos SUBDIR+=	compat_linux
    254      1.142  christos SUBDIR+=	drm
    255      1.142  christos SUBDIR+=	drmkms
    256      1.142  christos SUBDIR+=	drmkms_linux
    257      1.142  christos SUBDIR+=	drmkms_pci
    258      1.142  christos SUBDIR+=	i915drm
    259      1.142  christos SUBDIR+=	i915drmkms
    260      1.142  christos SUBDIR+=	pad
    261       1.85    jruoho #
    262       1.85    jruoho # ISA modules
    263       1.85    jruoho #
    264       1.59  jmcneill SUBDIR+=	aps
    265       1.80  jmcneill SUBDIR+=	finsio
    266       1.79  jmcneill SUBDIR+=	itesio
    267      1.101  jakllsch SUBDIR+=	lm
    268      1.101  jakllsch SUBDIR+=	lm_isa
    269      1.101  jakllsch SUBDIR+=	lm_isa_common
    270      1.101  jakllsch SUBDIR+=	lm_wbsio
    271      1.101  jakllsch SUBDIR+=	wbsio
    272       1.56  jmcneill .endif
    273       1.56  jmcneill 
    274       1.49   tsutsui .if ${MACHINE_CPU} == "m68k"
    275       1.47   tsutsui SUBDIR+=	compat_aoutm68k
    276       1.47   tsutsui #SUBDIR+=	compat_linux
    277       1.47   tsutsui #SUBDIR+=	compat_sunos
    278       1.47   tsutsui #SUBDIR+=	compat_svr4
    279       1.47   tsutsui .endif
    280       1.47   tsutsui 
    281       1.88   mbalmer .if ${MACHINE_ARCH} == "i386" || \
    282       1.88   mbalmer     ${MACHINE_ARCH} == "x86_64" || \
    283       1.88   mbalmer     ${MACHINE_ARCH} == "sparc64"
    284       1.88   mbalmer SUBDIR+=	pwdog
    285       1.88   mbalmer .endif
    286       1.88   mbalmer 
    287       1.23       agc .include <bsd.own.mk>
    288       1.23       agc 
    289      1.107   reinoud #
    290      1.107   reinoud # NetBSD/usermode support
    291      1.107   reinoud #
    292      1.107   reinoud .if ${MACHINE_ARCH} == "i386" || \
    293      1.107   reinoud     ${MACHINE_ARCH} == "x86_64"
    294      1.107   reinoud SUBDIR+=	../arch/usermode/modules/syscallemu
    295      1.107   reinoud .endif
    296      1.107   reinoud 
    297       1.23       agc # we need our device mapper for LVM
    298       1.23       agc .if (${MKLVM} != "no")
    299       1.28      yamt SUBDIR+= 	dm
    300       1.23       agc .endif
    301       1.23       agc 
    302       1.39    darran .if (${MKDTRACE} != "no")
    303      1.116       chs SUBDIR+=	cyclic
    304       1.39    darran SUBDIR+=	dtrace
    305       1.39    darran .endif
    306       1.39    darran 
    307       1.39    darran # we need solaris for the dtrace and zfs modules
    308       1.39    darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no")
    309       1.39    darran SUBDIR+=        solaris
    310       1.39    darran .endif
    311       1.39    darran 
    312       1.34      haad .if (${MKZFS} != "no")
    313       1.34      haad SUBDIR+=	zfs
    314       1.34      haad .endif
    315       1.34      haad 
    316       1.73       mrg .if (${MKCOMPATMODULES} != "no")
    317       1.73       mrg SUBDIR+=	arch
    318       1.73       mrg .endif
    319       1.73       mrg 
    320       1.84  jmcneill #
    321       1.84  jmcneill # DTV modules
    322       1.84  jmcneill #
    323       1.84  jmcneill SUBDIR+=	dtv
    324       1.84  jmcneill SUBDIR+=	dtv_math
    325       1.84  jmcneill .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
    326       1.84  jmcneill # tuners/demods
    327       1.84  jmcneill SUBDIR+=	au8522
    328       1.84  jmcneill SUBDIR+=	cx24227
    329       1.84  jmcneill SUBDIR+=	lg3303
    330       1.84  jmcneill SUBDIR+=	mt2131
    331       1.84  jmcneill SUBDIR+=	nxt2k
    332       1.84  jmcneill SUBDIR+=	tvpll
    333       1.84  jmcneill SUBDIR+=	xc3028
    334       1.84  jmcneill SUBDIR+=	xc5k
    335       1.91    jruoho SUBDIR+=	zl10353
    336       1.84  jmcneill # hardware drivers
    337       1.84  jmcneill SUBDIR+=	auvitek
    338       1.84  jmcneill SUBDIR+=	coram
    339       1.84  jmcneill SUBDIR+=	cxdtv
    340       1.84  jmcneill SUBDIR+=	emdtv
    341  1.142.2.2     skrll SUBDIR+=	spkr
    342       1.84  jmcneill .endif
    343       1.84  jmcneill 
    344       1.98       riz .if (${MKISCSI} != "no")
    345       1.98       riz SUBDIR+=	iscsi
    346       1.98       riz .endif
    347       1.98       riz 
    348  1.142.2.2     skrll SUBDIR+=	examples	# build these regularly to avoid bit-rot
    349  1.142.2.2     skrll 
    350        1.1        ad .include <bsd.subdir.mk>
    351