mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
d1142fbffe
Rather than use a custom install target it is cleaner to define a 'kerneldir' and set 'kernel_HEADERS' appropriately. This allows us to leverage the standing configure install support. Additionally, I took this opertunity add the missing make files to the include subdirectories. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
15 lines
305 B
Makefile
15 lines
305 B
Makefile
COMMON_H =
|
|
|
|
KERNEL_H = \
|
|
$(top_srcdir)/include/util/qsort.h \
|
|
$(top_srcdir)/include/util/sscanf.h
|
|
|
|
USER_H =
|
|
|
|
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
|
|
|
|
if CONFIG_KERNEL
|
|
kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/util
|
|
kernel_HEADERS = $(KERNEL_H)
|
|
endif
|