head	1.10;
access;
symbols
	netbsd-11-0-RELEASE:1.10
	netbsd-11-0-RC7:1.10
	netbsd-11-0-RC6:1.10
	netbsd-11-0-RC5:1.10
	netbsd-11-0-RC4:1.10
	netbsd-11-0-RC3:1.10
	netbsd-11-0-RC2:1.10
	netbsd-11-0-RC1:1.10
	perseant-exfatfs-base-20250801:1.10
	netbsd-11:1.10.0.12
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.10
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.8
	netbsd-9-4-RELEASE:1.9.4.1
	netbsd-10-0-RELEASE:1.10
	netbsd-10-0-RC6:1.10
	netbsd-10-0-RC5:1.10
	netbsd-10-0-RC4:1.10
	netbsd-10-0-RC3:1.10
	netbsd-10-0-RC2:1.10
	netbsd-10-0-RC1:1.10
	netbsd-10:1.10.0.8
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.9.4.1
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.6
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.9.4.1
	cjep_staticlib_x:1.10.0.4
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.9.4.1
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.2
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.8
	netbsd-9-0-RELEASE:1.9.4.1
	netbsd-9-0-RC2:1.9.4.1
	netbsd-9-0-RC1:1.9.4.1
	phil-wifi-20191119:1.10
	netbsd-9:1.9.0.4
	netbsd-9-base:1.9
	phil-wifi-20190609:1.9
	netbsd-8-1-RELEASE:1.8
	netbsd-8-1-RC1:1.8
	pgoyette-compat-merge-20190127:1.8.12.1
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.7
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.8
	phil-wifi:1.9.0.2
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.8
	pgoyette-compat-0521:1.8
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	netbsd-8-0-RC1:1.8
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	netbsd-7-1-2-RELEASE:1.7
	pgoyette-compat:1.8.0.12
	pgoyette-compat-base:1.8
	netbsd-7-1-1-RELEASE:1.7
	matt-nb8-mediatek:1.8.0.10
	matt-nb8-mediatek-base:1.8
	perseant-stdc-iso10646:1.8.0.8
	perseant-stdc-iso10646-base:1.8
	netbsd-8:1.8.0.6
	netbsd-8-base:1.8
	prg-localcount2-base3:1.8
	prg-localcount2-base2:1.8
	prg-localcount2-base1:1.8
	prg-localcount2:1.8.0.4
	prg-localcount2-base:1.8
	pgoyette-localcount-20170426:1.8
	bouyer-socketcan-base1:1.8
	pgoyette-localcount-20170320:1.8
	netbsd-7-1:1.7.0.12
	netbsd-7-1-RELEASE:1.7
	netbsd-7-1-RC2:1.7
	netbsd-7-nhusb-base-20170116:1.7
	bouyer-socketcan:1.8.0.2
	bouyer-socketcan-base:1.8
	pgoyette-localcount-20170107:1.8
	netbsd-7-1-RC1:1.7
	pgoyette-localcount-20161104:1.8
	netbsd-7-0-2-RELEASE:1.7
	localcount-20160914:1.8
	netbsd-7-nhusb:1.7.0.10
	netbsd-7-nhusb-base:1.7
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.7
	pgoyette-localcount:1.7.0.8
	pgoyette-localcount-base:1.7
	netbsd-7-0-1-RELEASE:1.7
	netbsd-7-0:1.7.0.6
	netbsd-7-0-RELEASE:1.7
	netbsd-7-0-RC3:1.7
	netbsd-7-0-RC2:1.7
	netbsd-7-0-RC1:1.7
	netbsd-6-0-6-RELEASE:1.6
	netbsd-6-1-5-RELEASE:1.6
	netbsd-7:1.7.0.4
	netbsd-7-base:1.7
	yamt-pagecache-base9:1.7
	yamt-pagecache-tag8:1.6
	netbsd-6-1-4-RELEASE:1.6
	netbsd-6-0-5-RELEASE:1.6
	tls-earlyentropy:1.7.0.2
	tls-earlyentropy-base:1.7
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7
	riastradh-drm2-base3:1.7
	netbsd-6-1-3-RELEASE:1.6
	netbsd-6-0-4-RELEASE:1.6
	netbsd-6-1-2-RELEASE:1.6
	netbsd-6-0-3-RELEASE:1.6
	netbsd-6-1-1-RELEASE:1.6
	riastradh-drm2-base2:1.6
	riastradh-drm2-base1:1.6
	riastradh-drm2:1.6.0.16
	riastradh-drm2-base:1.6
	netbsd-6-1:1.6.0.20
	netbsd-6-0-2-RELEASE:1.6
	netbsd-6-1-RELEASE:1.6
	netbsd-6-1-RC4:1.6
	netbsd-6-1-RC3:1.6
	agc-symver:1.6.0.18
	agc-symver-base:1.6
	netbsd-6-1-RC2:1.6
	netbsd-6-1-RC1:1.6
	yamt-pagecache-base8:1.6
	netbsd-6-0-1-RELEASE:1.6
	yamt-pagecache-base7:1.6
	matt-nb6-plus-nbase:1.6
	yamt-pagecache-base6:1.6
	netbsd-6-0:1.6.0.14
	netbsd-6-0-RELEASE:1.6
	netbsd-6-0-RC2:1.6
	tls-maxphys:1.6.0.12
	tls-maxphys-base:1.7
	matt-nb6-plus:1.6.0.10
	matt-nb6-plus-base:1.6
	netbsd-6-0-RC1:1.6
	yamt-pagecache-base5:1.6
	yamt-pagecache-base4:1.6
	netbsd-6:1.6.0.8
	netbsd-6-base:1.6
	yamt-pagecache-base3:1.6
	yamt-pagecache-base2:1.6
	yamt-pagecache:1.6.0.6
	yamt-pagecache-base:1.6
	cherry-xenmp:1.6.0.4
	cherry-xenmp-base:1.6
	bouyer-quota2-nbase:1.6
	bouyer-quota2:1.6.0.2
	bouyer-quota2-base:1.6
	matt-mips64-premerge-20101231:1.5
	darran-pre-netbsd:1.2
	darran-pre-freebsd:1.1
	darran-pre-dtrace:1.1
	matt-premerge-20091211:1.1;
locks; strict;
comment	@# @;


1.10
date	2019.09.22.18.45.20;	author brad;	state Exp;
branches;
next	1.9;
commitid	jgzIBTWlcjibr2EB;

1.9
date	2018.05.28.21.05.09;	author chs;	state Exp;
branches
	1.9.2.1
	1.9.4.1;
next	1.8;
commitid	NQFwoUduS0toJ6EA;

1.8
date	2016.08.04.17.07.24;	author christos;	state Exp;
branches
	1.8.12.1;
next	1.7;
commitid	BDHTWTRu4t3SG0hz;

1.7
date	2013.09.11.23.04.10;	author joerg;	state Exp;
branches
	1.7.8.1;
next	1.6;
commitid	LfFxmAH008vTF45x;

1.6
date	2011.01.13.23.18.24;	author haad;	state Exp;
branches
	1.6.6.1
	1.6.12.1;
next	1.5;

1.5
date	2010.02.28.22.40.09;	author haad;	state Exp;
branches;
next	1.4;

1.4
date	2010.02.28.17.40.35;	author haad;	state Exp;
branches;
next	1.3;

1.3
date	2010.02.21.01.46.35;	author darran;	state Exp;
branches;
next	1.2;

1.2
date	2010.02.21.00.49.58;	author darran;	state Exp;
branches;
next	1.1;

1.1
date	2009.08.07.20.57.56;	author haad;	state Exp;
branches;
next	;

1.9.2.1
date	2020.04.13.07.56.39;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.9.4.1
date	2019.09.27.09.24.30;	author martin;	state Exp;
branches;
next	;
commitid	Sk8ki5IPAe9DcDEB;

1.8.12.1
date	2018.06.25.07.25.25;	author pgoyette;	state Exp;
branches;
next	;
commitid	8PtAu9af7VvhiDHA;

1.7.8.1
date	2016.08.06.00.18.42;	author pgoyette;	state Exp;
branches;
next	;
commitid	da8LmcQp9HeG2bhz;

1.6.6.1
date	2014.05.22.14.01.24;	author yamt;	state Exp;
branches;
next	;
commitid	JkmseppLYEAJxxBx;

1.6.12.1
date	2014.08.19.23.52.23;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;


desc
@@


1.10
log
@

Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}.  The general effect is to move them
from /usr/lib to /lib.  Compatibility links are installed in /usr/lib
and nothing that is installed, say in /usr/pkg, appears to break.

With this, it is possible to have a /var and /usr mount using ZFS
legacy mounting early on in the boot process.

Run tested on amd64 and i386 and compile tested on evbarm.
@
text
@#	$NetBSD: Makefile,v 1.9 2018/05/28 21:05:09 chs Exp $

.include <bsd.init.mk>

USE_SHLIBDIR=	yes

.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>
@


1.9
log
@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().
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2016/08/04 17:07:24 christos Exp $
d5 2
@


1.9.2.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a4 2
USE_SHLIBDIR=	yes

@


1.9.4.1
log
@Pull up following revision(s) (requested by brad in ticket #252):

	external/cddl/osnet/lib/libzpool/Makefile: revision 1.13
	lib/libpthread/Makefile: revision 1.95
	external/cddl/osnet/lib/libuutil/Makefile: revision 1.6
	distrib/sets/lists/base/shl.mi: revision 1.871
	external/cddl/osnet/lib/libzfs_core/Makefile: revision 1.2
	external/cddl/osnet/lib/libnvpair/Makefile: revision 1.11
	external/cddl/osnet/lib/libzfs/Makefile: revision 1.10
	external/cddl/osnet/lib/libavl/Makefile: revision 1.6
	distrib/sets/lists/debug/shl.mi: revision 1.230
	external/cddl/osnet/lib/libumem/Makefile: revision 1.7

Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}.  The general effect is to move them
from /usr/lib to /lib.  Compatibility links are installed in /usr/lib
and nothing that is installed, say in /usr/pkg, appears to break.

With this, it is possible to have a /var and /usr mount using ZFS
legacy mounting early on in the boot process.
Run tested on amd64 and i386 and compile tested on evbarm.

Fix MKDEBUG distrib sets
Add libpthread, libnvpair and ZFS libs to dynamicroot.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2018/05/28 21:05:09 chs Exp $
a4 2
USE_SHLIBDIR=	yes

@


1.8
log
@include bsd.init.mnk for consistency and set NOLINT since this overrides
MKLINT which can be re-set from /etc/mk.conf.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2013/09/11 23:04:10 joerg Exp $
d18 3
a20 1
	uutil	${.CURDIR}/../libuutil
d23 7
a29 1
SRCS=	deviceid.c mnttab.c mkdirp.c zmount.c fsshare.c zone.c efi.c ucred.c stubs.c
d32 21
a52 5
SRCS+=	zfs_namecheck.c zprop_common.c zfs_prop.c zpool_prop.c
SRCS+=	zfs_deleg.c zfs_fletcher.c zfs_comutil.c
SRCS+=	libzfs_dataset.c libzfs_util.c libzfs_graph.c libzfs_mount.c
SRCS+=	libzfs_pool.c libzfs_changelist.c libzfs_config.c libzfs_import.c
SRCS+=	libzfs_status.c libzfs_sendrecv.c
a54 1
# CPPFLAGS+=	-Wall -Wno-unknown-pragmas
d62 2
@


1.8.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2018/05/28 21:05:09 chs Exp $
d18 1
a18 3
	uutil	${.CURDIR}/../libuutil \
	z	${NETBSDSRCDIR}/lib/libz \
	zfs_core ${.CURDIR}/../libzfs_core
d21 1
a21 7
SRCS+=	deviceid.c
SRCS+=	fsshare.c
SRCS+=	mkdirp.c
SRCS+=	mnttab.c
SRCS+=	thread_pool.c
SRCS+=	zmount.c
SRCS+=	zone.c
d24 5
a28 21
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
d31 1
a38 2
CWARNFLAGS+=	-Wno-parentheses

@


1.7
log
@If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.6 2011/01/13 23:18:24 haad Exp $
@


1.7.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.8 2016/08/04 17:07:24 christos Exp $

.include <bsd.init.mk>
@


1.6
log
@Fix zfs Makefiles + debug, don't add -g by default only when MKDEBUG is
enabled. Fix header assert conflicts + bump WARNS for some libs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2010/02/28 22:40:09 haad Exp $
d8 9
a16 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.6.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 2
a9 9

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
@


1.6.6.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/01/13 23:18:24 haad Exp $
d8 2
a9 9

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
@


1.5
log
@Add missing zfs_fletcher.c to libzfs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2010/02/28 17:40:35 haad Exp $
d22 1
d28 1
a28 1
CPPFLAGS+=	-D_ZFS_CONTEXT_NO_VERIFY
@


1.4
log
@Add newly added stubs.c file to libzfs build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/02/21 01:46:35 darran Exp $
d16 1
a16 1
SRCS+=	zfs_deleg.c zfs_comutil.c
@


1.3
log
@Apply NetBSD changes to DTrace.

Ok with core@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2009/08/07 20:57:56 haad Exp $
d12 1
a12 1
SRCS=	deviceid.c mnttab.c mkdirp.c zmount.c fsshare.c zone.c efi.c ucred.c
@


1.2
log
@Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@@.
@
text
@d1 1
a1 1
# $FreeBSD: src/cddl/lib/libzfs/Makefile,v 1.5.2.1 2009/08/03 08:13:06 kensmith Exp $
d3 3
a5 4
.PATH: ${.CURDIR}/../../../cddl/compat/opensolaris/misc
.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
d11 2
a12 38
SRCS=	deviceid.c \
	fsshare.c \
	mkdirp.c \
	mnttab.c \
	zmount.c \
	zone.c

SRCS+=	zfs_deleg.c \
	zfs_namecheck.c \
	zfs_prop.c \
	zpool_prop.c \
	zprop_common.c \
	libzfs_dataset.c \
	libzfs_util.c \
	libzfs_graph.c \
	libzfs_mount.c \
	libzfs_pool.c \
	libzfs_changelist.c \
	libzfs_config.c \
	libzfs_import.c \
	libzfs_sendrecv.c \
	libzfs_status.c

CFLAGS+= -DZFS_NO_ACL
CFLAGS+= -I${.CURDIR}/../../../sbin/mount
CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
d14 16
@


1.1
log
@Add NetBSD Solaris compat code and reachover Makefiles. Most of code written
by Andrew Doran some of it by me.

This is still work in progress code. There are known issues. Zfs can panic
your system still. I will commit integration bits and needed kernel bits
later when we fix most obvious bugs. This code need some support from our
kernel which I will commit in a separate patch and therefore itnot work yet.

Issues:

1) Support for openat/fstatat syscalls.
2) getnewvnode locking against myself panic when reclaiming vnodes
3) Replace solaris taskq with our workqueue which doesn't need to alloc
   anything during work.
4) Investigate problems with NO_WAIT allocations.

Oked by core@@ and ad@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2009/03/26 22:11:44 ad Exp $
d3 4
a6 3
.PATH: ${.CURDIR}/../../dist/common/zfs
.PATH: ${.CURDIR}/../../dist/common/fs/zfs
.PATH: ${.CURDIR}/../../dist/lib/libzfs/common
d12 38
a49 2
# Local
SRCS=	deviceid.c mnttab.c mkdirp.c zmount.c fsshare.c zone.c efi.c ucred.c
a50 16
# Sun
SRCS+=	zfs_namecheck.c zprop_common.c zfs_prop.c zpool_prop.c
SRCS+=	zfs_deleg.c zfs_comutil.c
SRCS+=	libzfs_dataset.c libzfs_util.c libzfs_graph.c libzfs_mount.c
SRCS+=	libzfs_pool.c libzfs_changelist.c libzfs_config.c libzfs_import.c
SRCS+=	libzfs_status.c libzfs_sendrecv.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

.include "../../Makefile.zfs"
@

