summaryrefslogtreecommitdiffstats
path: root/module/zpios/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'module/zpios/Makefile.in')
-rw-r--r--module/zpios/Makefile.in15
1 files changed, 7 insertions, 8 deletions
diff --git a/module/zpios/Makefile.in b/module/zpios/Makefile.in
index 4924082a1..93a89a914 100644
--- a/module/zpios/Makefile.in
+++ b/module/zpios/Makefile.in
@@ -1,11 +1,10 @@
MODULE := zpios
-EXTRA_CFLAGS = -I@MODDIR@/zfs/include
-EXTRA_CFLAGS += -I@MODDIR@/zcommon/include
-EXTRA_CFLAGS += -I@MODDIR@/avl/include
-EXTRA_CFLAGS += -I@MODDIR@/nvpair/include
-EXTRA_CFLAGS += -I@MODDIR@/unicode/include
-EXTRA_CFLAGS += -I@MODDIR@/zpios/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 += @top_srcdir@/module/zpios/pios.o