2010-08-26 22:22:58 +04:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2014-06-10 01:55:31 +04:00
|
|
|
VPATH = \
|
|
|
|
$(top_srcdir)/module/nvpair \
|
|
|
|
$(top_srcdir)/lib/libnvpair
|
|
|
|
|
2018-01-10 21:49:27 +03:00
|
|
|
# Required CFLAGS for libtirpc
|
|
|
|
AM_CFLAGS += $(LIBTIRPC_CFLAGS)
|
|
|
|
|
|
|
|
# Includes kernel code, generate warnings for large stack frames
|
|
|
|
AM_CFLAGS += $(FRAME_LARGER_THAN)
|
2010-08-26 22:22:58 +04:00
|
|
|
|
|
|
|
DEFAULT_INCLUDES += \
|
2010-09-05 00:26:23 +04:00
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 22:22:58 +04:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libnvpair.la
|
|
|
|
|
2014-06-10 01:55:31 +04:00
|
|
|
USER_C = \
|
|
|
|
libnvpair.c \
|
2018-03-19 22:40:58 +03:00
|
|
|
libnvpair_json.c \
|
2014-06-10 01:55:31 +04:00
|
|
|
nvpair_alloc_system.c
|
|
|
|
|
|
|
|
KERNEL_C = \
|
|
|
|
nvpair_alloc_fixed.c \
|
|
|
|
nvpair.c \
|
|
|
|
fnvpair.c
|
|
|
|
|
|
|
|
nodist_libnvpair_la_SOURCES = \
|
|
|
|
$(USER_C) \
|
|
|
|
$(KERNEL_C)
|
2010-09-05 00:26:23 +04:00
|
|
|
|
2017-08-10 01:31:08 +03:00
|
|
|
libnvpair_la_LIBADD = $(LIBTIRPC)
|
2012-01-01 03:30:52 +04:00
|
|
|
libnvpair_la_LDFLAGS = -version-info 1:1:0
|
2011-07-05 23:12:08 +04:00
|
|
|
|
2014-06-10 01:55:31 +04:00
|
|
|
EXTRA_DIST = $(USER_C)
|