aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libuutil/Makefile.am
blob: 6678a90b59f3039827e591d426f3a376480a6920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
include $(top_srcdir)/config/Rules.am

# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
AM_CFLAGS += -no-suppress

lib_LTLIBRARIES = libuutil.la

include $(top_srcdir)/config/Abigail.am

USER_C = \
	uu_alloc.c \
	uu_avl.c \
	uu_ident.c \
	uu_list.c \
	uu_misc.c \
	uu_pname.c \
	uu_string.c

libuutil_la_SOURCES = $(USER_C)

libuutil_la_LIBADD = \
	$(abs_top_builddir)/lib/libavl/libavl.la \
	$(abs_top_builddir)/lib/libspl/libspl.la

libuutil_la_LIBADD += $(LTLIBINTL)

libuutil_la_LDFLAGS = -pthread

if !ASAN_ENABLED
libuutil_la_LDFLAGS += -Wl,-z,defs
endif

libuutil_la_LDFLAGS += -version-info 3:0:0

include $(top_srcdir)/config/CppCheck.am

# Library ABI
EXTRA_DIST = libuutil.abi libuutil.suppr