1sbin_PROGRAMS += zstream 2CPPCHECKTARGETS += zstream 3 4zstream_SOURCES = \ 5 %D%/zstream.c \ 6 %D%/zstream.h \ 7 %D%/zstream_decompress.c \ 8 %D%/zstream_dump.c \ 9 %D%/zstream_recompress.c \ 10 %D%/zstream_redup.c \ 11 %D%/zstream_token.c 12 13zstream_LDADD = \ 14 libzfs.la \ 15 libzfs_core.la \ 16 libzpool.la \ 17 libnvpair.la 18 19PHONY += install-exec-hook 20install-exec-hook: 21 cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump 22