2013-08-28 15:45:09 +04:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libzfs_core.la
|
|
|
|
|
2014-06-10 01:55:31 +04:00
|
|
|
USER_C = \
|
|
|
|
libzfs_core.c
|
|
|
|
|
2020-06-25 21:14:54 +03:00
|
|
|
libzfs_core_la_SOURCES = $(USER_C)
|
2013-08-28 15:45:09 +04:00
|
|
|
|
|
|
|
libzfs_core_la_LIBADD = \
|
2018-02-08 19:16:23 +03:00
|
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
2019-11-12 21:40:39 +03:00
|
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
|
|
$(top_builddir)/lib/libzutil/libzutil.la
|
2013-08-28 15:45:09 +04:00
|
|
|
|
2020-04-14 21:36:28 +03:00
|
|
|
if BUILD_FREEBSD
|
|
|
|
libzfs_core_la_LDFLAGS = -version-info 3:0:0
|
|
|
|
libzfs_core_la_LIBADD += -lutil -lgeom
|
|
|
|
else
|
2013-09-26 21:44:10 +04:00
|
|
|
libzfs_core_la_LDFLAGS = -version-info 1:0:0
|
2020-04-14 21:36:28 +03:00
|
|
|
endif
|