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