head	1.7;
access;
symbols
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.12
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.10
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.6.16.1
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.8
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.6.16.1
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.6
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.6.16.1
	cjep_staticlib_x:1.7.0.4
	cjep_staticlib_x-base:1.7
	netbsd-9-1-RELEASE:1.6.16.1
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.2
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.6
	netbsd-9-0-RELEASE:1.6.16.1
	netbsd-9-0-RC2:1.6.16.1
	netbsd-9-0-RC1:1.6.16.1
	phil-wifi-20191119:1.7
	netbsd-9:1.6.0.16
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.14
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.6
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.6
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.6.0.12
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.6.0.10
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.8
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.6
	netbsd-8-base:1.6
	prg-localcount2-base3:1.6
	prg-localcount2-base2:1.6
	prg-localcount2-base1:1.6
	prg-localcount2:1.6.0.4
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.5.0.32
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.6.0.2
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.5
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.5
	localcount-20160914:1.6
	netbsd-7-nhusb:1.5.0.30
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.28
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.26
	netbsd-7-0-RELEASE:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.5.0.24
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.5.0.22
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.16
	riastradh-drm2-base:1.5
	netbsd-6-1:1.5.0.20
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.18
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.14
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.12
	tls-maxphys-base:1.5
	matt-nb6-plus:1.5.0.10
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-6:1.5.0.8
	netbsd-6-base:1.5
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.6
	yamt-pagecache-base:1.5
	cherry-xenmp:1.5.0.4
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.2
	bouyer-quota2-base:1.5
	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.7
date	2019.09.22.18.45.19;	author brad;	state Exp;
branches;
next	1.6;
commitid	jgzIBTWlcjibr2EB;

1.6
date	2016.08.04.17.07.24;	author christos;	state Exp;
branches
	1.6.14.1
	1.6.16.1;
next	1.5;
commitid	BDHTWTRu4t3SG0hz;

1.5
date	2010.05.10.06.27.57;	author haad;	state Exp;
branches
	1.5.28.1;
next	1.4;

1.4
date	2010.02.28.22.45.45;	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.6.14.1
date	2020.04.13.07.56.39;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

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

1.5.28.1
date	2016.08.06.00.18.41;	author pgoyette;	state Exp;
branches;
next	;
commitid	da8LmcQp9HeG2bhz;


desc
@@


1.7
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.6 2016/08/04 17:07:24 christos Exp $

.include <bsd.init.mk>

USE_SHLIBDIR=	yes

LIB=	umem
SRCS=	umem.c

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


1.6
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.5 2010/05/10 06:27:57 haad Exp $
d5 2
@


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

@


1.6.16.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.6 2016/08/04 17:07:24 christos Exp $
a4 2
USE_SHLIBDIR=	yes

@


1.5
log
@Disable building of stub_stand.c we build all locking primitives in libzpool.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.4 2010/02/28 22:45:45 haad Exp $
@


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

.include <bsd.init.mk>
@


1.4
log
@Addmissing symbols to libumem.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/02/21 01:46:35 darran Exp $
d4 1
a4 1
SRCS=	umem.c stub_stand.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 $
d4 1
a4 1
SRCS=	umem.c
@


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

Ok with core@@.
@
text
@d1 1
a1 3
# $FreeBSD: src/cddl/lib/libumem/Makefile,v 1.3.2.1 2009/08/03 08:13:06 kensmith Exp $

.PATH: ${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
a4 1
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
d6 1
@


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 3
a3 1
#	$NetBSD: Makefile,v 1.1 2009/03/26 22:11:44 ad Exp $
d7 1
a8 1
.include "../../Makefile.zfs"
@

