summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-02 10:39:48 -0700
committerBrian Behlendorf <[email protected]>2019-10-02 10:39:48 -0700
commitd31277abb1db51dece836dd47628ca42c07e528c (patch)
treeb2635f2c39d2315d21af445522203dffbae57851 /config
parent6360e2779e47f4bf2233071b427ad522eca9bdd4 (diff)
OpenZFS restructuring - libspl
Factor Linux specific pieces out of libspl. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Sean Eric Fagan <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9336
Diffstat (limited to 'config')
-rw-r--r--config/Rules.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/config/Rules.am b/config/Rules.am
index 1e569d341..83fbf4ca0 100644
--- a/config/Rules.am
+++ b/config/Rules.am
@@ -3,7 +3,16 @@
# should include these rules and override or extend them as needed.
#
-DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h
+DEFAULT_INCLUDES = \
+ -include ${top_builddir}/zfs_config.h \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/module/icp/include \
+ -I$(top_srcdir)/lib/libspl/include
+
+if BUILD_LINUX
+DEFAULT_INCLUDES += \
+ -I$(top_srcdir)/lib/libspl/include/os/linux
+endif
AM_LIBTOOLFLAGS = --silent