aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libuutil/Makefile.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-07-05 12:12:08 -0700
committerBrian Behlendorf <[email protected]>2011-07-06 09:20:28 -0700
commitb1c932d318ae604b6968ffef136952af4e80a407 (patch)
tree19c11a51798b06ebcf9b3cb6384c5ad93be89b6c /lib/libuutil/Makefile.in
parent8b0cf399ff9e764a08faea654bd30043a861cb09 (diff)
Add proper library versioning
The zfs libraries were never properly versioned. Since the API has remained static for quite some time this we never an issue. However, going forward they should be versioned. This commit versions all of the libraries to 1.0.0. From here on out this version must be updated to reflect changes to the library.
Diffstat (limited to 'lib/libuutil/Makefile.in')
-rw-r--r--lib/libuutil/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libuutil/Makefile.in b/lib/libuutil/Makefile.in
index 8678411c8..e0b3d945d 100644
--- a/lib/libuutil/Makefile.in
+++ b/lib/libuutil/Makefile.in
@@ -118,6 +118,9 @@ libuutil_la_OBJECTS = $(am_libuutil_la_OBJECTS)
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
+libuutil_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libuutil_la_LDFLAGS) $(LDFLAGS) -o $@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
@@ -338,6 +341,7 @@ libuutil_la_SOURCES = \
$(top_srcdir)/lib/libuutil/uu_string.c \
$(top_srcdir)/lib/libuutil/uu_strtoint.c
+libuutil_la_LDFLAGS = -version-info 1:0:0
all: all-am
.SUFFIXES:
@@ -404,7 +408,7 @@ clean-libLTLIBRARIES:
rm -f "$${dir}/so_locations"; \
done
libuutil.la: $(libuutil_la_OBJECTS) $(libuutil_la_DEPENDENCIES)
- $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libuutil_la_OBJECTS) $(libuutil_la_LIBADD) $(LIBS)
+ $(AM_V_CCLD)$(libuutil_la_LINK) -rpath $(libdir) $(libuutil_la_OBJECTS) $(libuutil_la_LIBADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)