2010-08-26 18:22:58 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
libzfs_la_SOURCES = \
|
2010-09-04 20:26:23 +00: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 18:14:36 +00:00
|
|
|
$(top_srcdir)/lib/libzfs/libzfs_iter.c \
|
2010-09-04 20:26:23 +00: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 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
|
|
|
|
|
2013-09-26 17:42:41 +00:00
|
|
|
libzfs_la_LIBADD += -lm -ldl $(LIBBLKID)
|
2013-09-26 17:44:10 +00:00
|
|
|
libzfs_la_LDFLAGS = -version-info 2:0:0
|