Initial Linux ZFS GIT Repo
[zfs.git] / zfs / lib / libsolcompat / Makefile.in
1 subdir-m += amd64 i386 sparc64 include
2 DISTFILES  = atomic_asm_weak.h gen_synonyms.h getmntany.c
3 DISTFILES += mkdirp.c synonyms.h tsd.h zone.c
4
5 LIBRARY := libsolcompat
6
7 # Compile as shared library.  There's an extra useless host program
8 # here called 'zu' because it was the easiest way I could convince
9 # the kernel build system to construct a user space shared library.
10
11 HOSTCFLAGS += @HOSTCFLAGS@
12 HOSTCFLAGS += -I@LIBDIR@/libsolcompat/include
13 HOSTCFLAGS += -I@LIBDIR@/libport/include
14
15 hostprogs-y := zu
16 always := $(hostprogs-y)
17
18 zu-objs := zu.o ${LIBRARY}.so
19
20 ${LIBRARY}-objs += getmntany.o
21 ${LIBRARY}-objs += mkdirp.o
22 ${LIBRARY}-objs += zone.o