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/libzpool | |
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/libzpool')
-rw-r--r-- | lib/libzpool/Makefile.am | 11 | ||||
-rw-r--r-- | lib/libzpool/Makefile.in | 14 |
2 files changed, 11 insertions, 14 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am index a9a7a1e14..d445d340d 100644 --- a/lib/libzpool/Makefile.am +++ b/lib/libzpool/Makefile.am @@ -8,11 +8,6 @@ DEFAULT_INCLUDES += \ lib_LTLIBRARIES = libzpool.la -libzpool_la_LIBADD = \ - $(top_builddir)/lib/libunicode/libunicode.la \ - $(top_builddir)/lib/libavl/libavl.la \ - $(top_builddir)/lib/libspl/libspl.la - libzpool_la_SOURCES = \ $(top_srcdir)/lib/libzpool/kernel.c \ $(top_srcdir)/lib/libzpool/taskq.c \ @@ -93,7 +88,11 @@ libzpool_la_SOURCES = \ $(top_srcdir)/module/zfs/zle.c \ $(top_srcdir)/module/zfs/zrlock.c -libzpool_la_LDFLAGS = -pthread -version-info 1:0:0 +libzpool_la_LIBADD = \ + $(top_builddir)/lib/libunicode/libunicode.la \ + $(top_builddir)/lib/libuutil/libuutil.la + +libzpool_la_LDFLAGS = -pthread -version-info 1:1:0 EXTRA_DIST = \ $(top_srcdir)/module/zfs/vdev_disk.c \ diff --git a/lib/libzpool/Makefile.in b/lib/libzpool/Makefile.in index 5e1fded91..126d9c4c3 100644 --- a/lib/libzpool/Makefile.in +++ b/lib/libzpool/Makefile.in @@ -117,8 +117,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) libzpool_la_DEPENDENCIES = \ $(top_builddir)/lib/libunicode/libunicode.la \ - $(top_builddir)/lib/libavl/libavl.la \ - $(top_builddir)/lib/libspl/libspl.la + $(top_builddir)/lib/libuutil/libuutil.la am_libzpool_la_OBJECTS = kernel.lo taskq.lo util.lo zfs_comutil.lo \ zfs_deleg.lo zfs_fletcher.lo zfs_namecheck.lo zfs_prop.lo \ zfs_uio.lo zpool_prop.lo zprop_common.lo arc.lo bplist.lo \ @@ -358,11 +357,6 @@ AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing \ -DTEXT_DOMAIN=\"zfs-linux-user\" $(DEBUG_STACKFLAGS) \ $(FRAME_LARGER_THAN) lib_LTLIBRARIES = libzpool.la -libzpool_la_LIBADD = \ - $(top_builddir)/lib/libunicode/libunicode.la \ - $(top_builddir)/lib/libavl/libavl.la \ - $(top_builddir)/lib/libspl/libspl.la - libzpool_la_SOURCES = \ $(top_srcdir)/lib/libzpool/kernel.c \ $(top_srcdir)/lib/libzpool/taskq.c \ @@ -443,7 +437,11 @@ libzpool_la_SOURCES = \ $(top_srcdir)/module/zfs/zle.c \ $(top_srcdir)/module/zfs/zrlock.c -libzpool_la_LDFLAGS = -pthread -version-info 1:0:0 +libzpool_la_LIBADD = \ + $(top_builddir)/lib/libunicode/libunicode.la \ + $(top_builddir)/lib/libuutil/libuutil.la + +libzpool_la_LDFLAGS = -pthread -version-info 1:1:0 EXTRA_DIST = \ $(top_srcdir)/module/zfs/vdev_disk.c \ $(top_srcdir)/module/zfs/zfs_acl.c \ |