1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/compat/opensolaris/misc 4.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 5.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 6.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 7 8LIB= zfs 9LIBADD= md pthread umem util uutil m avl bsdxml geom nvpair z zfs_core 10SRCS= deviceid.c \ 11 fsshare.c \ 12 mkdirp.c \ 13 mnttab.c \ 14 thread_pool.c \ 15 zmount.c \ 16 zone.c 17 18SRCS+= libzfs_changelist.c \ 19 libzfs_compat.c \ 20 libzfs_config.c \ 21 libzfs_dataset.c \ 22 libzfs_diff.c \ 23 libzfs_import.c \ 24 libzfs_iter.c \ 25 libzfs_mount.c \ 26 libzfs_pool.c \ 27 libzfs_sendrecv.c \ 28 libzfs_status.c \ 29 libzfs_util.c \ 30 zfeature_common.c \ 31 zfs_comutil.c \ 32 zfs_deleg.c \ 33 zfs_fletcher.c \ 34 zfs_namecheck.c \ 35 zfs_prop.c \ 36 zpool_prop.c \ 37 zprop_common.c \ 38 39WARNS?= 0 40SHLIB_MAJOR= 3 41CSTD= c99 42CFLAGS+= -DZFS_NO_ACL 43CFLAGS+= -I${SRCTOP}/sbin/mount 44CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 45CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 46CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 47CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 48CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 49CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 50CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys 51CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 52CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 53CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 54CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 55CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 56CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 57 58.include <bsd.lib.mk> 59