1 libzfs_core_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
2 libzfs_core_la_CFLAGS += -fvisibility=hidden
4 lib_LTLIBRARIES += libzfs_core.la
5 CPPCHECKTARGETS += libzfs_core.la
7 libzfs_core_la_SOURCES = \
11 libzfs_core_la_SOURCES += \
12 %D%/os/linux/libzfs_core_ioctl.c
15 libzfs_core_la_CPPFLAGS = $(AM_CPPFLAGS)
17 libzfs_core_la_CPPFLAGS += -Iinclude/os/freebsd/zfs
19 libzfs_core_la_SOURCES += \
20 %D%/os/freebsd/libzfs_core_ioctl.c
22 nodist_libzfs_core_la_SOURCES = \
23 module/os/freebsd/zfs/zfs_ioctl_compat.c
26 libzfs_core_la_LIBADD = \
30 libzfs_core_la_LIBADD += $(LTLIBINTL)
32 libzfs_core_la_LDFLAGS = -pthread
35 libzfs_core_la_LDFLAGS += -Wl,-z,defs
39 libzfs_core_la_LIBADD += -lutil -lgeom
42 libzfs_core_la_LDFLAGS += -version-info 3:0:0
44 pkgconfig_DATA += %D%/libzfs_core.pc
46 dist_noinst_DATA += %D%/libzfs_core.abi %D%/libzfs_core.suppr