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