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 17:10:00 +00:00
|
|
|
-I${top_srcdir}/lib/libspl/include \
|
2009-10-09 23:37:32 +00:00
|
|
|
-I${top_srcdir}/lib/libefi/include \
|
2008-12-22 17:10:00 +00:00
|
|
|
-I${top_srcdir}/lib/libuutil/include \
|
|
|
|
-I${top_srcdir}/lib/libzfs/include \
|
|
|
|
-I${top_srcdir}/lib/libnvpair/include \
|
|
|
|
-I${top_srcdir}/module/zcommon/include \
|
2010-05-14 18:57:48 +00:00
|
|
|
-I${top_srcdir}/module/zfs/include \
|
2008-12-22 17:10:00 +00:00
|
|
|
-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 = zpool
|
|
|
|
|
|
|
|
zpool_SOURCES = \
|
2008-12-22 17:22:39 +00:00
|
|
|
${top_srcdir}/cmd/zpool/zpool_iter.c \
|
|
|
|
${top_srcdir}/cmd/zpool/zpool_main.c \
|
|
|
|
${top_srcdir}/cmd/zpool/zpool_util.c \
|
|
|
|
${top_srcdir}/cmd/zpool/zpool_util.h \
|
|
|
|
${top_srcdir}/cmd/zpool/zpool_vdev.c
|
2008-12-12 16:50:07 +00:00
|
|
|
|
|
|
|
zpool_LDADD = \
|
2008-12-22 17:10:00 +00:00
|
|
|
$(top_builddir)/lib/libspl/libspl.la \
|
|
|
|
$(top_builddir)/lib/libavl/libavl.la \
|
2009-10-09 22:58:45 +00:00
|
|
|
$(top_builddir)/lib/libefi/libefi.la \
|
2008-12-22 17:10:00 +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 17:10:00 +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
|
|
|
zpool_LDFLAGS = -pthread -lm $(ZLIB) -lrt $(LIBUUID) $(LIBBLKID)
|