1include $(top_srcdir)/config/Rules.am 2 3sbin_PROGRAMS = zfs 4 5zfs_SOURCES = \ 6 zfs_iter.c \ 7 zfs_iter.h \ 8 zfs_main.c \ 9 zfs_util.h \ 10 zfs_project.c \ 11 zfs_projectutil.h 12 13zfs_LDADD = \ 14 $(abs_top_builddir)/lib/libzfs/libzfs.la \ 15 $(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \ 16 $(abs_top_builddir)/lib/libnvpair/libnvpair.la \ 17 $(abs_top_builddir)/lib/libuutil/libuutil.la 18 19zfs_LDADD += $(LTLIBINTL) 20 21if BUILD_FREEBSD 22zfs_LDADD += -lgeom -ljail 23endif 24 25include $(top_srcdir)/config/CppCheck.am 26