freebsd-nq/lib/libspl/Makefile.am
Darik Horn 750562833f 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 <behlendorf1@llnl.gov>
Closes: #430
2012-01-17 15:19:50 -08:00

34 lines
990 B
Makefile

include $(top_srcdir)/config/Rules.am
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
SUBDIRS = include $(TARGET_ASM_DIR)
DIST_SUBDIRS = include asm-generic asm-i386 asm-x86_64
DEFAULT_INCLUDES += \
-I$(top_srcdir)/lib/libspl/include
AM_CCASFLAGS = \
-I$(top_srcdir)/lib/libspl/include
noinst_LTLIBRARIES = libspl.la
libspl_la_SOURCES = \
$(top_srcdir)/lib/libspl/getexecname.c \
$(top_srcdir)/lib/libspl/gethrtime.c \
$(top_srcdir)/lib/libspl/gethrestime.c \
$(top_srcdir)/lib/libspl/getmntany.c \
$(top_srcdir)/lib/libspl/list.c \
$(top_srcdir)/lib/libspl/mkdirp.c \
$(top_srcdir)/lib/libspl/strlcat.c \
$(top_srcdir)/lib/libspl/strlcpy.c \
$(top_srcdir)/lib/libspl/strnlen.c \
$(top_srcdir)/lib/libspl/timestamp.c \
$(top_srcdir)/lib/libspl/zone.c \
$(top_srcdir)/lib/libspl/xdr.c \
$(top_srcdir)/lib/libspl/$(TARGET_ASM_DIR)/atomic.S \
$(top_srcdir)/lib/libspl/include/sys/list.h \
$(top_srcdir)/lib/libspl/include/sys/list_impl.h
libspl_la_LDFLAGS = -lrt