1libzutil_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS) 2libzutil_la_CFLAGS += $(LIBBLKID_CFLAGS) $(LIBUDEV_CFLAGS) 3libzutil_la_CFLAGS += -fvisibility=hidden 4 5libzutil_la_CPPFLAGS = $(AM_CPPFLAGS) 6libzutil_la_CPPFLAGS += -I$(srcdir)/%D% 7 8noinst_LTLIBRARIES += libzutil.la 9CPPCHECKTARGETS += libzutil.la 10 11libzutil_la_SOURCES = \ 12 %D%/zutil_device_path.c \ 13 %D%/zutil_import.c \ 14 %D%/zutil_import.h \ 15 %D%/zutil_nicenum.c \ 16 %D%/zutil_pool.c 17 18if BUILD_LINUX 19libzutil_la_SOURCES += \ 20 %D%/os/linux/zutil_device_path_os.c \ 21 %D%/os/linux/zutil_import_os.c 22endif 23 24if BUILD_FREEBSD 25libzutil_la_SOURCES += \ 26 %D%/os/freebsd/zutil_device_path_os.c \ 27 %D%/os/freebsd/zutil_import_os.c 28endif 29 30libzutil_la_LIBADD = \ 31 libavl.la \ 32 libtpool.la \ 33 libnvpair.la \ 34 libspl.la 35 36if BUILD_LINUX 37libzutil_la_LIBADD += \ 38 libefi.la \ 39 -lrt 40endif 41 42libzutil_la_LIBADD += -lm $(LIBBLKID_LIBS) $(LIBUDEV_LIBS) 43