1include $(top_srcdir)/config/Rules.am 2 3lib_LTLIBRARIES = libuutil.la 4 5include $(top_srcdir)/config/Abigail.am 6 7USER_C = \ 8 uu_alloc.c \ 9 uu_avl.c \ 10 uu_dprintf.c \ 11 uu_ident.c \ 12 uu_list.c \ 13 uu_misc.c \ 14 uu_open.c \ 15 uu_pname.c \ 16 uu_string.c 17 18libuutil_la_SOURCES = $(USER_C) 19 20libuutil_la_LIBADD = \ 21 $(abs_top_builddir)/lib/libavl/libavl.la \ 22 $(abs_top_builddir)/lib/libspl/libspl.la 23 24libuutil_la_LIBADD += $(LTLIBINTL) 25 26libuutil_la_LDFLAGS = -pthread 27 28if !ASAN_ENABLED 29libuutil_la_LDFLAGS += -Wl,-z,defs 30endif 31 32libuutil_la_LDFLAGS += -version-info 3:0:0 33 34include $(top_srcdir)/config/CppCheck.am 35 36# Library ABI 37EXTRA_DIST = libuutil.abi libuutil.suppr 38