diff options
author | Darik Horn <[email protected]> | 2011-12-31 17:30:52 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-01-17 15:19:50 -0800 |
commit | 750562833f5009e1602e3b7d8f10497ee683f611 (patch) | |
tree | b06e59864c4f9a6466cc6e0de486572809888618 /lib/libuutil | |
parent | 57a4eddc4d5e1e6c10d8d7dcf87a9fc27398adcd (diff) |
Combine libraries: spl, avl, efi, share, unicode.
These libraries, which are an artifact of the ZoL development
process, conflict with packages that are already in distribution:
* libspl: SPL Programming Language
* libavl: AVL for Linux
* libefi: GRUB
And these libraries are potential conflicts:
* libshare: the Linux Mount Manager
* libunicode: Perl and Python
Recompose these five ZoL components into the four libraries that are
conventionally provided by Solaris and FreeBSD systems:
+ libnvpair
+ libuutil
+ libzpool
+ libzfs
This change resolves the name conflict, makes ZoL more compatible
with existing software that uses autotools to detect ZFS, and allows
pkg-zfs to better reflect the official Debian kFreeBSD packaging.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes: #430
Diffstat (limited to 'lib/libuutil')
-rw-r--r-- | lib/libuutil/Makefile.am | 9 | ||||
-rw-r--r-- | lib/libuutil/Makefile.in | 12 |
2 files changed, 15 insertions, 6 deletions
diff --git a/lib/libuutil/Makefile.am b/lib/libuutil/Makefile.am index f073cdbe4..2b2d5c1aa 100644 --- a/lib/libuutil/Makefile.am +++ b/lib/libuutil/Makefile.am @@ -8,8 +8,6 @@ DEFAULT_INCLUDES += \ lib_LTLIBRARIES = libuutil.la -libuutil_la_LIBADD = $(top_builddir)/lib/libavl/libavl.la - libuutil_la_SOURCES = \ $(top_srcdir)/lib/libuutil/uu_alloc.c \ $(top_srcdir)/lib/libuutil/uu_avl.c \ @@ -22,4 +20,9 @@ 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 +libuutil_la_LIBADD = \ + $(top_builddir)/lib/libavl/libavl.la \ + $(top_builddir)/lib/libspl/libspl.la \ + $(top_builddir)/lib/libefi/libefi.la + +libuutil_la_LDFLAGS = -pthread -version-info 1:1:0 diff --git a/lib/libuutil/Makefile.in b/lib/libuutil/Makefile.in index 6507a7ead..0ffdc0060 100644 --- a/lib/libuutil/Makefile.in +++ b/lib/libuutil/Makefile.in @@ -115,7 +115,9 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) -libuutil_la_DEPENDENCIES = $(top_builddir)/lib/libavl/libavl.la +libuutil_la_DEPENDENCIES = $(top_builddir)/lib/libavl/libavl.la \ + $(top_builddir)/lib/libspl/libspl.la \ + $(top_builddir)/lib/libefi/libefi.la am_libuutil_la_OBJECTS = uu_alloc.lo uu_avl.lo uu_dprintf.lo \ uu_ident.lo uu_list.lo uu_misc.lo uu_open.lo uu_pname.lo \ uu_string.lo uu_strtoint.lo @@ -342,7 +344,6 @@ AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing \ -DTEXT_DOMAIN=\"zfs-linux-user\" $(DEBUG_STACKFLAGS) \ $(FRAME_LARGER_THAN) lib_LTLIBRARIES = libuutil.la -libuutil_la_LIBADD = $(top_builddir)/lib/libavl/libavl.la libuutil_la_SOURCES = \ $(top_srcdir)/lib/libuutil/uu_alloc.c \ $(top_srcdir)/lib/libuutil/uu_avl.c \ @@ -355,7 +356,12 @@ 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 +libuutil_la_LIBADD = \ + $(top_builddir)/lib/libavl/libavl.la \ + $(top_builddir)/lib/libspl/libspl.la \ + $(top_builddir)/lib/libefi/libefi.la + +libuutil_la_LDFLAGS = -pthread -version-info 1:1:0 all: all-am .SUFFIXES: |