1include $(top_srcdir)/config/Rules.am 2 3pkgconfig_DATA = libzfsbootenv.pc 4 5AM_CFLAGS += -fvisibility=hidden 6 7lib_LTLIBRARIES = libzfsbootenv.la 8 9include $(top_srcdir)/config/Abigail.am 10 11if BUILD_FREEBSD 12DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/freebsd/zfs 13endif 14if BUILD_LINUX 15DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/linux/zfs 16endif 17 18USER_C = \ 19 lzbe_device.c \ 20 lzbe_pair.c \ 21 lzbe_util.c 22 23dist_libzfsbootenv_la_SOURCES = \ 24 $(USER_C) 25 26libzfsbootenv_la_LIBADD = \ 27 $(abs_top_builddir)/lib/libzfs/libzfs.la \ 28 $(abs_top_builddir)/lib/libnvpair/libnvpair.la 29 30libzfsbootenv_la_LDFLAGS = 31 32if !ASAN_ENABLED 33libzfsbootenv_la_LDFLAGS += -Wl,-z,defs 34endif 35 36libzfsbootenv_la_LDFLAGS += -version-info 1:0:0 37 38include $(top_srcdir)/config/CppCheck.am 39 40# Library ABI 41EXTRA_DIST = libzfsbootenv.abi libzfsbootenv.suppr 42