2008-12-12 16:50:07 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2008-12-16 16:58:41 +00:00
|
|
|
DEFAULT_INCLUDES += \
|
2008-12-22 19:27:30 +00:00
|
|
|
-I${top_srcdir}/lib/libspl/include \
|
2009-10-14 22:47:41 +00:00
|
|
|
-I${top_srcdir}/lib/libefi/include \
|
2008-12-22 23:34:18 +00:00
|
|
|
-I${top_srcdir}/lib/libzpool/include \
|
2008-12-22 19:27:30 +00:00
|
|
|
-I${top_srcdir}/lib/libuutil/include \
|
|
|
|
-I${top_srcdir}/lib/libzfs/include \
|
|
|
|
-I${top_srcdir}/lib/libnvpair/include \
|
2008-12-22 23:48:05 +00:00
|
|
|
-I${top_srcdir}/module/zfs \
|
|
|
|
-I${top_srcdir}/module/zfs/include \
|
2008-12-22 19:27:30 +00:00
|
|
|
-I${top_srcdir}/module/zcommon/include \
|
|
|
|
-I${top_srcdir}/module/nvpair/include \
|
2009-01-05 20:33:09 +00:00
|
|
|
-I${top_srcdir}/module/avl/include \
|
|
|
|
-I${top_srcdir}/module/unicode/include
|
2008-12-12 16:50:07 +00:00
|
|
|
|
|
|
|
sbin_PROGRAMS = zinject
|
|
|
|
|
|
|
|
zinject_SOURCES = \
|
2008-12-22 17:22:39 +00:00
|
|
|
${top_srcdir}/cmd/zinject/translate.c \
|
|
|
|
${top_srcdir}/cmd/zinject/zinject.c \
|
|
|
|
${top_srcdir}/cmd/zinject/zinject.h
|
2008-12-12 16:50:07 +00:00
|
|
|
|
|
|
|
zinject_LDADD = \
|
2008-12-22 19:27:30 +00:00
|
|
|
$(top_builddir)/lib/libspl/libspl.la \
|
|
|
|
$(top_builddir)/lib/libavl/libavl.la \
|
2009-10-14 22:47:41 +00:00
|
|
|
$(top_builddir)/lib/libefi/libefi.la \
|
2008-12-22 19:27:30 +00:00
|
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
2009-01-05 20:33:09 +00:00
|
|
|
$(top_builddir)/lib/libunicode/libunicode.la \
|
2008-12-22 19:27:30 +00:00
|
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
|
|
$(top_builddir)/lib/libzpool/libzpool.la \
|
|
|
|
$(top_builddir)/lib/libzfs/libzfs.la
|
|
|
|
|
2009-10-14 22:47:41 +00:00
|
|
|
zinject_LDFLAGS = -pthread -lm $(ZLIB) -lrt $(LIBUUID)
|