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-17 00:51:23 +00:00
|
|
|
-I${top_srcdir}/lib/libspl/include \
|
2009-10-14 22:47:41 +00:00
|
|
|
-I${top_srcdir}/lib/libefi/include \
|
2008-12-17 00:51:23 +00:00
|
|
|
-I${top_srcdir}/lib/libzpool/include \
|
|
|
|
-I${top_srcdir}/lib/libnvpair/include \
|
|
|
|
-I${top_srcdir}/lib/libzfs/include \
|
|
|
|
-I${top_srcdir}/module/zfs/include \
|
|
|
|
-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 = zdb
|
|
|
|
|
|
|
|
zdb_SOURCES = \
|
2008-12-22 17:22:39 +00:00
|
|
|
${top_srcdir}/cmd/zdb/zdb.c \
|
|
|
|
${top_srcdir}/cmd/zdb/zdb_il.c
|
2008-12-12 16:50:07 +00:00
|
|
|
|
2008-12-12 17:20:33 +00:00
|
|
|
zdb_LDADD = \
|
2008-12-22 19:00:47 +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:00:47 +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:00:47 +00:00
|
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
|
|
$(top_builddir)/lib/libzpool/libzpool.la \
|
|
|
|
$(top_builddir)/lib/libzfs/libzfs.la
|
|
|
|
|
2009-10-15 23:25:18 +00:00
|
|
|
zdb_LDFLAGS = -pthread -lm $(ZLIB) -lrt $(LIBUUID) $(LIBBLKID)
|