head	1.10;
access;
symbols
	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.16
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.14
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.10
	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.12
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.10
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.10
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.10
	cjep_staticlib_x:1.10.0.8
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.10
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.6
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.9
	netbsd-9-0-RELEASE:1.10
	netbsd-9-0-RC2:1.10
	netbsd-9-0-RC1:1.10
	phil-wifi-20191119:1.10
	netbsd-9:1.10.0.4
	netbsd-9-base:1.10
	phil-wifi-20190609:1.10
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	pgoyette-compat-merge-20190127:1.9.12.1
	pgoyette-compat-20190127:1.10
	pgoyette-compat-20190118:1.10
	pgoyette-compat-1226:1.10
	pgoyette-compat-1126:1.10
	pgoyette-compat-1020:1.10
	pgoyette-compat-0930:1.10
	pgoyette-compat-0906:1.10
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.10
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.10.0.2
	phil-wifi-base:1.10
	pgoyette-compat-0625:1.10
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.9.0.12
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.9.0.10
	matt-nb8-mediatek-base:1.9
	perseant-stdc-iso10646:1.9.0.8
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.6
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.4
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.4.0.10
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.9.0.2
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.9
	netbsd-7-nhusb:1.4.0.8
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.2
	pgoyette-localcount-base:1.8
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.6
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.4.0.4
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.3
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.4.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.16
	riastradh-drm2-base:1.3
	netbsd-6-1:1.3.0.20
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.18
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.3.0.14
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.12
	tls-maxphys-base:1.4
	matt-nb6-plus:1.3.0.10
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-6:1.3.0.8
	netbsd-6-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.6
	yamt-pagecache-base:1.3
	cherry-xenmp:1.3.0.4
	cherry-xenmp-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.2
	bouyer-quota2-base:1.3
	matt-mips64-premerge-20101231:1.3
	darran-pre-netbsd:1.1;
locks; strict;
comment	@# @;


1.10
date	2018.05.28.21.05.09;	author chs;	state Exp;
branches;
next	1.9;
commitid	NQFwoUduS0toJ6EA;

1.9
date	2016.08.04.17.07.24;	author christos;	state Exp;
branches
	1.9.12.1;
next	1.8;
commitid	BDHTWTRu4t3SG0hz;

1.8
date	2015.09.24.14.36.54;	author christos;	state Exp;
branches
	1.8.2.1;
next	1.7;
commitid	R87QUp49ufDoZvCy;

1.7
date	2015.09.17.01.53.48;	author christos;	state Exp;
branches;
next	1.6;
commitid	lpr7pCiMtFOuZxBy;

1.6
date	2015.09.16.19.47.14;	author christos;	state Exp;
branches;
next	1.5;
commitid	PB2QORn0oYJKXvBy;

1.5
date	2015.09.15.18.38.41;	author christos;	state Exp;
branches;
next	1.4;
commitid	V9r71UZBpVGgCnBy;

1.4
date	2013.09.10.11.23.20;	author christos;	state Exp;
branches;
next	1.3;
commitid	WgBjGpwBiOnHPS4x;

1.3
date	2010.04.03.18.35.49;	author christos;	state Exp;
branches
	1.3.6.1
	1.3.12.1;
next	1.2;

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

1.1
date	2010.02.21.00.49.57;	author darran;	state Exp;
branches;
next	;

1.9.12.1
date	2018.06.25.07.25.24;	author pgoyette;	state Exp;
branches;
next	;
commitid	8PtAu9af7VvhiDHA;

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

1.3.6.1
date	2014.05.22.14.01.23;	author yamt;	state Exp;
branches;
next	;
commitid	JkmseppLYEAJxxBx;

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


desc
@@


1.10
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
@#	$NetBSD: Makefile,v 1.9 2016/08/04 17:07:24 christos Exp $

# $FreeBSD: head/cddl/lib/libctf/Makefile 314654 2017-03-04 11:30:04Z ngie $

.include <bsd.init.mk>

LIB=		ctf
SRCS=		ctf_create.c \
		ctf_decl.c \
		ctf_error.c \
		ctf_hash.c \
		ctf_labels.c \
		ctf_lib.c \
		ctf_lookup.c \
		ctf_open.c \
		ctf_subr.c \
		ctf_types.c \
		ctf_util.c
MAN=		ctf.5

.PATH:		${.CURDIR}/../../dist/common/ctf
.PATH:		${.CURDIR}/../../dist/lib/libctf/common

CPPFLAGS+=	-DCTF_OLD_VERSIONS

CPPFLAGS+=	-I${OSNETDIR}/sys \
		-I${OSNETDIR}/include \
		-I${OPENSOLARIS_USR_DISTDIR}/head \
		-I${OPENSOLARIS_USR_DISTDIR}/common/ctf \
		-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common

LIBDPLIBS+=	z	${NETBSDSRCDIR}/lib/libz

.include <bsd.lib.mk>

@


1.9
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.8 2015/09/24 14:36:54 christos Exp $
d3 1
a3 1
# $FreeBSD: src/cddl/lib/libctf/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $
a7 2
MAN=		ctf.5

d19 1
@


1.9.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2018/05/28 21:05:09 chs Exp $
d3 1
a3 1
# $FreeBSD: head/cddl/lib/libctf/Makefile 314654 2017-03-04 11:30:04Z ngie $
d8 2
a20 1
MAN=		ctf.5
@


1.8
log
@Add build stuff.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2015/09/17 01:53:48 christos Exp $
d5 1
a5 1
.include	"../../Makefile.inc"
@


1.8.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2016/08/04 17:07:24 christos Exp $
d5 1
a5 1
.include <bsd.init.mk>
@


1.7
log
@don't depend on the installed version of libz
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2015/09/15 18:38:41 christos Exp $
d8 1
@


1.6
log
@no need for LIBDPLIBS here
@
text
@d33 1
a33 2
LDADD+=	-lz
DPADD+= ${LIBZ}
@


1.5
log
@libctf depends on libz
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2013/09/10 11:23:20 christos Exp $
d33 2
a34 1
LIBDPLIBS+=	z	${NETBSDSRCDIR}/lib/libz
@


1.4
log
@-D and -I are CPPFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/04/03 18:35:49 christos Exp $
d33 2
@


1.3
log
@use relative .PATH, and remove one that is not needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/02/21 01:46:35 darran Exp $
d24 1
a24 1
CFLAGS+=	-DCTF_OLD_VERSIONS
d26 1
a26 1
CFLAGS+=	-I${OSNETDIR}/sys \
@


1.3.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d24 1
a24 1
CPPFLAGS+=	-DCTF_OLD_VERSIONS
d26 1
a26 1
CPPFLAGS+=	-I${OSNETDIR}/sys \
@


1.3.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.3 2010/04/03 18:35:49 christos Exp $
d24 1
a24 1
CPPFLAGS+=	-DCTF_OLD_VERSIONS
d26 1
a26 1
CPPFLAGS+=	-I${OSNETDIR}/sys \
@


1.2
log
@Apply NetBSD changes to DTrace.

Ok with core@@.
@
text
@d1 1
a1 1
#	$NetBSD$
d21 2
a22 3
.PATH:		${OPENSOLARIS_USR_DISTDIR}/common/ctf
.PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common
.PATH:		${OPENSOLARIS_SYS_DISTDIR}/common/ctf
@


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

Ok with core@@.
@
text
@d1 2
a7 1
SHLIB_MAJOR=	2
d27 2
a28 2
CFLAGS+=	-I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
		-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
@

