Remove b_pabd/b_rabd allocation from arc_hdr_alloc()
[zfs.git] / lib / libzfsbootenv / Makefile.am
blob0c454a5e031b8c3608471180137ab98ec2e37f57
1 include $(top_srcdir)/config/Rules.am
3 pkgconfig_DATA = libzfsbootenv.pc
5 AM_CFLAGS += -fvisibility=hidden
7 lib_LTLIBRARIES = libzfsbootenv.la
9 include $(top_srcdir)/config/Abigail.am
11 if BUILD_FREEBSD
12 DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/freebsd/zfs
13 endif
14 if BUILD_LINUX
15 DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/linux/zfs
16 endif
18 USER_C = \
19         lzbe_device.c \
20         lzbe_pair.c \
21         lzbe_util.c
23 dist_libzfsbootenv_la_SOURCES = \
24         $(USER_C)
26 libzfsbootenv_la_LIBADD = \
27         $(abs_top_builddir)/lib/libzfs/libzfs.la \
28         $(abs_top_builddir)/lib/libnvpair/libnvpair.la
30 libzfsbootenv_la_LDFLAGS =
32 if !ASAN_ENABLED
33 libzfsbootenv_la_LDFLAGS += -Wl,-z,defs
34 endif
36 libzfsbootenv_la_LDFLAGS += -version-info 1:0:0
38 include $(top_srcdir)/config/CppCheck.am
40 # Library ABI
41 EXTRA_DIST = libzfsbootenv.abi libzfsbootenv.suppr