2e564269d0
GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
41 lines
688 B
Makefile
41 lines
688 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= procstat
|
|
|
|
SRCS= cd9660.c \
|
|
common_kvm.c \
|
|
libprocstat.c \
|
|
msdosfs.c \
|
|
udf.c
|
|
|
|
VERSION_DEF= ${.CURDIR}/Versions.def
|
|
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
|
|
|
|
INCS= libprocstat.h
|
|
CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE
|
|
SHLIB_MAJOR= 1
|
|
|
|
DPADD= ${LIBKVM} ${LIBUTIL}
|
|
LDADD= -lkvm -lutil
|
|
|
|
MAN= libprocstat.3
|
|
|
|
# XXX This is a hack.
|
|
.if ${MK_CDDL} != "no"
|
|
CFLAGS+= -DLIBPROCSTAT_ZFS
|
|
OBJS+= zfs/zfs.o
|
|
SOBJS+= zfs/zfs.So
|
|
POBJS+= zfs/zfs.po
|
|
SUBDIR= zfs
|
|
zfs/zfs.o: .PHONY
|
|
@cd ${.CURDIR}/zfs && ${MAKE} zfs.o
|
|
zfs/zfs.So: .PHONY
|
|
@cd ${.CURDIR}/zfs && ${MAKE} zfs.So
|
|
zfs/zfs.po: .PHONY
|
|
@cd ${.CURDIR}/zfs && ${MAKE} zfs.po
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|