2 DISTFILES = Makefile.in udmu_util.c udmu.c
6 # Compile as kernel module unsupported for libudmu.
8 # Compile as shared library. There's an extra useless host program
9 # here called 'zu' because it was the easiest way I could convince
10 # the kernel build system to construct a user space shared library.
12 HOSTCFLAGS += @HOSTCFLAGS@
13 HOSTCFLAGS += -I@LIBDIR@/libsolcompat/include
14 HOSTCFLAGS += -I@LIBDIR@/libport/include
15 HOSTCFLAGS += -I@LIBDIR@/libavl/include
18 always := $(hostprogs-y)
20 zu-objs := zu.o ${LIBRARY}.so
22 ${LIBRARY}-objs += udmu.o