]> granicus.if.org Git - zfs/blob - include/Makefile.am
Conserve stack in zfs_mkdir()
[zfs] / include / Makefile.am
1 SUBDIRS = sys
2
3 COMMON_H = \
4         $(top_srcdir)/include/zfs_comutil.h \
5         $(top_srcdir)/include/zfs_deleg.h \
6         $(top_srcdir)/include/zfs_fletcher.h \
7         $(top_srcdir)/include/zfs_namecheck.h \
8         $(top_srcdir)/include/zfs_prop.h \
9         $(top_srcdir)/include/zpios-ctl.h
10
11 KERNEL_H = \
12         $(top_srcdir)/include/zpios-internal.h
13
14 USER_H = \
15         $(top_srcdir)/include/libnvpair.h \
16         $(top_srcdir)/include/libuutil_common.h \
17         $(top_srcdir)/include/libuutil.h \
18         $(top_srcdir)/include/libuutil_impl.h \
19         $(top_srcdir)/include/libzfs.h \
20         $(top_srcdir)/include/libzfs_impl.h
21
22 EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
23
24 if CONFIG_USER
25 libzfsdir = $(includedir)/libzfs
26 libzfs_HEADERS = $(COMMON_H) $(USER_H)
27 endif
28
29 if CONFIG_KERNEL
30 kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION)
31 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
32 endif