2010-08-26 22:22:58 +04:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2014-06-07 03:23:22 +04:00
|
|
|
libzfs_pcdir = $(datarootdir)/pkgconfig
|
|
|
|
libzfs_pc_DATA = $(top_srcdir)/lib/libzfs/libzfs.pc $(top_srcdir)/lib/libzfs/libzfs_core.pc
|
|
|
|
EXTRA_DIST = $(top_srcdir)/lib/libzfs/libzfs.pc $(top_srcdir)/lib/libzfs/libzfs_core.pc
|
|
|
|
|
2010-08-26 22:22:58 +04:00
|
|
|
DEFAULT_INCLUDES += \
|
2010-09-05 00:26:23 +04:00
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 22:22:58 +04:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libzfs.la
|
|
|
|
|
|
|
|
libzfs_la_SOURCES = \
|
2010-09-05 00:26:23 +04:00
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_changelist.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_config.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_dataset.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_diff.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_fru.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_graph.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_import.c \
|
2011-11-17 22:14:36 +04:00
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_iter.c \
|
2010-09-05 00:26:23 +04:00
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_mount.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_pool.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_sendrecv.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_status.c \
|
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_util.c
|
2011-07-05 23:12:08 +04:00
|
|
|
|
2012-01-01 03:30:52 +04:00
|
|
|
libzfs_la_LIBADD = \
|
2013-08-28 15:45:09 +04:00
|
|
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
2012-01-01 03:30:52 +04:00
|
|
|
$(top_builddir)/lib/libshare/libshare.la \
|
|
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
|
|
|
$(top_builddir)/lib/libzpool/libzpool.la
|
|
|
|
|
2013-09-26 21:42:41 +04:00
|
|
|
libzfs_la_LIBADD += -lm -ldl $(LIBBLKID)
|
2013-09-26 21:44:10 +04:00
|
|
|
libzfs_la_LDFLAGS = -version-info 2:0:0
|