2010-08-26 18:22:58 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
VPATH = \
|
|
|
|
$(top_srcdir)/module/nvpair \
|
|
|
|
$(top_srcdir)/lib/libnvpair
|
|
|
|
|
2018-01-10 18:49:27 +00: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 18:22:58 +00:00
|
|
|
|
|
|
|
DEFAULT_INCLUDES += \
|
2010-09-04 20:26:23 +00:00
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 18:22:58 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libnvpair.la
|
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
USER_C = \
|
|
|
|
libnvpair.c \
|
|
|
|
nvpair_alloc_system.c
|
|
|
|
|
|
|
|
KERNEL_C = \
|
|
|
|
nvpair_alloc_fixed.c \
|
|
|
|
nvpair.c \
|
|
|
|
fnvpair.c
|
|
|
|
|
|
|
|
nodist_libnvpair_la_SOURCES = \
|
|
|
|
$(USER_C) \
|
|
|
|
$(KERNEL_C)
|
2010-09-04 20:26:23 +00:00
|
|
|
|
2017-08-09 22:31:08 +00:00
|
|
|
libnvpair_la_LIBADD = $(LIBTIRPC)
|
2011-12-31 23:30:52 +00:00
|
|
|
libnvpair_la_LDFLAGS = -version-info 1:1:0
|
2011-07-05 19:12:08 +00:00
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
EXTRA_DIST = $(USER_C)
|