aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zhack/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zhack/Makefile.am')
-rw-r--r--cmd/zhack/Makefile.am18
1 files changed, 7 insertions, 11 deletions
diff --git a/cmd/zhack/Makefile.am b/cmd/zhack/Makefile.am
index fa911e9e3..94fa76d14 100644
--- a/cmd/zhack/Makefile.am
+++ b/cmd/zhack/Makefile.am
@@ -1,16 +1,12 @@
-include $(top_srcdir)/config/Rules.am
+zhack_CPPFLAGS = $(AM_CPPFLAGS) $(FORCEDEBUG_CPPFLAGS)
-AM_CPPFLAGS += $(FORCEDEBUG_CPPFLAGS)
-
-sbin_PROGRAMS = zhack
+sbin_PROGRAMS += zhack
+CPPCHECKTARGETS += zhack
zhack_SOURCES = \
- zhack.c
+ %D%/zhack.c
zhack_LDADD = \
- $(abs_top_builddir)/libzpool.la \
- $(abs_top_builddir)/libzfs_core.la \
- $(abs_top_builddir)/libnvpair.la
-
-include $(top_srcdir)/config/CppCheck.am
-CPPCHECKTARGETS += zhack
+ libzpool.la \
+ libzfs_core.la \
+ libnvpair.la