mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
327c904615
No symbols affected in libavl No symbols affected by libtpool, but pre-ANSI declarations got purged No symbols affected by libzfs_core No symbols affected by libzfs_bootenv libefi got cleaned, gained efi_debug documentation in efi_partition.h, and removes one undocumented and unused symbol from libzfs_core: D default_vtoc_map libnvpair saw removal of these symbols: D nv_alloc_nosleep_def D nv_alloc_sleep D nv_alloc_sleep_def D nv_fixed_ops_def D nvlist_hashtable_init_size D nvpair_max_recursion libshare saw removal of these symbols from libzfs: T libshare_nfs_init T libshare_smb_init T register_fstype B smb_shares libzutil saw removal of these internal symbols from libzfs_core: T label_paths T slice_cache_compare T zpool_find_import_blkid T zpool_open_func T zutil_alloc T zutil_strdup Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12191
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
# Suppress unused but set variable warnings often due to ASSERTs
|
|
AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE)
|
|
AM_CFLAGS += $(LIBBLKID_CFLAGS) $(LIBUDEV_CFLAGS)
|
|
AM_CFLAGS += -fvisibility=hidden
|
|
|
|
DEFAULT_INCLUDES += -I$(srcdir)
|
|
|
|
noinst_LTLIBRARIES = libzutil.la
|
|
|
|
USER_C = \
|
|
zutil_device_path.c \
|
|
zutil_import.c \
|
|
zutil_import.h \
|
|
zutil_nicenum.c \
|
|
zutil_pool.c
|
|
|
|
if BUILD_LINUX
|
|
USER_C += \
|
|
os/linux/zutil_device_path_os.c \
|
|
os/linux/zutil_import_os.c \
|
|
os/linux/zutil_compat.c
|
|
endif
|
|
|
|
if BUILD_FREEBSD
|
|
DEFAULT_INCLUDES += -I$(top_srcdir)/include/os/freebsd/zfs
|
|
|
|
USER_C += \
|
|
os/freebsd/zutil_device_path_os.c \
|
|
os/freebsd/zutil_import_os.c \
|
|
os/freebsd/zutil_compat.c
|
|
|
|
VPATH += $(top_srcdir)/module/os/freebsd/zfs
|
|
|
|
nodist_libzutil_la_SOURCES = zfs_ioctl_compat.c
|
|
endif
|
|
|
|
libzutil_la_SOURCES = $(USER_C)
|
|
|
|
libzutil_la_LIBADD = \
|
|
$(abs_top_builddir)/lib/libavl/libavl.la \
|
|
$(abs_top_builddir)/lib/libtpool/libtpool.la \
|
|
$(abs_top_builddir)/lib/libnvpair/libnvpair.la \
|
|
$(abs_top_builddir)/lib/libspl/libspl.la
|
|
|
|
if BUILD_LINUX
|
|
libzutil_la_LIBADD += \
|
|
$(abs_top_builddir)/lib/libefi/libefi.la \
|
|
-lrt
|
|
endif
|
|
|
|
libzutil_la_LIBADD += -lm $(LIBBLKID_LIBS) $(LIBUDEV_LIBS)
|
|
|
|
include $(top_srcdir)/config/CppCheck.am
|