aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs_core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libzfs_core')
-rw-r--r--lib/libzfs_core/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libzfs_core/Makefile.am b/lib/libzfs_core/Makefile.am
index 0ecd2085c..5eafc25c0 100644
--- a/lib/libzfs_core/Makefile.am
+++ b/lib/libzfs_core/Makefile.am
@@ -6,10 +6,18 @@ DEFAULT_INCLUDES += \
lib_LTLIBRARIES = libzfs_core.la
-libzfs_core_la_SOURCES = \
- $(top_srcdir)/lib/libzfs_core/libzfs_core.c
+USER_C = \
+ libzfs_core.c
+
+KERNEL_C =
+
+nodist_libzfs_core_la_SOURCES = \
+ $(USER_C) \
+ $(KERNEL_C)
libzfs_core_la_LIBADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la
libzfs_core_la_LDFLAGS = -version-info 1:0:0
+
+EXTRA_DIST = $(USER_C)