1 libnvpair_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) $(LIBRARY_CFLAGS)
2 libnvpair_la_CFLAGS += $(LIBTIRPC_CFLAGS)
3 libnvpair_la_CFLAGS += -fvisibility=hidden
5 # wchar_t is undefined-signedness, but we compare to >=0; this warns with unsigned wchar_t
6 %D%/libnvpair_la-libnvpair_json.$(OBJEXT) : CFLAGS += -Wno-type-limits
7 %D%/libnvpair_la-libnvpair_json.l$(OBJEXT): CFLAGS += -Wno-type-limits
9 lib_LTLIBRARIES += libnvpair.la
10 CPPCHECKTARGETS += libnvpair.la
12 dist_libnvpair_la_SOURCES = \
14 %D%/libnvpair_json.c \
15 %D%/nvpair_alloc_system.c
17 nodist_libnvpair_la_SOURCES = \
18 module/nvpair/nvpair_alloc_fixed.c \
19 module/nvpair/nvpair.c \
20 module/nvpair/fnvpair.c
22 libnvpair_la_LIBADD = \
25 libnvpair_la_LIBADD += $(LIBTIRPC_LIBS) $(LTLIBINTL)
27 libnvpair_la_LDFLAGS =
30 libnvpair_la_LDFLAGS += -Wl,-z,defs
33 libnvpair_la_LDFLAGS += -version-info 3:0:0
35 dist_noinst_DATA += %D%/libnvpair.abi %D%/libnvpair.suppr