2010-08-26 18:22:58 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2014-06-06 23:23:22 +00:00
|
|
|
libzfs_pcdir = $(datarootdir)/pkgconfig
|
2014-06-09 21:55:31 +00:00
|
|
|
libzfs_pc_DATA = libzfs.pc libzfs_core.pc
|
2014-06-06 23:23:22 +00:00
|
|
|
|
2010-08-26 18:22:58 +00:00
|
|
|
DEFAULT_INCLUDES += \
|
2010-09-04 20:26:23 +00:00
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 18:22:58 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libzfs.la
|
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
USER_C = \
|
|
|
|
libzfs_changelist.c \
|
|
|
|
libzfs_config.c \
|
|
|
|
libzfs_dataset.c \
|
|
|
|
libzfs_diff.c \
|
|
|
|
libzfs_fru.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 19:12:08 +00:00
|
|
|
|
2011-12-31 23:30:52 +00:00
|
|
|
libzfs_la_LIBADD = \
|
2013-08-28 11:45:09 +00:00
|
|
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
2011-12-31 23:30:52 +00:00
|
|
|
$(top_builddir)/lib/libshare/libshare.la \
|
|
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
|
|
|
$(top_builddir)/lib/libzpool/libzpool.la
|
|
|
|
|
2016-03-14 16:04:21 +00:00
|
|
|
libzfs_la_LIBADD += -lm $(LIBBLKID) $(LIBUDEV)
|
2013-09-26 17:44:10 +00:00
|
|
|
libzfs_la_LDFLAGS = -version-info 2:0:0
|
2014-06-09 21:55:31 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = $(libzfs_pc_DATA) $(USER_C)
|