2024-05-20 21:14:38 +03:00
|
|
|
# $NetBSD: Makefile,v 1.290 2024/05/20 18:14:38 pgoyette Exp $
|
2010-01-05 23:49:04 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2008-11-19 21:35:57 +03:00
|
|
|
|
2024-03-09 09:53:48 +03:00
|
|
|
.if !make(includes)
|
2008-11-19 21:35:57 +03:00
|
|
|
# For all platforms
|
2008-05-03 03:12:00 +04:00
|
|
|
|
2021-08-09 23:49:08 +03:00
|
|
|
# Modules for compatibility with earlier versions of NetBSD
|
2019-01-27 05:08:33 +03:00
|
|
|
|
|
|
|
SUBDIR+= compat_util
|
|
|
|
SUBDIR+= compat_43 compat_sysctl_09_43
|
|
|
|
SUBDIR+= compat_09 compat_10 compat_12 compat_13 compat_14
|
|
|
|
SUBDIR+= compat_16 compat_20 compat_30 compat_40 compat_50
|
2022-12-20 02:19:51 +03:00
|
|
|
SUBDIR+= compat_60 compat_70 compat_80 compat_90 compat_100
|
2024-05-20 16:34:12 +03:00
|
|
|
|
|
|
|
# Not until 11.0 is released and we need binary compatibility with it
|
|
|
|
# in >11.0.
|
|
|
|
#SUBDIR+= compat_110
|
2019-01-27 05:08:33 +03:00
|
|
|
|
|
|
|
SUBDIR+= compat_sysv_10 compat_sysv_14 compat_sysv_50
|
|
|
|
|
2020-01-21 05:37:16 +03:00
|
|
|
SUBDIR+= compat_50_quota
|
|
|
|
|
2019-01-27 05:08:33 +03:00
|
|
|
SUBDIR+= compat_raid_50
|
|
|
|
SUBDIR+= compat_raid_80
|
|
|
|
|
|
|
|
SUBDIR+= compat_crypto_50
|
|
|
|
|
|
|
|
SUBDIR+= accf_dataready
|
2008-11-20 12:58:45 +03:00
|
|
|
SUBDIR+= accf_httpready
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= adosfs
|
2022-04-02 00:09:24 +03:00
|
|
|
SUBDIR+= adiantum
|
2022-11-17 22:20:05 +03:00
|
|
|
SUBDIR+= aht20temp
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= aio
|
2017-06-01 12:58:27 +03:00
|
|
|
SUBDIR+= audio
|
2018-01-09 06:31:12 +03:00
|
|
|
SUBDIR+= autofs
|
2021-08-18 12:07:07 +03:00
|
|
|
SUBDIR+= blake2s
|
2014-01-01 19:18:57 +04:00
|
|
|
SUBDIR+= blowfish
|
2010-01-26 01:21:28 +03:00
|
|
|
SUBDIR+= bpf
|
2016-06-07 04:06:27 +03:00
|
|
|
SUBDIR+= bpf_filter
|
2022-11-22 00:24:00 +03:00
|
|
|
SUBDIR+= bmx280thp
|
2022-12-03 04:04:42 +03:00
|
|
|
SUBDIR+= bmx280thpi2c
|
2016-11-16 03:49:27 +03:00
|
|
|
SUBDIR+= bufq_disksort
|
|
|
|
SUBDIR+= bufq_fcfs
|
|
|
|
SUBDIR+= bufq_priocscan
|
|
|
|
SUBDIR+= bufq_readprio
|
2014-01-01 19:18:57 +04:00
|
|
|
SUBDIR+= camellia
|
|
|
|
SUBDIR+= cast128
|
2013-12-28 23:45:13 +04:00
|
|
|
SUBDIR+= ccd
|
2013-12-29 20:32:32 +04:00
|
|
|
SUBDIR+= cd9660
|
2013-12-28 23:25:07 +04:00
|
|
|
SUBDIR+= cgd
|
2013-12-29 20:32:32 +04:00
|
|
|
SUBDIR+= chfs
|
2015-12-07 06:25:57 +03:00
|
|
|
SUBDIR+= clockctl
|
2019-01-27 05:08:33 +03:00
|
|
|
SUBDIR+= compat_ossaudio
|
2014-01-01 20:06:00 +04:00
|
|
|
SUBDIR+= crypto
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= coda
|
|
|
|
SUBDIR+= coda5
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= coredump
|
2012-04-25 08:49:46 +04:00
|
|
|
SUBDIR+= dbcool
|
2014-01-01 19:18:57 +04:00
|
|
|
SUBDIR+= des
|
2013-12-28 23:25:07 +04:00
|
|
|
SUBDIR+= dk_subr
|
2015-12-07 14:38:46 +03:00
|
|
|
SUBDIR+= drvctl
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= efs
|
|
|
|
SUBDIR+= ext2fs
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= exec_script
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= fdesc
|
|
|
|
SUBDIR+= ffs
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= filecore
|
2011-02-26 21:07:13 +03:00
|
|
|
SUBDIR+= flash
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= fss
|
2011-08-12 12:00:52 +04:00
|
|
|
SUBDIR+= gpio
|
2011-10-02 16:13:08 +04:00
|
|
|
SUBDIR+= gpioiic
|
2011-08-31 17:25:49 +04:00
|
|
|
SUBDIR+= gpioow
|
2011-08-12 12:00:52 +04:00
|
|
|
SUBDIR+= gpiosim
|
2018-05-19 17:15:39 +03:00
|
|
|
SUBDIR+= gpioirq
|
2018-05-20 17:08:32 +03:00
|
|
|
SUBDIR+= gpiopps
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= hfs
|
2014-05-18 15:46:23 +04:00
|
|
|
SUBDIR+= hythygtemp
|
2017-12-29 05:14:25 +03:00
|
|
|
SUBDIR+= am2315temp
|
2015-03-07 17:16:51 +03:00
|
|
|
SUBDIR+= i2cexec
|
2016-06-07 04:06:27 +03:00
|
|
|
SUBDIR+= i2c_bitbang
|
2022-04-01 18:49:11 +03:00
|
|
|
SUBDIR+= i2c_subr
|
2016-08-07 17:27:38 +03:00
|
|
|
SUBDIR+= if_agr
|
2019-09-17 10:36:51 +03:00
|
|
|
SUBDIR+= if_aue
|
2012-04-25 17:55:17 +04:00
|
|
|
SUBDIR+= if_axe
|
2013-10-26 13:16:19 +04:00
|
|
|
SUBDIR+= if_axen
|
2019-09-17 10:36:51 +03:00
|
|
|
SUBDIR+= if_cdce
|
|
|
|
SUBDIR+= if_cue
|
2016-08-07 17:27:38 +03:00
|
|
|
SUBDIR+= if_faith
|
|
|
|
SUBDIR+= if_gif
|
|
|
|
SUBDIR+= if_gre
|
2019-09-17 10:36:51 +03:00
|
|
|
SUBDIR+= if_kue
|
2017-02-16 11:12:43 +03:00
|
|
|
SUBDIR+= if_l2tp
|
2021-05-17 07:07:41 +03:00
|
|
|
SUBDIR+= if_lagg
|
2016-08-07 17:27:38 +03:00
|
|
|
SUBDIR+= if_loop
|
|
|
|
SUBDIR+= if_mpls
|
2018-08-25 23:12:21 +03:00
|
|
|
SUBDIR+= if_mue
|
2013-03-11 00:54:14 +04:00
|
|
|
SUBDIR+= if_npflog
|
2016-08-06 09:04:48 +03:00
|
|
|
SUBDIR+= if_ppp
|
2016-08-07 02:46:30 +03:00
|
|
|
SUBDIR+= if_pppoe
|
2021-09-11 19:10:37 +03:00
|
|
|
SUBDIR+= if_run
|
2016-08-06 15:44:03 +03:00
|
|
|
SUBDIR+= if_sl
|
2013-11-16 20:59:03 +04:00
|
|
|
SUBDIR+= if_smsc
|
2019-03-26 03:36:14 +03:00
|
|
|
SUBDIR+= if_srt srt
|
2016-08-07 17:27:38 +03:00
|
|
|
SUBDIR+= if_stf
|
2019-03-24 14:20:26 +03:00
|
|
|
SUBDIR+= if_tap tap
|
2016-09-10 05:20:10 +03:00
|
|
|
SUBDIR+= if_tun tun
|
2019-08-08 19:06:14 +03:00
|
|
|
SUBDIR+= if_udav
|
2019-09-17 10:36:51 +03:00
|
|
|
SUBDIR+= if_upl
|
2019-02-06 14:55:05 +03:00
|
|
|
SUBDIR+= if_ure
|
2019-09-17 10:36:51 +03:00
|
|
|
SUBDIR+= if_url
|
|
|
|
SUBDIR+= if_urndis
|
2016-08-07 17:27:38 +03:00
|
|
|
SUBDIR+= if_vlan
|
2021-08-17 20:29:19 +03:00
|
|
|
SUBDIR+= if_wg
|
2011-10-02 16:13:08 +04:00
|
|
|
SUBDIR+= iic
|
2017-12-09 11:03:06 +03:00
|
|
|
SUBDIR+= ip_ecn
|
2016-06-09 07:44:18 +03:00
|
|
|
SUBDIR+= ipl
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= kernfs
|
2008-12-05 16:05:37 +03:00
|
|
|
SUBDIR+= layerfs
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= lfs
|
2013-10-28 22:51:13 +04:00
|
|
|
SUBDIR+= lua
|
2013-12-17 03:54:26 +04:00
|
|
|
SUBDIR+= luasystm
|
2013-10-29 00:32:14 +04:00
|
|
|
SUBDIR+= luapmf
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= mfs
|
2017-06-01 12:58:27 +03:00
|
|
|
SUBDIR+= midi
|
2022-06-04 06:31:10 +03:00
|
|
|
SUBDIR+= midi_seq
|
2010-05-30 21:44:07 +04:00
|
|
|
SUBDIR+= miiverbose
|
|
|
|
SUBDIR+= miniroot
|
2009-07-19 06:50:44 +04:00
|
|
|
SUBDIR+= mqueue
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= msdos
|
2011-02-26 21:07:13 +03:00
|
|
|
SUBDIR+= nand
|
|
|
|
SUBDIR+= nandemulator
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= nfs
|
|
|
|
SUBDIR+= nfsserver
|
2009-07-18 20:31:41 +04:00
|
|
|
SUBDIR+= nilfs
|
2011-11-06 15:51:23 +04:00
|
|
|
SUBDIR+= npf
|
2011-11-06 17:26:54 +04:00
|
|
|
SUBDIR+= npf_alg_icmp
|
2012-09-16 17:47:41 +04:00
|
|
|
SUBDIR+= npf_ext_log
|
2013-03-13 00:47:48 +04:00
|
|
|
SUBDIR+= npf_ext_normalize
|
2012-12-10 04:32:23 +04:00
|
|
|
SUBDIR+= npf_ext_rndblock
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= ntfs
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= null
|
2011-08-31 17:25:49 +04:00
|
|
|
SUBDIR+= onewire
|
2014-01-01 20:06:00 +04:00
|
|
|
SUBDIR+= opencrypto
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= overlay
|
2023-08-27 16:20:09 +03:00
|
|
|
SUBDIR+= owtemp
|
2021-03-25 12:49:00 +03:00
|
|
|
SUBDIR+= pad
|
2010-05-25 00:29:40 +04:00
|
|
|
SUBDIR+= pciverbose
|
2010-04-12 18:08:58 +04:00
|
|
|
SUBDIR+= pf
|
2008-11-25 15:50:03 +03:00
|
|
|
SUBDIR+= ppp_bsdcomp
|
|
|
|
SUBDIR+= ppp_deflate
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= procfs
|
2016-11-02 03:11:59 +03:00
|
|
|
SUBDIR+= ptrace
|
|
|
|
SUBDIR+= ptrace_common
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= ptyfs
|
|
|
|
SUBDIR+= puffs
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= putter
|
2015-12-26 04:00:01 +03:00
|
|
|
SUBDIR+= raid
|
2021-12-07 20:39:53 +03:00
|
|
|
SUBDIR+= scmd
|
|
|
|
SUBDIR+= scmdi2c
|
2022-04-14 19:50:26 +03:00
|
|
|
SUBDIR+= scsi_subr
|
|
|
|
SUBDIR+= scsiverbose
|
2012-04-25 07:44:16 +04:00
|
|
|
SUBDIR+= sdtemp
|
First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
and directory, pending even more cleanups. For revision history
purposes, the original location of the files was
src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
src/sys/secmodel/bsd44/suser.h
- Add a man-page for secmodel_suser(9) and update the one for
secmodel_bsd44(9).
- Add a "secmodel" module class and use it. Userland program and
documentation updated.
- Manage secmodel count (nsecmodels) through the module framework.
This eliminates the need for secmodel_{,de}register() calls in
secmodel code.
- Prepare for secmodel modularization by adding relevant module bits.
The secmodels don't allow auto unload. The bsd44 secmodel depends
on the suser and securelevel secmodels. The overlay secmodel depends
on the bsd44 secmodel. As the module class is only cosmetic, and to
prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
"secmodel_".
- Adapt the overlay secmodel to recent changes (mainly vnode scope).
- Stop using link-sets for the sysctl node(s) creation.
- Keep sysctl variables under nodes of their relevant secmodels. In
other words, don't create duplicates for the suser/securelevel
secmodels under the bsd44 secmodel, as the latter is merely used
for "grouping".
- For the suser and securelevel secmodels, "advertise presence" in
relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).
- Get rid of the LKM preprocessor stuff.
- As secmodels are now modules, there's no need for an explicit call
to secmodel_start(); it's handled by the module framework. That
said, the module framework was adjusted to properly load secmodels
early during system startup.
- Adapt rump to changes: Instead of using empty stubs for securelevel,
simply use the suser secmodel. Also replace secmodel_start() with a
call to secmodel_suser_start().
- 5.99.20.
Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 22:50:12 +04:00
|
|
|
SUBDIR+= secmodel_bsd44
|
2011-12-05 03:13:54 +04:00
|
|
|
SUBDIR+= secmodel_extensions
|
First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
and directory, pending even more cleanups. For revision history
purposes, the original location of the files was
src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
src/sys/secmodel/bsd44/suser.h
- Add a man-page for secmodel_suser(9) and update the one for
secmodel_bsd44(9).
- Add a "secmodel" module class and use it. Userland program and
documentation updated.
- Manage secmodel count (nsecmodels) through the module framework.
This eliminates the need for secmodel_{,de}register() calls in
secmodel code.
- Prepare for secmodel modularization by adding relevant module bits.
The secmodels don't allow auto unload. The bsd44 secmodel depends
on the suser and securelevel secmodels. The overlay secmodel depends
on the bsd44 secmodel. As the module class is only cosmetic, and to
prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
"secmodel_".
- Adapt the overlay secmodel to recent changes (mainly vnode scope).
- Stop using link-sets for the sysctl node(s) creation.
- Keep sysctl variables under nodes of their relevant secmodels. In
other words, don't create duplicates for the suser/securelevel
secmodels under the bsd44 secmodel, as the latter is merely used
for "grouping".
- For the suser and securelevel secmodels, "advertise presence" in
relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).
- Get rid of the LKM preprocessor stuff.
- As secmodels are now modules, there's no need for an explicit call
to secmodel_start(); it's handled by the module framework. That
said, the module framework was adjusted to properly load secmodels
early during system startup.
- Adapt rump to changes: Instead of using empty stubs for securelevel,
simply use the suser secmodel. Also replace secmodel_start() with a
call to secmodel_suser_start().
- 5.99.20.
Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 22:50:12 +04:00
|
|
|
SUBDIR+= secmodel_overlay
|
|
|
|
SUBDIR+= securelevel
|
2017-06-01 12:58:27 +03:00
|
|
|
SUBDIR+= sequencer
|
2021-12-07 20:39:53 +03:00
|
|
|
SUBDIR+= sgp40mox
|
|
|
|
SUBDIR+= sht3xtemp
|
|
|
|
SUBDIR+= sht4xtemp
|
|
|
|
SUBDIR+= si70xxtemp
|
2014-01-01 19:18:57 +04:00
|
|
|
SUBDIR+= skipjack
|
2016-08-05 02:53:47 +03:00
|
|
|
SUBDIR+= slcompress
|
2011-08-01 07:51:05 +04:00
|
|
|
SUBDIR+= spdmem
|
2016-12-15 09:48:14 +03:00
|
|
|
SUBDIR+= spkr
|
2016-08-07 01:03:45 +03:00
|
|
|
SUBDIR+= sppp_subr
|
2015-04-24 02:22:27 +03:00
|
|
|
SUBDIR+= sysmon
|
|
|
|
SUBDIR+= sysmon_envsys
|
|
|
|
SUBDIR+= sysmon_power
|
|
|
|
SUBDIR+= sysmon_taskq
|
|
|
|
SUBDIR+= sysmon_wdog
|
2009-01-05 18:36:51 +03:00
|
|
|
SUBDIR+= sysvbfs
|
2015-05-13 05:15:34 +03:00
|
|
|
SUBDIR+= sysv_ipc
|
First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
and directory, pending even more cleanups. For revision history
purposes, the original location of the files was
src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
src/sys/secmodel/bsd44/suser.h
- Add a man-page for secmodel_suser(9) and update the one for
secmodel_bsd44(9).
- Add a "secmodel" module class and use it. Userland program and
documentation updated.
- Manage secmodel count (nsecmodels) through the module framework.
This eliminates the need for secmodel_{,de}register() calls in
secmodel code.
- Prepare for secmodel modularization by adding relevant module bits.
The secmodels don't allow auto unload. The bsd44 secmodel depends
on the suser and securelevel secmodels. The overlay secmodel depends
on the bsd44 secmodel. As the module class is only cosmetic, and to
prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
"secmodel_".
- Adapt the overlay secmodel to recent changes (mainly vnode scope).
- Stop using link-sets for the sysctl node(s) creation.
- Keep sysctl variables under nodes of their relevant secmodels. In
other words, don't create duplicates for the suser/securelevel
secmodels under the bsd44 secmodel, as the latter is merely used
for "grouping".
- For the suser and securelevel secmodels, "advertise presence" in
relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).
- Get rid of the LKM preprocessor stuff.
- As secmodels are now modules, there's no need for an explicit call
to secmodel_start(); it's handled by the module framework. That
said, the module framework was adjusted to properly load secmodels
early during system startup.
- Adapt rump to changes: Instead of using empty stubs for securelevel,
simply use the suser secmodel. Also replace secmodel_start() with a
call to secmodel_suser_start().
- 5.99.20.
Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 22:50:12 +04:00
|
|
|
SUBDIR+= suser
|
2014-01-01 20:06:00 +04:00
|
|
|
SUBDIR+= swcrypto
|
2010-10-19 15:58:00 +04:00
|
|
|
SUBDIR+= swsensor
|
2015-04-18 13:52:44 +03:00
|
|
|
SUBDIR+= swwdog
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= tmpfs
|
2017-04-19 03:01:38 +03:00
|
|
|
SUBDIR+= ualea
|
2012-08-04 08:37:25 +04:00
|
|
|
SUBDIR+= uatp
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= udf
|
2019-06-20 06:31:29 +03:00
|
|
|
SUBDIR+= ufs
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= umap
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= union
|
2019-07-31 12:13:16 +03:00
|
|
|
SUBDIR+= usbnet
|
2010-05-29 05:14:29 +04:00
|
|
|
SUBDIR+= usbverbose
|
2012-04-26 07:03:53 +04:00
|
|
|
SUBDIR+= vcoda
|
2011-07-20 03:13:31 +04:00
|
|
|
SUBDIR+= v7fs
|
2009-02-05 20:32:10 +03:00
|
|
|
SUBDIR+= vnd
|
2015-11-15 06:12:14 +03:00
|
|
|
SUBDIR+= wapbl
|
2017-06-12 04:01:01 +03:00
|
|
|
SUBDIR+= wsbell
|
2013-12-29 12:09:44 +04:00
|
|
|
SUBDIR+= zlib
|
2009-03-10 17:56:30 +03:00
|
|
|
SUBDIR+= tprof
|
2008-06-28 20:11:35 +04:00
|
|
|
.if (defined(NOTYET))
|
|
|
|
SUBDIR+= unionfs
|
|
|
|
.endif
|
2010-01-05 23:49:04 +03:00
|
|
|
.if ${MKBINUTILS} != "no"
|
|
|
|
SUBDIR+= xldscripts
|
|
|
|
.endif
|
2008-06-28 20:11:35 +04:00
|
|
|
|
2008-11-19 21:35:57 +03:00
|
|
|
# Machine dependent section
|
2010-10-15 16:20:33 +04:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
2010-10-20 18:50:22 +04:00
|
|
|
${MACHINE_CPU} == "m68k"
|
2010-10-15 16:20:33 +04:00
|
|
|
SUBDIR+= exec_aout
|
|
|
|
.endif
|
|
|
|
|
2016-08-05 20:12:13 +03:00
|
|
|
.if ${MACHINE_ARCH} != "alpha" && \
|
|
|
|
${MACHINE_ARCH} != "ia64"
|
2008-11-23 18:29:42 +03:00
|
|
|
SUBDIR+= exec_elf32
|
|
|
|
.endif
|
2008-11-19 21:35:57 +03:00
|
|
|
|
2014-08-10 09:56:36 +04:00
|
|
|
.if ${MACHINE_CPU} == "aarch64" || \
|
|
|
|
${MACHINE_ARCH} == "alpha" || \
|
2016-08-05 20:12:13 +03:00
|
|
|
${MACHINE_ARCH} == "ia64" || \
|
2023-05-07 15:41:45 +03:00
|
|
|
${MACHINE_ARCH} == "riscv64" || \
|
2008-11-29 21:41:06 +03:00
|
|
|
${MACHINE_ARCH} == "sparc64" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
2008-11-29 00:17:08 +03:00
|
|
|
SUBDIR+= exec_elf64
|
|
|
|
.endif
|
|
|
|
|
2009-03-10 17:56:30 +03:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
2018-01-26 02:40:06 +03:00
|
|
|
SUBDIR+= amdsmn
|
2011-06-15 07:22:39 +04:00
|
|
|
SUBDIR+= amdtemp
|
2018-01-26 02:40:06 +03:00
|
|
|
SUBDIR+= amdzentemp
|
2011-02-20 16:48:25 +03:00
|
|
|
SUBDIR+= coretemp
|
2011-02-23 14:55:36 +03:00
|
|
|
SUBDIR+= est
|
2012-08-06 14:31:41 +04:00
|
|
|
SUBDIR+= hdafg
|
|
|
|
SUBDIR+= hdaudio
|
2015-03-28 17:09:58 +03:00
|
|
|
SUBDIR+= hdaudio_pci
|
2014-09-19 21:25:47 +04:00
|
|
|
SUBDIR+= hdaudioverbose
|
2011-06-15 12:19:43 +04:00
|
|
|
SUBDIR+= hpet
|
2018-02-26 10:29:24 +03:00
|
|
|
SUBDIR+= ichsmb
|
2011-03-04 08:02:47 +03:00
|
|
|
SUBDIR+= odcm
|
2011-02-24 14:22:34 +03:00
|
|
|
SUBDIR+= powernow
|
2015-05-03 05:54:07 +03:00
|
|
|
SUBDIR+= tco
|
2018-07-24 12:47:35 +03:00
|
|
|
SUBDIR+= tprof_x86
|
2024-05-09 15:09:58 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_CPU} == "aarch64" || \
|
|
|
|
${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
2011-10-18 04:33:47 +04:00
|
|
|
SUBDIR+= vmt
|
2009-03-10 17:56:30 +03:00
|
|
|
.endif
|
|
|
|
|
2020-09-26 20:49:49 +03:00
|
|
|
.if ${HAVE_NVMM:Uno} == "yes"
|
2018-11-07 10:43:07 +03:00
|
|
|
SUBDIR+= nvmm
|
|
|
|
.endif
|
|
|
|
|
2020-02-29 14:03:44 +03:00
|
|
|
# Builds on architectures with PCI bus
|
|
|
|
.if \
|
2020-03-11 11:31:08 +03:00
|
|
|
${MACHINE} == "evbarm" || \
|
2020-02-29 14:03:44 +03:00
|
|
|
${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
2020-02-29 19:25:37 +03:00
|
|
|
#SUBDIR+= hifn
|
2020-09-08 13:05:47 +03:00
|
|
|
SUBDIR+= if_iavf
|
2020-02-29 14:03:44 +03:00
|
|
|
SUBDIR+= if_ixl
|
|
|
|
SUBDIR+= ubsec
|
2014-08-09 16:34:05 +04:00
|
|
|
.endif
|
|
|
|
|
2013-11-17 22:58:28 +04:00
|
|
|
.if ${MKSLJIT} != "no"
|
2012-10-28 02:36:11 +04:00
|
|
|
SUBDIR+= bpfjit
|
2012-10-13 23:42:02 +04:00
|
|
|
SUBDIR+= sljit
|
|
|
|
.endif
|
|
|
|
|
2011-08-09 16:09:55 +04:00
|
|
|
#
|
|
|
|
# ACPI modules
|
|
|
|
#
|
2010-06-01 00:32:28 +04:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "ia64" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
|
|
|
SUBDIR+= acpiverbose
|
|
|
|
.endif
|
|
|
|
|
2010-10-24 20:31:35 +04:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
2010-10-25 10:40:32 +04:00
|
|
|
SUBDIR+= acpiacad
|
|
|
|
SUBDIR+= acpibat
|
|
|
|
SUBDIR+= acpibut
|
|
|
|
SUBDIR+= acpicpu
|
2010-10-25 21:17:56 +04:00
|
|
|
SUBDIR+= acpidalb
|
2011-01-09 18:12:33 +03:00
|
|
|
SUBDIR+= acpifan
|
2024-03-21 05:36:01 +03:00
|
|
|
SUBDIR+= acpihed
|
2010-10-25 10:40:32 +04:00
|
|
|
SUBDIR+= acpilid
|
2011-01-05 23:15:52 +03:00
|
|
|
SUBDIR+= acpipmtr
|
2010-10-25 21:17:56 +04:00
|
|
|
SUBDIR+= acpitz
|
|
|
|
SUBDIR+= acpivga
|
2011-08-09 16:16:03 +04:00
|
|
|
SUBDIR+= acpiwdrt
|
2010-10-24 22:29:33 +04:00
|
|
|
SUBDIR+= acpiwmi
|
2010-10-25 21:17:56 +04:00
|
|
|
SUBDIR+= aibs
|
2024-03-20 20:11:42 +03:00
|
|
|
SUBDIR+= apei
|
2010-10-26 09:42:51 +04:00
|
|
|
SUBDIR+= asus
|
2011-02-20 11:37:50 +03:00
|
|
|
SUBDIR+= fujbp
|
|
|
|
SUBDIR+= fujhk
|
2011-07-13 11:52:48 +04:00
|
|
|
SUBDIR+= hpacel
|
2010-10-26 09:42:51 +04:00
|
|
|
SUBDIR+= hpqlb
|
2010-10-25 10:40:32 +04:00
|
|
|
SUBDIR+= thinkpad
|
2010-10-24 20:31:35 +04:00
|
|
|
SUBDIR+= wmidell
|
2011-08-09 12:36:05 +04:00
|
|
|
SUBDIR+= wmieeepc
|
2010-10-24 20:31:35 +04:00
|
|
|
SUBDIR+= wmihp
|
|
|
|
SUBDIR+= wmimsi
|
|
|
|
.endif
|
2015-05-09 17:19:13 +03:00
|
|
|
|
2019-02-05 00:57:47 +03:00
|
|
|
.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
|
|
|
|
.if ${COMPAT_USE_NETBSD32} != "no"
|
|
|
|
|
2015-05-09 17:19:13 +03:00
|
|
|
SUBDIR+= compat_netbsd32
|
2019-01-27 05:08:33 +03:00
|
|
|
SUBDIR+= compat_netbsd32_09 compat_netbsd32_12
|
|
|
|
SUBDIR+= compat_netbsd32_13 compat_netbsd32_16
|
|
|
|
SUBDIR+= compat_netbsd32_20 compat_netbsd32_30
|
|
|
|
SUBDIR+= compat_netbsd32_40 compat_netbsd32_50
|
|
|
|
SUBDIR+= compat_netbsd32_60 compat_netbsd32_80
|
2022-12-20 02:19:51 +03:00
|
|
|
SUBDIR+= compat_netbsd32_90 compat_netbsd32_100
|
2019-01-27 05:08:33 +03:00
|
|
|
SUBDIR+= compat_netbsd32_43
|
2020-11-01 21:51:02 +03:00
|
|
|
SUBDIR+= compat_netbsd32_coredump
|
2015-12-02 02:58:19 +03:00
|
|
|
SUBDIR+= compat_netbsd32_mqueue
|
2016-10-15 15:38:03 +03:00
|
|
|
SUBDIR+= compat_netbsd32_nfssrv
|
2016-10-19 12:44:00 +03:00
|
|
|
SUBDIR+= compat_netbsd32_ptrace
|
2020-03-12 18:02:29 +03:00
|
|
|
SUBDIR+= compat_netbsd32_quota
|
|
|
|
SUBDIR+= compat_netbsd32_quota_50
|
|
|
|
SUBDIR+= compat_netbsd32_raid
|
2015-12-03 13:38:21 +03:00
|
|
|
SUBDIR+= compat_netbsd32_sysvipc
|
2019-01-27 05:08:33 +03:00
|
|
|
SUBDIR+= compat_netbsd32_sysvipc_10
|
|
|
|
SUBDIR+= compat_netbsd32_sysvipc_14
|
|
|
|
SUBDIR+= compat_netbsd32_sysvipc_50
|
2010-10-24 20:31:35 +04:00
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} == "x86_64"
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= compat_linux32
|
|
|
|
.endif
|
|
|
|
|
2019-02-05 00:57:47 +03:00
|
|
|
.endif
|
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2011-08-28 20:19:07 +04:00
|
|
|
SUBDIR+= ati_pcigart
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= compat_freebsd
|
2011-08-28 20:19:07 +04:00
|
|
|
SUBDIR+= mach64drm
|
|
|
|
SUBDIR+= mgadrm
|
2011-07-16 01:08:48 +04:00
|
|
|
SUBDIR+= nsclpcsio
|
2011-02-19 17:28:07 +03:00
|
|
|
SUBDIR+= padlock
|
2011-08-28 20:19:07 +04:00
|
|
|
SUBDIR+= r128drm
|
2023-12-26 19:20:01 +03:00
|
|
|
#SUBDIR+= radeondrm
|
2011-08-28 20:19:07 +04:00
|
|
|
SUBDIR+= savagedrm
|
|
|
|
SUBDIR+= sisdrm
|
|
|
|
SUBDIR+= tdfxdrm
|
2011-02-24 17:08:51 +03:00
|
|
|
SUBDIR+= viac7temp
|
2008-11-19 21:35:57 +03:00
|
|
|
.endif
|
|
|
|
|
2014-11-11 00:15:19 +03:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
2023-04-11 13:30:41 +03:00
|
|
|
${MACHINE_ARCH} == "x86_64" || \
|
2023-04-13 10:03:31 +03:00
|
|
|
${MACHINE_CPU} == "aarch64"
|
2022-07-29 01:00:23 +03:00
|
|
|
SUBDIR+= amdgpu
|
|
|
|
SUBDIR+= drmkms
|
|
|
|
SUBDIR+= drmkms_linux
|
|
|
|
SUBDIR+= drmkms_pci
|
|
|
|
SUBDIR+= drmkms_sched
|
|
|
|
SUBDIR+= drmkms_ttm
|
2023-04-11 13:30:41 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
|
|
|
SUBDIR+= drm
|
|
|
|
SUBDIR+= compat_linux
|
|
|
|
SUBDIR+= drmkms_agp
|
2014-11-11 00:15:19 +03:00
|
|
|
SUBDIR+= i915drm
|
2022-07-29 01:00:23 +03:00
|
|
|
SUBDIR+= i915drmkms
|
2023-08-09 12:36:26 +03:00
|
|
|
SUBDIR+= viadrmums
|
2011-08-09 16:09:55 +04:00
|
|
|
#
|
|
|
|
# ISA modules
|
|
|
|
#
|
2011-01-16 04:13:10 +03:00
|
|
|
SUBDIR+= aps
|
2011-07-31 21:55:41 +04:00
|
|
|
SUBDIR+= finsio
|
2011-07-30 01:01:43 +04:00
|
|
|
SUBDIR+= itesio
|
2012-01-17 20:59:37 +04:00
|
|
|
SUBDIR+= lm
|
|
|
|
SUBDIR+= lm_isa
|
|
|
|
SUBDIR+= lm_isa_common
|
|
|
|
SUBDIR+= lm_wbsio
|
|
|
|
SUBDIR+= wbsio
|
2010-12-29 16:05:42 +03:00
|
|
|
.endif
|
|
|
|
|
2021-10-09 10:01:34 +03:00
|
|
|
.if ${MACHINE_CPU} == "aarch64"
|
|
|
|
SUBDIR+= compat_linux
|
2021-11-25 06:08:03 +03:00
|
|
|
SUBDIR+= compat_linux32
|
2021-10-09 10:01:34 +03:00
|
|
|
.endif
|
|
|
|
|
2010-10-20 18:50:22 +04:00
|
|
|
.if ${MACHINE_CPU} == "m68k"
|
2010-10-15 16:20:33 +04:00
|
|
|
SUBDIR+= compat_aoutm68k
|
|
|
|
#SUBDIR+= compat_linux
|
|
|
|
#SUBDIR+= compat_sunos
|
|
|
|
.endif
|
|
|
|
|
2011-08-11 16:03:06 +04:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64" || \
|
|
|
|
${MACHINE_ARCH} == "sparc64"
|
|
|
|
SUBDIR+= pwdog
|
|
|
|
.endif
|
|
|
|
|
2009-01-01 00:22:02 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2012-06-30 19:03:56 +04:00
|
|
|
#
|
|
|
|
# NetBSD/usermode support
|
|
|
|
#
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "x86_64"
|
|
|
|
SUBDIR+= ../arch/usermode/modules/syscallemu
|
|
|
|
.endif
|
|
|
|
|
2009-01-01 00:22:02 +03:00
|
|
|
# we need our device mapper for LVM
|
|
|
|
.if (${MKLVM} != "no")
|
2009-03-05 04:29:32 +03:00
|
|
|
SUBDIR+= dm
|
2009-01-01 00:22:02 +03:00
|
|
|
.endif
|
|
|
|
|
2010-02-21 14:14:47 +03:00
|
|
|
.if (${MKDTRACE} != "no")
|
2012-12-02 05:05:16 +04:00
|
|
|
SUBDIR+= cyclic
|
2010-02-21 14:14:47 +03:00
|
|
|
SUBDIR+= dtrace
|
|
|
|
.endif
|
|
|
|
|
2021-08-17 20:29:19 +03:00
|
|
|
SUBDIR+= sodium
|
|
|
|
|
2010-02-21 14:14:47 +03:00
|
|
|
# we need solaris for the dtrace and zfs modules
|
|
|
|
.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
|
2009-10-06 02:32:58 +04:00
|
|
|
SUBDIR+= solaris
|
2010-02-21 14:14:47 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MKZFS} != "no")
|
2009-10-06 02:32:58 +04:00
|
|
|
SUBDIR+= zfs
|
|
|
|
.endif
|
|
|
|
|
2011-06-15 13:45:58 +04:00
|
|
|
.if (${MKCOMPATMODULES} != "no")
|
|
|
|
SUBDIR+= arch
|
|
|
|
.endif
|
|
|
|
|
2011-08-09 15:12:02 +04:00
|
|
|
#
|
|
|
|
# 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
|
2011-08-29 15:14:15 +04:00
|
|
|
SUBDIR+= zl10353
|
2011-08-09 15:12:02 +04:00
|
|
|
# hardware drivers
|
|
|
|
SUBDIR+= auvitek
|
|
|
|
SUBDIR+= coram
|
|
|
|
SUBDIR+= cxdtv
|
|
|
|
SUBDIR+= emdtv
|
2018-02-25 11:20:28 +03:00
|
|
|
|
|
|
|
# Intel Integrated Memory Controller and associated SMBus
|
|
|
|
# (Experimental)
|
|
|
|
SUBDIR+= imc
|
|
|
|
SUBDIR+= imcsmb
|
|
|
|
|
2011-08-09 15:12:02 +04:00
|
|
|
.endif
|
|
|
|
|
2011-11-15 20:50:43 +04:00
|
|
|
.if (${MKISCSI} != "no")
|
|
|
|
SUBDIR+= iscsi
|
|
|
|
.endif
|
|
|
|
|
2016-09-27 23:52:43 +03:00
|
|
|
# For now, all of these are disabled, pending resolution of how to deal
|
|
|
|
# with attachment-specific modules and bus-specific modules (as opposed
|
|
|
|
# to machine- or architecture-specific modules)
|
|
|
|
|
|
|
|
.if 0
|
|
|
|
SUBDIR+= aac
|
|
|
|
SUBDIR+= amr
|
|
|
|
SUBDIR+= ataraid
|
|
|
|
SUBDIR+= cac
|
|
|
|
SUBDIR+= cac_eisa
|
|
|
|
SUBDIR+= cac_pci
|
2022-09-07 14:26:23 +03:00
|
|
|
SUBDIR+= emuxki
|
2020-01-01 13:13:16 +03:00
|
|
|
SUBDIR+= if_aq
|
2016-09-27 23:52:43 +03:00
|
|
|
SUBDIR+= if_vioif
|
2020-10-14 13:26:59 +03:00
|
|
|
SUBDIR+= if_vmx
|
2016-09-27 23:52:43 +03:00
|
|
|
SUBDIR+= ld
|
|
|
|
SUBDIR+= ld_aac
|
|
|
|
SUBDIR+= ld_amr
|
|
|
|
SUBDIR+= ld_ataraid
|
|
|
|
SUBDIR+= ld_cac
|
|
|
|
SUBDIR+= ld_icp
|
|
|
|
SUBDIR+= ld_mlx
|
|
|
|
SUBDIR+= ld_sdmmc
|
|
|
|
SUBDIR+= ld_twa
|
|
|
|
SUBDIR+= ld_twe
|
|
|
|
SUBDIR+= ld_virtio
|
|
|
|
SUBDIR+= mlx
|
|
|
|
SUBDIR+= mlx_eisa
|
|
|
|
SUBDIR+= mlx_pci
|
|
|
|
SUBDIR+= ld_nvme
|
|
|
|
SUBDIR+= nvme
|
|
|
|
SUBDIR+= twa
|
|
|
|
SUBDIR+= twe
|
2019-10-28 05:56:40 +03:00
|
|
|
SUBDIR+= vio9p
|
2016-09-27 23:52:43 +03:00
|
|
|
SUBDIR+= viomb
|
|
|
|
SUBDIR+= virtio
|
2018-06-06 19:46:02 +03:00
|
|
|
SUBDIR+= virtio_pci
|
2017-03-26 02:17:07 +03:00
|
|
|
SUBDIR+= vioscsi
|
2016-09-27 23:52:43 +03:00
|
|
|
.endif
|
|
|
|
|
2015-05-14 04:34:31 +03:00
|
|
|
SUBDIR+= examples # build these regularly to avoid bit-rot
|
|
|
|
|
2024-03-09 09:53:48 +03:00
|
|
|
.endif
|
|
|
|
|
2008-05-03 03:12:00 +04:00
|
|
|
.include <bsd.subdir.mk>
|