freebsd-dev/sys/modules/procfs/Makefile
Eric Badger 99b14d9f1b remove procfs ctl interface
This interface has no in-tree consumers and has been more or less
non-functional for several releases.

Remove manpage note that the procfs special file 'mem' is grouped to
kmem. This hasn't been true since r81107.

Remove procfs' README file. It is an out of date duplication of the manpage
(quoth the README: "since the bsd kernel is single-processor...").

Reviewed by:	vangyzen, bcr (manpage)
Approved by:	des (procfs maintainer), vangyzen (mentor)
Differential Revision:	https://reviews.freebsd.org/D9802
2017-03-05 03:05:24 +00:00

43 lines
962 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/fs/procfs
KMOD= procfs
SRCS=
SRCS+= opt_compat.h
SRCS+= vnode_if.h
SRCS+= procfs_dbregs.c
SRCS+= procfs_fpregs.c
SRCS+= procfs_ioctl.c
SRCS+= procfs_map.c
SRCS+= procfs_mem.c
SRCS+= procfs_note.c
SRCS+= procfs_osrel.c
SRCS+= procfs_regs.c
SRCS+= procfs_rlimit.c
SRCS+= procfs_status.c
SRCS+= procfs_type.c
SRCS+= procfs.c
EXPORT_SYMS=
EXPORT_SYMS+= procfs_attr
EXPORT_SYMS+= procfs_candebug
EXPORT_SYMS+= procfs_docurproc
EXPORT_SYMS+= procfs_doprocfile
EXPORT_SYMS+= procfs_doprocmem
EXPORT_SYMS+= procfs_notsystem
.if !defined(KERNBUILDDIR)
opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
.if ${MACHINE_CPUARCH} == "amd64"
echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
.endif
.endif
.include <bsd.kmod.mk>