summaryrefslogtreecommitdiffstats
path: root/module/nvpair/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/nvpair/Makefile.in')
-rw-r--r--module/nvpair/Makefile.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/module/nvpair/Makefile.in b/module/nvpair/Makefile.in
index 3f643e724..71c748e5f 100644
--- a/module/nvpair/Makefile.in
+++ b/module/nvpair/Makefile.in
@@ -1,10 +1,12 @@
MODULE := znvpair
-EXTRA_CFLAGS = -I@MODDIR@/nvpair/include
-EXTRA_CFLAGS += @KERNELCPPFLAGS@
+EXTRA_CFLAGS = @KERNELCPPFLAGS@
+EXTRA_CFLAGS += -include @SPL_OBJ@/spl_config.h
+EXTRA_CFLAGS += -include @abs_top_builddir@/zfs_config.h
+EXTRA_CFLAGS += -I@abs_top_srcdir@/include -I@SPL@/include -I@SPL@
-obj-m := ${MODULE}.o
+obj-m := $(MODULE).o
-${MODULE}-objs += nvpair.o
-${MODULE}-objs += nvpair_alloc_spl.o
-${MODULE}-objs += nvpair_alloc_fixed.o
+$(MODULE)-objs += @top_srcdir@/module/nvpair/nvpair.o
+$(MODULE)-objs += @top_srcdir@/module/nvpair/nvpair_alloc_spl.o
+$(MODULE)-objs += @top_srcdir@/module/nvpair/nvpair_alloc_fixed.o