2009-11-10 17:47:52 +03:00
|
|
|
# $NetBSD: Makefile,v 1.35 2009/11/10 14:47:52 skrll Exp $
|
2008-11-19 21:35:57 +03:00
|
|
|
|
|
|
|
# For all platforms
|
2008-05-03 03:12:00 +04:00
|
|
|
|
2009-11-10 17:47:52 +03:00
|
|
|
SUBDIR= xldscripts
|
|
|
|
SUBDIR+= accf_dataready
|
2008-11-20 12:58:45 +03:00
|
|
|
SUBDIR+= accf_httpready
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= adosfs
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= aio
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= cd9660
|
|
|
|
SUBDIR+= coda
|
|
|
|
SUBDIR+= coda5
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= compat
|
|
|
|
SUBDIR+= compat_ossaudio
|
|
|
|
SUBDIR+= coredump
|
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
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= fss
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= hfs
|
|
|
|
SUBDIR+= kernfs
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= ksem
|
2008-12-05 16:05:37 +03:00
|
|
|
SUBDIR+= layerfs
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= lfs
|
|
|
|
SUBDIR+= mfs
|
2009-07-19 06:50:44 +04:00
|
|
|
SUBDIR+= mqueue
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= msdos
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= nfs
|
|
|
|
SUBDIR+= nfsserver
|
2009-07-18 20:31:41 +04:00
|
|
|
SUBDIR+= nilfs
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= ntfs
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= null
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= overlay
|
|
|
|
SUBDIR+= portal
|
2008-11-25 15:50:03 +03:00
|
|
|
SUBDIR+= ppp_bsdcomp
|
|
|
|
SUBDIR+= ppp_deflate
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= procfs
|
|
|
|
SUBDIR+= ptyfs
|
|
|
|
SUBDIR+= puffs
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= putter
|
|
|
|
SUBDIR+= miniroot
|
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
|
|
|
|
SUBDIR+= secmodel_overlay
|
|
|
|
SUBDIR+= securelevel
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= smbfs
|
2009-01-05 18:36:51 +03:00
|
|
|
SUBDIR+= sysvbfs
|
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
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= tmpfs
|
|
|
|
SUBDIR+= udf
|
2008-11-24 14:26:49 +03:00
|
|
|
SUBDIR+= umap
|
2008-06-28 20:11:35 +04:00
|
|
|
SUBDIR+= union
|
2009-02-05 20:32:10 +03:00
|
|
|
SUBDIR+= vnd
|
2009-03-10 17:56:30 +03:00
|
|
|
SUBDIR+= tprof
|
2008-06-28 20:11:35 +04:00
|
|
|
.if (defined(NOTYET))
|
|
|
|
SUBDIR+= unionfs
|
|
|
|
.endif
|
|
|
|
|
2008-11-19 21:35:57 +03:00
|
|
|
# Machine dependent section
|
2008-11-29 21:41:06 +03:00
|
|
|
.if ${MACHINE_ARCH} != "alpha"
|
2008-11-23 18:29:42 +03:00
|
|
|
SUBDIR+= exec_elf32
|
|
|
|
.endif
|
2008-11-19 21:35:57 +03:00
|
|
|
|
2008-11-29 21:41:06 +03:00
|
|
|
.if ${MACHINE_ARCH} == "alpha" || \
|
|
|
|
${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"
|
|
|
|
SUBDIR+= tprof_pmi
|
|
|
|
.endif
|
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} == "x86_64"
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= azalia
|
|
|
|
SUBDIR+= compat_linux
|
|
|
|
SUBDIR+= compat_linux32
|
|
|
|
SUBDIR+= compat_netbsd32
|
|
|
|
SUBDIR+= drm
|
|
|
|
SUBDIR+= i915drm
|
|
|
|
.endif
|
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2008-11-19 21:35:57 +03:00
|
|
|
SUBDIR+= azalia
|
|
|
|
SUBDIR+= compat_freebsd
|
|
|
|
SUBDIR+= compat_ibcs2
|
|
|
|
SUBDIR+= compat_linux
|
|
|
|
SUBDIR+= compat_svr4
|
|
|
|
SUBDIR+= drm
|
|
|
|
SUBDIR+= exec_aout
|
|
|
|
SUBDIR+= i915drm
|
|
|
|
SUBDIR+= radeondrm
|
2009-09-27 16:46:39 +04:00
|
|
|
SUBDIR+= viadrm
|
2008-11-19 21:35:57 +03:00
|
|
|
.endif
|
|
|
|
|
2009-01-01 00:22:02 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2009-10-06 02:32:58 +04:00
|
|
|
# we need solaris and zfs modules for ZFS
|
|
|
|
.if (${MKZFS} != "no")
|
|
|
|
SUBDIR+= solaris
|
|
|
|
SUBDIR+= zfs
|
|
|
|
.endif
|
|
|
|
|
2008-05-03 03:12:00 +04:00
|
|
|
.include <bsd.subdir.mk>
|