xref: /freebsd/sys/contrib/openzfs/lib/libuutil/Makefile.am (revision c7046f76c2c027b00c0e6ba57cfd28f1a78f5e23)
1libuutil_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS) $(LIBRARY_CFLAGS)
2
3lib_LTLIBRARIES += libuutil.la
4CPPCHECKTARGETS += libuutil.la
5
6libuutil_la_SOURCES = \
7	%D%/uu_alloc.c \
8	%D%/uu_avl.c \
9	%D%/uu_ident.c \
10	%D%/uu_list.c \
11	%D%/uu_misc.c \
12	%D%/uu_string.c
13
14libuutil_la_LIBADD = \
15	libavl.la \
16	libspl.la
17
18libuutil_la_LIBADD += $(LTLIBINTL)
19
20libuutil_la_LDFLAGS = -pthread
21
22if !ASAN_ENABLED
23libuutil_la_LDFLAGS += -Wl,-z,defs
24endif
25
26libuutil_la_LDFLAGS += -version-info 3:0:0
27
28dist_noinst_DATA += %D%/libuutil.abi %D%/libuutil.suppr
29