summaryrefslogtreecommitdiffstats
path: root/lib/libnvpair/Makefile.am
blob: 2833557a30bf342748081e1d8aab31335c35b222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
include $(top_srcdir)/config/Rules.am

VPATH = \
	$(top_srcdir)/module/nvpair \
	$(top_srcdir)/lib/libnvpair

AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN) $(LIBTIRPC_CFLAGS)

DEFAULT_INCLUDES += \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/lib/libspl/include

lib_LTLIBRARIES = libnvpair.la

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)

libnvpair_la_LIBADD = \
	$(top_builddir)/lib/libuutil/libuutil.la \
	$(LIBTIRPC)
libnvpair_la_LDFLAGS = -version-info 1:1:0

EXTRA_DIST = $(USER_C)