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_setproctitle.c \ 21 %D%/os/linux/zutil_device_path_os.c \ 22 %D%/os/linux/zutil_import_os.c 23endif 24 25if BUILD_FREEBSD 26libzutil_la_SOURCES += \ 27 %D%/os/freebsd/zutil_device_path_os.c \ 28 %D%/os/freebsd/zutil_import_os.c 29endif 30 31libzutil_la_LIBADD = \ 32 libavl.la \ 33 libtpool.la \ 34 libnvpair.la \ 35 libspl.la 36 37if BUILD_LINUX 38libzutil_la_LIBADD += \ 39 libefi.la \ 40 -lrt 41endif 42 43libzutil_la_LIBADD += -lm $(LIBBLKID_LIBS) $(LIBUDEV_LIBS) 44