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