1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/compat/opensolaris/misc 4.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 5.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 6.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common 7 8LIB= zfs 9DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBUMEM} ${LIBUTIL} ${LIBM} ${LIBNVPAIR} \ 10 ${LIBAVL} ${LIBZFS_CORE} ${LIBUUTIL} ${LIBBSDXML} ${LIBGEOM} \ 11 ${LIBNVPAIR} 12 13LDADD= -lmd -lpthread -lumem -lutil -luutil -lm -lnvpair -lavl \ 14 -lbsdxml -lgeom -lnvpair -lzfs_core 15 16SRCS= deviceid.c \ 17 fsshare.c \ 18 mkdirp.c \ 19 mnttab.c \ 20 thread_pool.c \ 21 zmount.c \ 22 zone.c 23 24SRCS+= libzfs_changelist.c \ 25 libzfs_compat.c \ 26 libzfs_config.c \ 27 libzfs_dataset.c \ 28 libzfs_diff.c \ 29 libzfs_import.c \ 30 libzfs_iter.c \ 31 libzfs_mount.c \ 32 libzfs_pool.c \ 33 libzfs_sendrecv.c \ 34 libzfs_status.c \ 35 libzfs_util.c \ 36 zfeature_common.c \ 37 zfs_comutil.c \ 38 zfs_deleg.c \ 39 zfs_fletcher.c \ 40 zfs_ioctl_compat.c \ 41 zfs_namecheck.c \ 42 zfs_prop.c \ 43 zpool_prop.c \ 44 zprop_common.c \ 45 46WARNS?= 0 47CSTD= c99 48CFLAGS+= -DZFS_NO_ACL 49CFLAGS+= -I${.CURDIR}/../../../sbin/mount 50CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem 51CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 52CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 53CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 54CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 55CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 56CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 57CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 58CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head 59CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 60CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 61CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common 62CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common 63CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs_core/common 64 65.include <bsd.lib.mk> 66