2008-05-22 04:26:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 11:30:04 +00:00
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/common/ctf
|
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libctf/common
|
|
|
|
.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/common/ctf
|
2008-05-22 04:26:42 +00:00
|
|
|
|
|
|
|
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
|
2014-12-08 04:35:34 +00:00
|
|
|
MAN= ctf.5
|
2008-05-22 04:26:42 +00:00
|
|
|
|
2016-06-23 15:02:57 +00:00
|
|
|
WARNS?= 2
|
2008-05-22 04:26:42 +00:00
|
|
|
CFLAGS+= -DCTF_OLD_VERSIONS
|
|
|
|
|
Merge OpenZFS support in to HEAD.
The primary benefit is maintaining a completely shared
code base with the community allowing FreeBSD to receive
new features sooner and with less effort.
I would advise against doing 'zpool upgrade'
or creating indispensable pools using new
features until this change has had a month+
to soak.
Work on merging FreeBSD support in to what was
at the time "ZFS on Linux" began in August 2018.
I first publicly proposed transitioning FreeBSD
to (new) OpenZFS on December 18th, 2018. FreeBSD
support in OpenZFS was finally completed in December
2019. A CFT for downstreaming OpenZFS support in
to FreeBSD was first issued on July 8th. All issues
that were reported have been addressed or, for
a couple of less critical matters there are
pull requests in progress with OpenZFS. iXsystems
has tested and dogfooded extensively internally.
The TrueNAS 12 release is based on OpenZFS with
some additional features that have not yet made
it upstream.
Improvements include:
project quotas, encrypted datasets,
allocation classes, vectorized raidz,
vectorized checksums, various command line
improvements, zstd compression.
Thanks to those who have helped along the way:
Ryan Moeller, Allan Jude, Zack Welch, and many
others.
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25872
2020-08-25 02:21:27 +00:00
|
|
|
CFLAGS+= -DIN_BASE
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
|
|
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
|
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
|
|
|
2017-03-04 11:30:04 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \
|
|
|
|
-I${SRCTOP}/cddl/compat/opensolaris/include \
|
2008-05-22 04:26:42 +00:00
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/common/ctf \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
|
|
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
|
|
|
|
Merge OpenZFS support in to HEAD.
The primary benefit is maintaining a completely shared
code base with the community allowing FreeBSD to receive
new features sooner and with less effort.
I would advise against doing 'zpool upgrade'
or creating indispensable pools using new
features until this change has had a month+
to soak.
Work on merging FreeBSD support in to what was
at the time "ZFS on Linux" began in August 2018.
I first publicly proposed transitioning FreeBSD
to (new) OpenZFS on December 18th, 2018. FreeBSD
support in OpenZFS was finally completed in December
2019. A CFT for downstreaming OpenZFS support in
to FreeBSD was first issued on July 8th. All issues
that were reported have been addressed or, for
a couple of less critical matters there are
pull requests in progress with OpenZFS. iXsystems
has tested and dogfooded extensively internally.
The TrueNAS 12 release is based on OpenZFS with
some additional features that have not yet made
it upstream.
Improvements include:
project quotas, encrypted datasets,
allocation classes, vectorized raidz,
vectorized checksums, various command line
improvements, zstd compression.
Thanks to those who have helped along the way:
Ryan Moeller, Allan Jude, Zack Welch, and many
others.
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25872
2020-08-25 02:21:27 +00:00
|
|
|
LIBADD+= spl z
|
2014-03-05 23:37:25 +00:00
|
|
|
|
2008-05-22 04:26:42 +00:00
|
|
|
.include <bsd.lib.mk>
|