Reduce dbuf_find() lock contention
[zfs.git] / lib / libuutil / Makefile.am
blob6678a90b59f3039827e591d426f3a376480a6920
1 include $(top_srcdir)/config/Rules.am
3 # See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
4 AM_CFLAGS += -no-suppress
6 lib_LTLIBRARIES = libuutil.la
8 include $(top_srcdir)/config/Abigail.am
10 USER_C = \
11         uu_alloc.c \
12         uu_avl.c \
13         uu_ident.c \
14         uu_list.c \
15         uu_misc.c \
16         uu_pname.c \
17         uu_string.c
19 libuutil_la_SOURCES = $(USER_C)
21 libuutil_la_LIBADD = \
22         $(abs_top_builddir)/lib/libavl/libavl.la \
23         $(abs_top_builddir)/lib/libspl/libspl.la
25 libuutil_la_LIBADD += $(LTLIBINTL)
27 libuutil_la_LDFLAGS = -pthread
29 if !ASAN_ENABLED
30 libuutil_la_LDFLAGS += -Wl,-z,defs
31 endif
33 libuutil_la_LDFLAGS += -version-info 3:0:0
35 include $(top_srcdir)/config/CppCheck.am
37 # Library ABI
38 EXTRA_DIST = libuutil.abi libuutil.suppr