zfs-builds-mm/zfs-2.0.0-rc5/lib/libuutil/Makefile.am

31 lines
517 B
Makefile
Raw Normal View History

2020-11-03 21:32:00 +01:00
include $(top_srcdir)/config/Rules.am
lib_LTLIBRARIES = libuutil.la
USER_C = \
uu_alloc.c \
uu_avl.c \
uu_dprintf.c \
uu_ident.c \
uu_list.c \
uu_misc.c \
uu_open.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