2002-02-04 20:16:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../fs/procfs
|
|
|
|
|
|
|
|
KMOD= procfs
|
2005-08-18 14:28:20 +00:00
|
|
|
SRCS=
|
|
|
|
SRCS+= opt_compat.h
|
2002-02-04 20:16:50 +00:00
|
|
|
SRCS+= vnode_if.h
|
|
|
|
SRCS+= procfs_ctl.c
|
|
|
|
SRCS+= procfs_dbregs.c
|
|
|
|
SRCS+= procfs_fpregs.c
|
|
|
|
SRCS+= procfs_ioctl.c
|
|
|
|
SRCS+= procfs_map.c
|
|
|
|
SRCS+= procfs_mem.c
|
|
|
|
SRCS+= procfs_note.c
|
2009-09-23 12:08:08 +00:00
|
|
|
SRCS+= procfs_osrel.c
|
2002-02-04 20:16:50 +00:00
|
|
|
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
|
|
|
|
|
2005-08-18 14:50:08 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2005-08-11 14:45:10 +00:00
|
|
|
opt_compat.h:
|
|
|
|
echo "#define COMPAT_43 1" > ${.TARGET}
|
2005-08-18 14:50:08 +00:00
|
|
|
echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
|
|
|
|
echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
|
2006-09-27 19:57:02 +00:00
|
|
|
echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
|
2010-08-23 06:13:29 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
2010-03-11 14:49:06 +00:00
|
|
|
echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
|
2005-08-18 14:50:08 +00:00
|
|
|
echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
|
|
|
|
.endif
|
2005-08-11 14:45:10 +00:00
|
|
|
.endif
|
|
|
|
|
2002-02-04 20:16:50 +00:00
|
|
|
.include <bsd.kmod.mk>
|