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