[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / cddl / osnet / lib / libzfs

File: [cvs.NetBSD.org] / src / external / cddl / osnet / lib / libzfs / Makefile (download)

Revision 1.9, Mon May 28 21:05:09 2018 UTC (5 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base
Branch point for: phil-wifi, netbsd-9
Changes since 1.8: +34 -9 lines

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().

#	$NetBSD: Makefile,v 1.9 2018/05/28 21:05:09 chs Exp $

.include <bsd.init.mk>

.PATH: ${.CURDIR}/../../dist/common/zfs
.PATH: ${.CURDIR}/../../dist/common/fs/zfs
.PATH: ${.CURDIR}/../../dist/lib/libzfs/common

LIB=	zfs

LIBDPLIBS+= \
	avl	${.CURDIR}/../libavl \
	nvpair	${.CURDIR}/../libnvpair \
	m	${NETBSDSRCDIR}/lib/libm \
	pthread	${NETBSDSRCDIR}/lib/libpthread \
	umem	${.CURDIR}/../libumem \
	util	${NETBSDSRCDIR}/lib/libutil \
	uutil	${.CURDIR}/../libuutil \
	z	${NETBSDSRCDIR}/lib/libz \
	zfs_core ${.CURDIR}/../libzfs_core

# Local
SRCS+=	deviceid.c
SRCS+=	fsshare.c
SRCS+=	mkdirp.c
SRCS+=	mnttab.c
SRCS+=	thread_pool.c
SRCS+=	zmount.c
SRCS+=	zone.c

# Sun
SRCS+=	libzfs_changelist.c
SRCS+=	libzfs_config.c
SRCS+=	libzfs_dataset.c
SRCS+=	libzfs_diff.c
#SRCS+=	libzfs_fru.c
#SRCS+=	libzfs_graph.c
SRCS+=	libzfs_import.c
SRCS+=	libzfs_iter.c
SRCS+=	libzfs_mount.c
SRCS+=	libzfs_pool.c
SRCS+=	libzfs_sendrecv.c
SRCS+=	libzfs_status.c
SRCS+=	libzfs_util.c
SRCS+=	zfeature_common.c
SRCS+=	zfs_comutil.c
SRCS+=	zfs_deleg.c
SRCS+=	zfs_fletcher.c
SRCS+=	zfs_namecheck.c
SRCS+=	zfs_prop.c
SRCS+=	zpool_prop.c
SRCS+=	zprop_common.c

CPPFLAGS+=	-I${NETBSDSRCDIR}/sbin/mount

# Avoid conflict with libprop
CPPFLAGS+=	-D_PROPLIB_ZFS_CONFLICT

# Avoid internal header conflicts
CPPFLAGS+=	-D_ZFS_CONTEXT_NO_VERIFY -D_ZFS_CONTEXT_NO_DEBUG

CWARNFLAGS+=	-Wno-parentheses

.include "../../Makefile.zfs"
.include <bsd.lib.mk>