summaryrefslogtreecommitdiffstats
path: root/lib/libuutil/Makefile.am
blob: 9eb81f090fca88713492880eba62e82ef330335e (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
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

nodist_libuutil_la_SOURCES = $(USER_C)

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

if BUILD_FREEBSD
libuutil_la_LDFLAGS = -pthread -version-info 3:0:0
else
libuutil_la_LDFLAGS = -pthread -version-info 1:1:0
endif

EXTRA_DIST = $(USER_C)