diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2007-04-06 01:09:06 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2007-04-06 01:09:06 +0000 |
commit | f0a75d274af375d15b97b830966b99a02b7db911 (patch) | |
tree | 3061c8734d9ce560165e672836837a0f411a83c9 /cddl/sbin | |
parent | c8c0ba192e3ac07c3797a1bbca52e5575e019890 (diff) | |
download | src-f0a75d274af375d15b97b830966b99a02b7db911.tar.gz src-f0a75d274af375d15b97b830966b99a02b7db911.zip |
Please welcome ZFS - The last word in file systems.
ZFS file system was ported from OpenSolaris operating system. The code in under
CDDL license.
I'd like to thank all SUN developers that created this great piece of software.
Supported by: Wheel LTD (http://www.wheel.pl/)
Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/)
Supported by: Sentex (http://www.sentex.net/)
Notes
Notes:
svn path=/head/; revision=168404
Diffstat (limited to 'cddl/sbin')
-rw-r--r-- | cddl/sbin/Makefile | 11 | ||||
-rw-r--r-- | cddl/sbin/Makefile.inc | 5 | ||||
-rw-r--r-- | cddl/sbin/zfs/Makefile | 27 | ||||
-rw-r--r-- | cddl/sbin/zpool/Makefile | 29 |
4 files changed, 72 insertions, 0 deletions
diff --git a/cddl/sbin/Makefile b/cddl/sbin/Makefile new file mode 100644 index 000000000000..802bbfe02b22 --- /dev/null +++ b/cddl/sbin/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +SUBDIR= +.if ${MK_ZFS} != "no" +SUBDIR+=zfs +SUBDIR+=zpool +.endif + +.include <bsd.subdir.mk> diff --git a/cddl/sbin/Makefile.inc b/cddl/sbin/Makefile.inc new file mode 100644 index 000000000000..c5111d5cb286 --- /dev/null +++ b/cddl/sbin/Makefile.inc @@ -0,0 +1,5 @@ +# $FreeBSD$ + +BINDIR?= /sbin + +.include "../Makefile.inc" diff --git a/cddl/sbin/zfs/Makefile b/cddl/sbin/zfs/Makefile new file mode 100644 index 000000000000..7fab5bc460d1 --- /dev/null +++ b/cddl/sbin/zfs/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/opensolaris/cmd/zfs + +PROG= zfs +MAN= zfs.8 +SRCS= zfs_main.c +SRCS+= zfs_iter.c + +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common +CFLAGS+=-I${.CURDIR}/../../../compat/opensolaris/include +CFLAGS+=-I${.CURDIR}/../../../compat/opensolaris/lib/libumem +CFLAGS+=-I${.CURDIR}/../../../sys/compat/opensolaris +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/head +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libuutil/common +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libzfs/common +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libumem/common +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair +CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common +CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs +CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys +CFLAGS+=-I${.CURDIR}/../../../sys + +DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBZFS} +LDADD= -lgeom -lm -lnvpair -luutil -lzfs + +.include <bsd.prog.mk> diff --git a/cddl/sbin/zpool/Makefile b/cddl/sbin/zpool/Makefile new file mode 100644 index 000000000000..7a0f2625a09f --- /dev/null +++ b/cddl/sbin/zpool/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/opensolaris/cmd/zpool + +PROG= zpool +MAN= zpool.8 +SRCS= zpool_main.c +SRCS+= zpool_vdev.c +SRCS+= zpool_iter.c +SRCS+= zpool_util.c + +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common +CFLAGS+=-I${.CURDIR}/../../../compat/opensolaris/include +CFLAGS+=-I${.CURDIR}/../../../compat/opensolaris/lib/libumem +CFLAGS+=-I${.CURDIR}/../../../sys/compat/opensolaris +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/head +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libuutil/common +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libumem/common +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libzfs/common +CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair +CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common +CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs +CFLAGS+=-I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys +CFLAGS+=-I${.CURDIR}/../../../sys + +DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBZFS} +LDADD= -lavl -lgeom -lm -lnvpair -luutil -lzfs + +.include <bsd.prog.mk> |