aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zstream
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zstream')
-rw-r--r--cmd/zstream/.gitignore1
-rw-r--r--cmd/zstream/Makefile.am25
2 files changed, 11 insertions, 15 deletions
diff --git a/cmd/zstream/.gitignore b/cmd/zstream/.gitignore
deleted file mode 100644
index fd1240d55..000000000
--- a/cmd/zstream/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-zstream
diff --git a/cmd/zstream/Makefile.am b/cmd/zstream/Makefile.am
index 7749e94ba..9b2716ae0 100644
--- a/cmd/zstream/Makefile.am
+++ b/cmd/zstream/Makefile.am
@@ -1,21 +1,18 @@
-include $(top_srcdir)/config/Rules.am
-
-sbin_PROGRAMS = zstream
+sbin_PROGRAMS += zstream
+CPPCHECKTARGETS += zstream
zstream_SOURCES = \
- zstream.c \
- zstream.h \
- zstream_dump.c \
- zstream_redup.c \
- zstream_token.c
+ %D%/zstream.c \
+ %D%/zstream.h \
+ %D%/zstream_dump.c \
+ %D%/zstream_redup.c \
+ %D%/zstream_token.c
zstream_LDADD = \
- $(abs_top_builddir)/libzfs.la \
- $(abs_top_builddir)/libzfs_core.la \
- $(abs_top_builddir)/libnvpair.la
-
-include $(top_srcdir)/config/CppCheck.am
-CPPCHECKTARGETS += zstream
+ libzfs.la \
+ libzfs_core.la \
+ libnvpair.la
+PHONY += install-exec-hook
install-exec-hook:
cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump