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} 11LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lavl -lzfs_core 12 13SRCS= deviceid.c \ 14 fsshare.c \ 15 mkdirp.c \ 16 mnttab.c \ 17 thread_pool.c \ 18 zmount.c \ 19 zone.c 20 21SRCS+= libzfs_changelist.c \ 22 libzfs_compat.c \ 23 libzfs_config.c \ 24 libzfs_dataset.c \ 25 libzfs_diff.c \ 26 libzfs_import.c \ 27 libzfs_iter.c \ 28 libzfs_mount.c \ 29 libzfs_pool.c \ 30 libzfs_sendrecv.c \ 31 libzfs_status.c \ 32 libzfs_util.c \ 33 zfeature_common.c \ 34 zfs_comutil.c \ 35 zfs_deleg.c \ 36 zfs_fletcher.c \ 37 zfs_ioctl_compat.c \ 38 zfs_namecheck.c \ 39 zfs_prop.c \ 40 zpool_prop.c \ 41 zprop_common.c \ 42 43WARNS?= 0 44CSTD= c99 45CFLAGS+= -DZFS_NO_ACL 46CFLAGS+= -I${.CURDIR}/../../../sbin/mount 47CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem 48CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 49CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 50CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 51CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 52CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 53CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 54CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 55CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head 56CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 57CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 58CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common 59CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common 60CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs_core/common 61 62.include <bsd.lib.mk> 63