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
|
2014-06-10 01:55:31 +04:00
|
|
|
libzfs_pc_DATA = libzfs.pc libzfs_core.pc
|
2014-06-07 03:23:22 +04:00
|
|
|
|
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
|
|
|
|
|
2014-06-10 01:55:31 +04:00
|
|
|
USER_C = \
|
|
|
|
libzfs_changelist.c \
|
|
|
|
libzfs_config.c \
|
|
|
|
libzfs_dataset.c \
|
|
|
|
libzfs_diff.c \
|
|
|
|
libzfs_fru.c \
|
|
|
|
libzfs_graph.c \
|
|
|
|
libzfs_import.c \
|
|
|
|
libzfs_iter.c \
|
|
|
|
libzfs_mount.c \
|
|
|
|
libzfs_pool.c \
|
|
|
|
libzfs_sendrecv.c \
|
|
|
|
libzfs_status.c \
|
|
|
|
libzfs_util.c
|
|
|
|
|
|
|
|
KERNEL_C =
|
|
|
|
|
|
|
|
nodist_libzfs_la_SOURCES = \
|
|
|
|
$(USER_C) \
|
|
|
|
$(KERNEL_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
|
2014-06-10 01:55:31 +04:00
|
|
|
|
|
|
|
EXTRA_DIST = $(libzfs_pc_DATA) $(USER_C)
|