mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 04:19:35 +03:00
23 lines
597 B
Makefile
23 lines
597 B
Makefile
subdir-m += include
|
|
DISTFILES = Makefile.in udmu_util.c udmu.c
|
|
|
|
LIBRARY := libudmu
|
|
|
|
# Compile as kernel module unsupported for libudmu.
|
|
|
|
# Compile as shared library. There's an extra useless host program
|
|
# here called 'zu' because it was the easiest way I could convince
|
|
# the kernel build system to construct a user space shared library.
|
|
|
|
HOSTCFLAGS += @HOSTCFLAGS@
|
|
HOSTCFLAGS += -I@LIBDIR@/libsolcompat/include
|
|
HOSTCFLAGS += -I@LIBDIR@/libport/include
|
|
HOSTCFLAGS += -I@LIBDIR@/libavl/include
|
|
|
|
hostprogs-y := zu
|
|
always := $(hostprogs-y)
|
|
|
|
zu-objs := zu.o ${LIBRARY}.so
|
|
|
|
${LIBRARY}-objs += udmu.o
|