Add missing parenthesis in VERIFYF()
[zfs.git] / lib / libzfs_core / Makefile.am
blobd1c6fb86d186626ebc2792161236790239c606e7
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 = \
8         %D%/libzfs_core.c
10 if BUILD_LINUX
11 libzfs_core_la_SOURCES += \
12         %D%/os/linux/libzfs_core_ioctl.c
13 endif
15 libzfs_core_la_CPPFLAGS  = $(AM_CPPFLAGS)
16 if BUILD_FREEBSD
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
24 endif
26 libzfs_core_la_LIBADD = \
27         libnvpair.la \
28         libspl.la
30 libzfs_core_la_LIBADD += $(LTLIBINTL)
32 libzfs_core_la_LDFLAGS = -pthread
34 if !ASAN_ENABLED
35 libzfs_core_la_LDFLAGS += -Wl,-z,defs
36 endif
38 if BUILD_FREEBSD
39 libzfs_core_la_LIBADD += -lutil -lgeom
40 endif
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