1716fd348SMartin Matuskalibzutil_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS) 2716fd348SMartin Matuskalibzutil_la_CFLAGS += $(LIBBLKID_CFLAGS) $(LIBUDEV_CFLAGS) 3716fd348SMartin Matuskalibzutil_la_CFLAGS += -fvisibility=hidden 4eda14cbcSMatt Macy 5716fd348SMartin Matuskalibzutil_la_CPPFLAGS = $(AM_CPPFLAGS) 6716fd348SMartin Matuskalibzutil_la_CPPFLAGS += -I$(srcdir)/%D% 7eda14cbcSMatt Macy 8716fd348SMartin Matuskanoinst_LTLIBRARIES += libzutil.la 9716fd348SMartin MatuskaCPPCHECKTARGETS += libzutil.la 10eda14cbcSMatt Macy 11716fd348SMartin Matuskalibzutil_la_SOURCES = \ 12716fd348SMartin Matuska %D%/zutil_device_path.c \ 13716fd348SMartin Matuska %D%/zutil_import.c \ 14716fd348SMartin Matuska %D%/zutil_import.h \ 15716fd348SMartin Matuska %D%/zutil_nicenum.c \ 16716fd348SMartin Matuska %D%/zutil_pool.c 17eda14cbcSMatt Macy 18eda14cbcSMatt Macyif BUILD_LINUX 19716fd348SMartin Matuskalibzutil_la_SOURCES += \ 20*15f0b8c3SMartin Matuska %D%/os/linux/zutil_setproctitle.c \ 21716fd348SMartin Matuska %D%/os/linux/zutil_device_path_os.c \ 22716fd348SMartin Matuska %D%/os/linux/zutil_import_os.c 23eda14cbcSMatt Macyendif 24eda14cbcSMatt Macy 25eda14cbcSMatt Macyif BUILD_FREEBSD 26716fd348SMartin Matuskalibzutil_la_SOURCES += \ 27716fd348SMartin Matuska %D%/os/freebsd/zutil_device_path_os.c \ 28716fd348SMartin Matuska %D%/os/freebsd/zutil_import_os.c 29eda14cbcSMatt Macyendif 30eda14cbcSMatt Macy 31eda14cbcSMatt Macylibzutil_la_LIBADD = \ 32716fd348SMartin Matuska libavl.la \ 33716fd348SMartin Matuska libtpool.la \ 34716fd348SMartin Matuska libnvpair.la \ 35716fd348SMartin Matuska libspl.la 36eda14cbcSMatt Macy 37eda14cbcSMatt Macyif BUILD_LINUX 38eda14cbcSMatt Macylibzutil_la_LIBADD += \ 39716fd348SMartin Matuska libefi.la \ 40184c1b94SMartin Matuska -lrt 41eda14cbcSMatt Macyendif 42eda14cbcSMatt Macy 43eda14cbcSMatt Macylibzutil_la_LIBADD += -lm $(LIBBLKID_LIBS) $(LIBUDEV_LIBS) 44