mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +03:00
4d8e68c42f
The kernel headers are installed for DKMS on linux, so don't install them unless we're building on linux. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10506
34 lines
519 B
Makefile
34 lines
519 B
Makefile
SUBDIRS = sys os
|
|
|
|
COMMON_H = \
|
|
cityhash.h \
|
|
zfeature_common.h \
|
|
zfs_comutil.h \
|
|
zfs_deleg.h \
|
|
zfs_fletcher.h \
|
|
zfs_namecheck.h \
|
|
zfs_prop.h
|
|
|
|
USER_H = \
|
|
libnvpair.h \
|
|
libuutil_common.h \
|
|
libuutil.h \
|
|
libuutil_impl.h \
|
|
libzfs.h \
|
|
libzfs_core.h \
|
|
libzfs_impl.h \
|
|
libzutil.h \
|
|
thread_pool.h
|
|
|
|
if CONFIG_USER
|
|
libzfsdir = $(includedir)/libzfs
|
|
libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
|
endif
|
|
|
|
if CONFIG_KERNEL
|
|
if BUILD_LINUX
|
|
kerneldir = @prefix@/src/zfs-$(VERSION)/include
|
|
kernel_HEADERS = $(COMMON_H)
|
|
endif
|
|
endif
|