diff options
Diffstat (limited to 'zfs/lib')
47 files changed, 0 insertions, 534 deletions
diff --git a/zfs/lib/Makefile.in b/zfs/lib/Makefile.in deleted file mode 100644 index 324270db9..000000000 --- a/zfs/lib/Makefile.in +++ /dev/null @@ -1,12 +0,0 @@ -subdir-m += libuutil # User space util support -subdir-m += libumem # User space memory support -subdir-m += libzfs # User space library support -subdir-m += libsolcompat # User space compatibility library - -subdir-m += libzpool # Kernel DMU/SPA -subdir-m += libdmu-ctl # Kernel control interface - -subdir-m += libavl # Kernel + user space AVL tree support -subdir-m += libnvpair # Kernel + user space name/value support -subdir-m += libzcommon # Kernel + user space common support -subdir-m += libport # Kernel + user space linux support diff --git a/zfs/lib/libavl/Makefile.in b/zfs/lib/libavl/Makefile.in deleted file mode 100644 index 6b9d4d540..000000000 --- a/zfs/lib/libavl/Makefile.in +++ /dev/null @@ -1,31 +0,0 @@ -subdir-m += include -DISTFILES = avl.c - -MODULE := zavl -LIBRARY := libavl - -# Compile as kernel module. Needed symlinks created for all -# k* objects created by top level configure script. - -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@LIBDIR@/libavl/include - -obj-m := ${MODULE}.o - -${MODULE}-objs += kavl.o # Generic AVL support - -# 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 += uavl.o diff --git a/zfs/lib/libavl/include/Makefile.in b/zfs/lib/libavl/include/Makefile.in deleted file mode 100644 index 6611e4143..000000000 --- a/zfs/lib/libavl/include/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += sys diff --git a/zfs/lib/libavl/include/sys/Makefile.in b/zfs/lib/libavl/include/sys/Makefile.in deleted file mode 100644 index 8149c3861..000000000 --- a/zfs/lib/libavl/include/sys/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = avl.h avl_impl.h diff --git a/zfs/lib/libdmu-ctl/Makefile.in b/zfs/lib/libdmu-ctl/Makefile.in deleted file mode 100644 index c4017b254..000000000 --- a/zfs/lib/libdmu-ctl/Makefile.in +++ /dev/null @@ -1,28 +0,0 @@ -# NOTE: dctl_client.c, dctl_common.c, dctl_server.c, dctl_thrpool.c unused -# by kernel port. Potentially they should just be removed if we don't care -# able user space lustre intergration from this source base. - -# NOTE: For clarity this directly should simply be renamed libzpl and -# the full kernel implementation should be minimally stubbed out. - -subdir-m += include -DISTFILES = dctl_client.c dctl_common.c dctl_server.c dctl_thrpool.c -DISTFILES += dmu_send.c rrwlock.c zfs_acl.c zfs_ctldir.c -DISTFILES += zfs_dir.c zfs_fuid.c zfs_ioctl.c zfs_log.c zfs_replay.c -DISTFILES += zfs_rlock.c zfs_vfsops.c zfs_vnops.c zvol.c - -MODULE := zctl - -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@LIBDIR@/libzcommon/include -EXTRA_CFLAGS += -I@LIBDIR@/libdmu-ctl/include -EXTRA_CFLAGS += -I@LIBDIR@/libavl/include -EXTRA_CFLAGS += -I@LIBDIR@/libport/include -EXTRA_CFLAGS += -I@LIBDIR@/libnvpair/include - -obj-m := ${MODULE}.o - -${MODULE}-objs += zvol.o # Volume emulation interface -${MODULE}-objs += zfs_ioctl.o # /dev/zfs_ioctl interface -${MODULE}-objs += zfs_vfsops.o -${MODULE}-objs += dmu_send.o diff --git a/zfs/lib/libdmu-ctl/include/Makefile.in b/zfs/lib/libdmu-ctl/include/Makefile.in deleted file mode 100644 index 6611e4143..000000000 --- a/zfs/lib/libdmu-ctl/include/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += sys diff --git a/zfs/lib/libdmu-ctl/include/sys/Makefile.in b/zfs/lib/libdmu-ctl/include/sys/Makefile.in deleted file mode 100644 index 8f97ae684..000000000 --- a/zfs/lib/libdmu-ctl/include/sys/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = dmu_ctl.h dmu_ctl_impl.h diff --git a/zfs/lib/libnvpair/Makefile.in b/zfs/lib/libnvpair/Makefile.in deleted file mode 100644 index 90599ca48..000000000 --- a/zfs/lib/libnvpair/Makefile.in +++ /dev/null @@ -1,34 +0,0 @@ -subdir-m += include -DISTFILES = libnvpair.c nvpair.c nvpair_alloc_fixed.c nvpair_alloc_system.c - -MODULE := znvpair -LIBRARY := libnvpair - -# Compile as kernel module. Needed symlinks created for all -# k* objects created by top level configure script. - -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@LIBDIR@/libnvpair/include - -obj-m := ${MODULE}.o - -${MODULE}-objs += knvpair.o # Interfaces name/value pairs -${MODULE}-objs += nvpair_alloc_spl.o # Generic alloc/free support - -# 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@/libnvpair/include - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += unvpair.o -${LIBRARY}-objs += nvpair_alloc_system.o -${LIBRARY}-objs += libnvpair.o diff --git a/zfs/lib/libnvpair/include/Makefile.in b/zfs/lib/libnvpair/include/Makefile.in deleted file mode 100644 index d92f7114c..000000000 --- a/zfs/lib/libnvpair/include/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -subdir-m += sys -DISTFILES = libnvpair.h diff --git a/zfs/lib/libnvpair/include/sys/Makefile.in b/zfs/lib/libnvpair/include/sys/Makefile.in deleted file mode 100644 index 4f970cea5..000000000 --- a/zfs/lib/libnvpair/include/sys/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = nvpair.h nvpair_impl.h diff --git a/zfs/lib/libport/Makefile.in b/zfs/lib/libport/Makefile.in deleted file mode 100644 index 85bdc959a..000000000 --- a/zfs/lib/libport/Makefile.in +++ /dev/null @@ -1,37 +0,0 @@ -subdir-m += include -DISTFILES = port.c strlcat.c strlcpy.c strnlen.c u8_textprep.c - -MODULE := zport -LIBRARY := libzport - -# Compile as kernel module. Needed symlinks created for all -# k* objects created by top level configure script. - -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@LIBDIR@/libzcommon/include -EXTRA_CFLAGS += -I@LIBDIR@/libport/include - -obj-m := ${MODULE}.o - -${MODULE}-objs += spl.o -${MODULE}-objs += ku8_textprep.o - -# 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@/libzcommon/include -HOSTCFLAGS += -I@LIBDIR@/libport/include - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += strlcpy.o -${LIBRARY}-objs += strlcat.o -${LIBRARY}-objs += strnlen.o -${LIBRARY}-objs += port.o -${LIBRARY}-objs += u8_textprep.o - diff --git a/zfs/lib/libport/include/Makefile.in b/zfs/lib/libport/include/Makefile.in deleted file mode 100644 index e65438354..000000000 --- a/zfs/lib/libport/include/Makefile.in +++ /dev/null @@ -1,4 +0,0 @@ -subdir-m += sys - -DISTFILES = fake_ioctl.h libdiskmgt.h libshare.h mntent.h stdlib.h -DISTFILES += string.h strings.h stropts.h unistd.h diff --git a/zfs/lib/libport/include/sys/Makefile.in b/zfs/lib/libport/include/sys/Makefile.in deleted file mode 100644 index 6472080e1..000000000 --- a/zfs/lib/libport/include/sys/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -DISTFILES = byteorder.h debug.h efi_partition.h ioctl.h isa_defs.h -DISTFILES += policy.h socket.h swap.h systeminfo.h systm.h time.h -DISTFILES += types.h u8_textprep.h u8_textprep_data.h diff --git a/zfs/lib/libsolcompat/Makefile.in b/zfs/lib/libsolcompat/Makefile.in deleted file mode 100644 index f139d1c5e..000000000 --- a/zfs/lib/libsolcompat/Makefile.in +++ /dev/null @@ -1,22 +0,0 @@ -subdir-m += amd64 i386 sparc64 include -DISTFILES = atomic_asm_weak.h gen_synonyms.h getmntany.c -DISTFILES += mkdirp.c synonyms.h tsd.h zone.c - -LIBRARY := libsolcompat - -# 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 - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += getmntany.o -${LIBRARY}-objs += mkdirp.o -${LIBRARY}-objs += zone.o diff --git a/zfs/lib/libsolcompat/amd64/Makefile.in b/zfs/lib/libsolcompat/amd64/Makefile.in deleted file mode 100644 index d56b66f9d..000000000 --- a/zfs/lib/libsolcompat/amd64/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = atomic.S diff --git a/zfs/lib/libsolcompat/i386/Makefile.in b/zfs/lib/libsolcompat/i386/Makefile.in deleted file mode 100644 index d56b66f9d..000000000 --- a/zfs/lib/libsolcompat/i386/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = atomic.S diff --git a/zfs/lib/libsolcompat/include/Makefile.in b/zfs/lib/libsolcompat/include/Makefile.in deleted file mode 100644 index 34bea226c..000000000 --- a/zfs/lib/libsolcompat/include/Makefile.in +++ /dev/null @@ -1,4 +0,0 @@ -subdir-m += amd64 i386 ia32 rpc sparc64 sys tsol -DISTFILES = assert.h atomic.h devid.h dirent.h libc.h libdevinfo.h libgen.h -DISTFILES += mtlib.h priv.h stdarg.h stdio_ext.h strings.h ucred.h zone.h - diff --git a/zfs/lib/libsolcompat/include/amd64/Makefile.in b/zfs/lib/libsolcompat/include/amd64/Makefile.in deleted file mode 100644 index 6611e4143..000000000 --- a/zfs/lib/libsolcompat/include/amd64/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += sys diff --git a/zfs/lib/libsolcompat/include/amd64/sys/Makefile.in b/zfs/lib/libsolcompat/include/amd64/sys/Makefile.in deleted file mode 100644 index 0466e658f..000000000 --- a/zfs/lib/libsolcompat/include/amd64/sys/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -DISTFILES = asm_linkage.h - diff --git a/zfs/lib/libsolcompat/include/i386/Makefile.in b/zfs/lib/libsolcompat/include/i386/Makefile.in deleted file mode 100644 index 6611e4143..000000000 --- a/zfs/lib/libsolcompat/include/i386/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += sys diff --git a/zfs/lib/libsolcompat/include/i386/sys/Makefile.in b/zfs/lib/libsolcompat/include/i386/sys/Makefile.in deleted file mode 100644 index 0466e658f..000000000 --- a/zfs/lib/libsolcompat/include/i386/sys/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -DISTFILES = asm_linkage.h - diff --git a/zfs/lib/libsolcompat/include/ia32/Makefile.in b/zfs/lib/libsolcompat/include/ia32/Makefile.in deleted file mode 100644 index 6611e4143..000000000 --- a/zfs/lib/libsolcompat/include/ia32/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += sys diff --git a/zfs/lib/libsolcompat/include/ia32/sys/Makefile.in b/zfs/lib/libsolcompat/include/ia32/sys/Makefile.in deleted file mode 100644 index 0466e658f..000000000 --- a/zfs/lib/libsolcompat/include/ia32/sys/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -DISTFILES = asm_linkage.h - diff --git a/zfs/lib/libsolcompat/include/rpc/Makefile.in b/zfs/lib/libsolcompat/include/rpc/Makefile.in deleted file mode 100644 index 93e4aa2e9..000000000 --- a/zfs/lib/libsolcompat/include/rpc/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -DISTFILES = xdr.h - diff --git a/zfs/lib/libsolcompat/include/sparc64/Makefile.in b/zfs/lib/libsolcompat/include/sparc64/Makefile.in deleted file mode 100644 index 6611e4143..000000000 --- a/zfs/lib/libsolcompat/include/sparc64/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += sys diff --git a/zfs/lib/libsolcompat/include/sparc64/sys/Makefile.in b/zfs/lib/libsolcompat/include/sparc64/sys/Makefile.in deleted file mode 100644 index 0466e658f..000000000 --- a/zfs/lib/libsolcompat/include/sparc64/sys/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -DISTFILES = asm_linkage.h - diff --git a/zfs/lib/libsolcompat/include/sys/Makefile.in b/zfs/lib/libsolcompat/include/sys/Makefile.in deleted file mode 100644 index 0f353b99a..000000000 --- a/zfs/lib/libsolcompat/include/sys/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -subdir-m += fm sysevent -DISTFILES = acl.h acl_impl.h bitmap.h byteorder.h callb.h cmn_err.h cred.h -DISTFILES += dkio.h dklabel.h feature_tests.h file.h idmap.h int_limits.h -DISTFILES += int_types.h inttypes.h isa_defs.h kmem.h kstat.h mkdev.h mntent.h -DISTFILES += mntio.h mnttab.h modctl.h mount.h note.h param.h priv.h -DISTFILES += processor.h rctl.h sdt.h stack.h stat.h sunddi.h sysevent.h -DISTFILES += sysmacros.h time.h trap.h types.h types32.h uio.h utsname.h -DISTFILES += uuid.h va_list.h varargs.h vmem.h vtoc.h zone.h diff --git a/zfs/lib/libsolcompat/include/sys/fm/Makefile.in b/zfs/lib/libsolcompat/include/sys/fm/Makefile.in deleted file mode 100644 index 5b752c687..000000000 --- a/zfs/lib/libsolcompat/include/sys/fm/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = protocol.h util.h diff --git a/zfs/lib/libsolcompat/include/sys/sysevent/Makefile.in b/zfs/lib/libsolcompat/include/sys/sysevent/Makefile.in deleted file mode 100644 index 4938c5659..000000000 --- a/zfs/lib/libsolcompat/include/sys/sysevent/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = eventdefs.h diff --git a/zfs/lib/libsolcompat/include/tsol/Makefile.in b/zfs/lib/libsolcompat/include/tsol/Makefile.in deleted file mode 100644 index 9f5ec08aa..000000000 --- a/zfs/lib/libsolcompat/include/tsol/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = label.h diff --git a/zfs/lib/libsolcompat/sparc64/Makefile.in b/zfs/lib/libsolcompat/sparc64/Makefile.in deleted file mode 100644 index d56b66f9d..000000000 --- a/zfs/lib/libsolcompat/sparc64/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = atomic.S diff --git a/zfs/lib/libudmu/Makefile.in b/zfs/lib/libudmu/Makefile.in deleted file mode 100644 index 9603ee40b..000000000 --- a/zfs/lib/libudmu/Makefile.in +++ /dev/null @@ -1,22 +0,0 @@ -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 diff --git a/zfs/lib/libudmu/include/Makefile.in b/zfs/lib/libudmu/include/Makefile.in deleted file mode 100644 index 0ca214254..000000000 --- a/zfs/lib/libudmu/include/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = udmu.h udmu_util.h diff --git a/zfs/lib/libumem/Makefile.in b/zfs/lib/libumem/Makefile.in deleted file mode 100644 index 008748e7c..000000000 --- a/zfs/lib/libumem/Makefile.in +++ /dev/null @@ -1,40 +0,0 @@ -subdir-m += include sys -DISTFILES = COPYING COPYRIGHT OPENSOLARIS.LICENSE README README-alpha TODO -DISTFILES += config.h envvar.c getpcstack.c init_lib.c misc.c misc.h -DISTFILES += sol_compat.h umem.c umem_agent_support.c umem_base.h -DISTFILES += umem_fail.c umem_fork.c umem_impl.h umem_update_thread.c -DISTFILES += vmem.c vmem_base.c vmem_base.h vmem_mmap.c vmem_sbrk.c -DISTFILES += vmem_stand.h - -LIBRARY := libumem - -# 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@/libumem -HOSTCFLAGS += -I@LIBDIR@/libumem/include -HOSTCFLAGS += -I@LIBDIR@/libumem/sys - -HOSTLDFLAGS += -pthread -HOSTLDFLAGS += -ldl - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += envvar.o -${LIBRARY}-objs += getpcstack.o -${LIBRARY}-objs += init_lib.o -${LIBRARY}-objs += misc.o -${LIBRARY}-objs += umem.o -${LIBRARY}-objs += umem_agent_support.o -${LIBRARY}-objs += umem_fail.o -${LIBRARY}-objs += umem_fork.o -${LIBRARY}-objs += umem_update_thread.o -${LIBRARY}-objs += vmem.o -${LIBRARY}-objs += vmem_base.o -${LIBRARY}-objs += vmem_mmap.o -${LIBRARY}-objs += vmem_sbrk.o diff --git a/zfs/lib/libumem/include/Makefile.in b/zfs/lib/libumem/include/Makefile.in deleted file mode 100644 index b16a5d217..000000000 --- a/zfs/lib/libumem/include/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = umem.h diff --git a/zfs/lib/libumem/sys/Makefile.in b/zfs/lib/libumem/sys/Makefile.in deleted file mode 100644 index eed2c3118..000000000 --- a/zfs/lib/libumem/sys/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = vmem.h vmem_impl_user.h diff --git a/zfs/lib/libuutil/Makefile.in b/zfs/lib/libuutil/Makefile.in deleted file mode 100644 index 8931bd850..000000000 --- a/zfs/lib/libuutil/Makefile.in +++ /dev/null @@ -1,35 +0,0 @@ -subdir-m += include -DISTFILES = Makefile.in *.c - -LIBRARY := libuutil - -# 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 -HOSTCFLAGS += -I@LIBDIR@/libuutil/include -HOSTCFLAGS += -DNATIVE_BUILD - -HOSTLDFLAGS += -pthread -HOSTLDFLAGS += -lrt -HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl -HOSTLDFLAGS += -lzport -L@LIBDIR@/libport - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += uu_alloc.o -${LIBRARY}-objs += uu_avl.o -${LIBRARY}-objs += uu_dprintf.o -${LIBRARY}-objs += uu_ident.o -${LIBRARY}-objs += uu_list.o -${LIBRARY}-objs += uu_misc.o -${LIBRARY}-objs += uu_open.o -${LIBRARY}-objs += uu_pname.o -${LIBRARY}-objs += uu_strtoint.o diff --git a/zfs/lib/libuutil/include/Makefile.in b/zfs/lib/libuutil/include/Makefile.in deleted file mode 100644 index ff0ba1440..000000000 --- a/zfs/lib/libuutil/include/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = libuutil.h libuutil_common.h libuutil_impl.h diff --git a/zfs/lib/libzcommon/Makefile.in b/zfs/lib/libzcommon/Makefile.in deleted file mode 100644 index 7a1929113..000000000 --- a/zfs/lib/libzcommon/Makefile.in +++ /dev/null @@ -1,55 +0,0 @@ -subdir-m += include -DISTFILES = compress.c list.c zfs_comutil.c zfs_deleg.c zfs_namecheck.c -DISTFILES += zfs_prop.c zpool_prop.c zprop_common.c - -MODULE := zcommon -LIBRARY := libzcommon - -# Compile as kernel module. Needed symlinks created for all -# k* objects created by top level configure script. - -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@LIBDIR@/libzcommon/include -EXTRA_CFLAGS += -I@LIBDIR@/libport/include -EXTRA_CFLAGS += -I@LIBDIR@/libavl/include -EXTRA_CFLAGS += -I@LIBDIR@/libnvpair/include - -obj-m := ${MODULE}.o - -${MODULE}-objs += spl.o -${MODULE}-objs += kzfs_deleg.o -${MODULE}-objs += kzfs_prop.o -${MODULE}-objs += kzprop_common.o -${MODULE}-objs += kcompress.o -${MODULE}-objs += klist.o -${MODULE}-objs += kzfs_namecheck.o -${MODULE}-objs += kzfs_comutil.o -${MODULE}-objs += kzpool_prop.o - -# 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@/libzcommon/include -HOSTCFLAGS += -I@LIBDIR@/libsolcompat/include -HOSTCFLAGS += -I@LIBDIR@/libport/include -HOSTCFLAGS += -I@LIBDIR@/libavl/include -HOSTCFLAGS += -I@LIBDIR@/libnvpair/include -HOSTCFLAGS += -I@LIBDIR@/libumem/include - -HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += zfs_deleg.o -${LIBRARY}-objs += zfs_prop.o -${LIBRARY}-objs += zprop_common.o -${LIBRARY}-objs += compress.o -${LIBRARY}-objs += list.o -${LIBRARY}-objs += zfs_namecheck.o -${LIBRARY}-objs += zfs_comutil.o -${LIBRARY}-objs += zpool_prop.o diff --git a/zfs/lib/libzcommon/include/Makefile.in b/zfs/lib/libzcommon/include/Makefile.in deleted file mode 100644 index 69ab6afa2..000000000 --- a/zfs/lib/libzcommon/include/Makefile.in +++ /dev/null @@ -1,2 +0,0 @@ -subdir-m += sys -DISTFILES = zfs_comutil.h zfs_deleg.h zfs_namecheck.h zfs_prop.h diff --git a/zfs/lib/libzcommon/include/sys/Makefile.in b/zfs/lib/libzcommon/include/sys/Makefile.in deleted file mode 100644 index e73a05fce..000000000 --- a/zfs/lib/libzcommon/include/sys/Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ -subdir-m += fm fs - -DISTFILES = arc.h bplist.h compress.h dbuf.h dmu.h dmu_impl.h -DISTFILES += dmu_objset.h dmu_traverse.h dmu_tx.h dmu_zfetch.h -DISTFILES += dnode.h dsl_dataset.h dsl_deleg.h dsl_dir.h dsl_pool.h -DISTFILES += dsl_prop.h dsl_synctask.h list.h list_impl.h metaslab.h -DISTFILES += metaslab_impl.h refcount.h rprwlock.h rrwlock.h spa.h -DISTFILES += spa_boot.h spa_impl.h space_map.h txg.h txg_impl.h uberblock.h -DISTFILES += uberblock_impl.h unique.h vdev.h vdev_disk.h vdev_file.h -DISTFILES += vdev_impl.h zap.h zap_impl.h zap_leaf.h zfs_acl.h -DISTFILES += zfs_context.h zfs_context_user.h zfs_ctldir.h zfs_debug.h -DISTFILES += zfs_dir.h zfs_fuid.h zfs_i18n.h zfs_ioctl.h zfs_rlock.h -DISTFILES += zfs_vfsops.h zfs_znode.h zil.h zil_impl.h zio.h -DISTFILES += zio_checksum.h zio_compress.h zio_impl.h zvol.h diff --git a/zfs/lib/libzcommon/include/sys/fm/Makefile.in b/zfs/lib/libzcommon/include/sys/fm/Makefile.in deleted file mode 100644 index 0a4dc0223..000000000 --- a/zfs/lib/libzcommon/include/sys/fm/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -subdir-m += fs diff --git a/zfs/lib/libzcommon/include/sys/fm/fs/Makefile.in b/zfs/lib/libzcommon/include/sys/fm/fs/Makefile.in deleted file mode 100644 index cbfbe3c67..000000000 --- a/zfs/lib/libzcommon/include/sys/fm/fs/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = zfs.h diff --git a/zfs/lib/libzcommon/include/sys/fs/Makefile.in b/zfs/lib/libzcommon/include/sys/fs/Makefile.in deleted file mode 100644 index cbfbe3c67..000000000 --- a/zfs/lib/libzcommon/include/sys/fs/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = zfs.h diff --git a/zfs/lib/libzfs/Makefile.in b/zfs/lib/libzfs/Makefile.in deleted file mode 100644 index 4718bed00..000000000 --- a/zfs/lib/libzfs/Makefile.in +++ /dev/null @@ -1,46 +0,0 @@ -subdir-m += include -DISTFILES = libzfs_changelist.c libzfs_config.c libzfs_dataset.c -DISTFILES += libzfs_graph.c libzfs_import.c libzfs_mount.c libzfs_pool.c -DISTFILES += libzfs_sendrecv.c libzfs_status.c libzfs_util.c - -LIBRARY := libzfs - -# 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@/libzfs/include -HOSTCFLAGS += -I@LIBDIR@/libsolcompat/include -HOSTCFLAGS += -I@LIBDIR@/libport/include -HOSTCFLAGS += -I@LIBDIR@/libumem/include -HOSTCFLAGS += -I@LIBDIR@/libuutil/include -HOSTCFLAGS += -I@LIBDIR@/libnvpair/include -HOSTCFLAGS += -I@LIBDIR@/libavl/include -HOSTCFLAGS += -I@LIBDIR@/libzcommon/include -HOSTCFLAGS += -I@LIBDIR@/libdmu-ctl/include -HOSTCFLAGS += -I@LIBDIR@/libzpool # For existing fletcher.c hack - -HOSTLDFLAGS += -ldl -lm -HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl -HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair -HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil -HOSTLDFLAGS += -lzport -L@LIBDIR@/libport -HOSTLDFLAGS += -lsolcompat -L@LIBDIR@/libsolcompat -HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon - -hostprogs-y := zu -always := $(hostprogs-y) - -zu-objs := zu.o ${LIBRARY}.so - -${LIBRARY}-objs += libzfs_dataset.o # Interface for manipulating datasets -${LIBRARY}-objs += libzfs_pool.o # Interface for manipulating pools -${LIBRARY}-objs += libzfs_changelist.o # Support for property changes -${LIBRARY}-objs += libzfs_config.o # Interface for manipulating configuration -${LIBRARY}-objs += libzfs_graph.o # Support for dependent list for datasets -${LIBRARY}-objs += libzfs_import.o # Discover and import pools -${LIBRARY}-objs += libzfs_mount.o # Mount, unmount, and share datasets -${LIBRARY}-objs += libzfs_status.o # Status -${LIBRARY}-objs += libzfs_util.o # Misc support -${LIBRARY}-objs += libzfs_sendrecv.o diff --git a/zfs/lib/libzfs/include/Makefile.in b/zfs/lib/libzfs/include/Makefile.in deleted file mode 100644 index 23c0b471f..000000000 --- a/zfs/lib/libzfs/include/Makefile.in +++ /dev/null @@ -1 +0,0 @@ -DISTFILES = libzfs.h libzfs_impl.h diff --git a/zfs/lib/libzpool/Makefile.in b/zfs/lib/libzpool/Makefile.in deleted file mode 100644 index 440fd1cbc..000000000 --- a/zfs/lib/libzpool/Makefile.in +++ /dev/null @@ -1,102 +0,0 @@ -# NOTE: kernel.c, taskq.c, util.c unused by kernel port. -# Potentially they should just be removed if we don't care -# able user space lustre intergration from this source base. - -DISTFILES = arc.c bplist.c dbuf.c dmu.c dmu_object.c dmu_objset.c -DISTFILES += dmu_traverse.c dmu_tx.c dmu_zfetch.c dnode.c dnode_sync.c -DISTFILES += dsl_dataset.c dsl_deleg.c dsl_dir.c dsl_pool.c dsl_prop.c -DISTFILES += dsl_synctask.c fletcher.c gzip.c kernel.c lzjb.c metaslab.c -DISTFILES += refcount.c sha256.c spa.c spa_boot.c spa_config.c spa_errlog.c -DISTFILES += spa_history.c spa_misc.c space_map.c taskq.c txg.c uberblock.c -DISTFILES += unique.c util.c vdev.c vdev_cache.c vdev_disk.c vdev_missing.c -DISTFILES += vdev_file.c vdev_label.c vdev_mirror.c vdev_queue.c vdev_raidz.c -DISTFILES += vdev_root.c zap.c zap_leaf.c zap_micro.c zfs_byteswap.c zfs_fm.c -DISTFILES += zfs_znode.c zil.c zio.c zio_checksum.c zio_compress.c zio_inject.c - -MODULE := zpool - -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@LIBDIR@/libzcommon/include -EXTRA_CFLAGS += -I@LIBDIR@/libport/include -EXTRA_CFLAGS += -I@LIBDIR@/libavl/include -EXTRA_CFLAGS += -I@LIBDIR@/libnvpair/include - -obj-m := ${MODULE}.o - -# DMU (Data Management Unit) -${MODULE}-objs += dmu.o # Interfaces dmu core -${MODULE}-objs += dmu_objset.o # Interfaces dmu objset open/close/manipulate -${MODULE}-objs += dmu_object.o # Interfaces dmu alloc/free -${MODULE}-objs += txg.o # Transaction model control threads -${MODULE}-objs += dmu_tx.o # Interfaces dmu transaction create/manipulate -${MODULE}-objs += dnode.o # Open context object-level support -${MODULE}-objs += dnode_sync.o # Syncing context object-level support -${MODULE}-objs += dbuf.o # Buffer management support -${MODULE}-objs += dmu_zfetch.o # Data stream prefetch logic -${MODULE}-objs += refcount.o # Generic refcount support -#${MODULE}-objs += dmu_send.o # XXX missing: Snapshot send/received support - -# DSL (Dataset and Snapshot Layer) -${MODULE}-objs += dsl_dir.o # Namespace and management support -${MODULE}-objs += dsl_dataset.o # Interfaces snapshot/rollback/clone -${MODULE}-objs += dsl_pool.o # Pool-level support -${MODULE}-objs += dsl_prop.o # Property manipulation support -${MODULE}-objs += dsl_deleg.o # XXX: ? -${MODULE}-objs += dsl_synctask.o# XXX: ? -${MODULE}-objs += unique.o # Unique objset ID support - -# ZAP (ZFS Attribute Processor) -${MODULE}-objs += zap.o # Interfaces (fat) -${MODULE}-objs += zap_leaf.o # Low-level support -${MODULE}-objs += zap_micro.o # Interfaces (micro) - -# ZIL (ZFS Intent Log) -${MODULE}-objs += zil.o # Intent log - -# ARC (Adaptive Replacement Cache) -${MODULE}-objs += arc.o # Adaptive replacement cache - -# SPA (Storage Pool Allocator) -${MODULE}-objs += spa.o # Open/import/export/destroy support -${MODULE}-objs += spa_misc.o # Misc support (includes locking) -${MODULE}-objs += spa_config.o # Parse and update pool config data -${MODULE}-objs += spa_errlog.o # Log of persistent pool-wide data errors -${MODULE}-objs += spa_history.o # Command history support -${MODULE}-objs += spa_boot.o # Bootable root partitions -${MODULE}-objs += zfs_fm.o # Post reports of FMA consumption support - -# ZIO (ZFS I/O Pipeline) -${MODULE}-objs += zio.o # Interfaces zio core -${MODULE}-objs += zio_checksum.o# Generic checksum interface -${MODULE}-objs += fletcher.o # Fletcher 2 and 4 checksum algorithms -${MODULE}-objs += sha256.o # SHA256 checksum algorithms -${MODULE}-objs += zio_compress.o# Generic compression interface -${MODULE}-objs += lzjb.o # LZJB compression algorithm -${MODULE}-objs += gzip.o # GZIP compression algorithm -${MODULE}-objs += uberblock.o # Basic uberblock routines -${MODULE}-objs += bplist.o # Keeps track of list of block pointers -${MODULE}-objs += metaslab.o # Bulk of DVA translation -${MODULE}-objs += space_map.o # Keeps track of free space -${MODULE}-objs += zio_inject.o # Framework for persistent error injection - -# VDEV (Virtual Devices) -${MODULE}-objs += vdev.o # Interfaces vdev code -${MODULE}-objs += vdev_disk.o # Disk virtual device -${MODULE}-objs += vdev_file.o # File virtual device -${MODULE}-objs += vdev_mirror.o # N-Way mirroring -${MODULE}-objs += vdev_raidz.o # RAID-Z grouping -${MODULE}-objs += vdev_root.o # Top-level pseudo vdev -${MODULE}-objs += vdev_missing.o# Special device for import -${MODULE}-objs += vdev_label.o # Read/write indentifying label support -${MODULE}-objs += vdev_cache.o # Simple device-level caching for reads -${MODULE}-objs += vdev_queue.o # I/O scheduling algorithm for vdevs - -# ZPL (ZFS Posix Layer) -${MODULE}-objs += zfs_byteswap.o# Byteswap support for ZPL -${MODULE}-objs += zfs_znode.o # Vnode to znode mapping - -# Traversal -${MODULE}-objs += dmu_traverse.o# Traversal code - -# SPL (Solaris Porting Layer) -${MODULE}-objs += spl.o # Linux kernel glue and misc support |