flush: only detect lack of flush support in one place
[zfs.git] / cmd / zstream / Makefile.am
blobbe3539fe905d8e672dbe014f986e8b01b8da41cd
1 zstream_CPPFLAGS = $(AM_CPPFLAGS) $(LIBZPOOL_CPPFLAGS)
3 sbin_PROGRAMS   += zstream
4 CPPCHECKTARGETS += zstream
6 zstream_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
15 zstream_LDADD = \
16         libzfs.la \
17         libzfs_core.la \
18         libzpool.la \
19         libnvpair.la
21 PHONY += install-exec-hook
22 install-exec-hook:
23         cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump