summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makemodule.am29
-rw-r--r--lib/sqfshelper/data_reader.c (renamed from lib/sqfs/data_reader.c)0
-rw-r--r--lib/sqfshelper/data_writer.c (renamed from lib/sqfs/data_writer.c)0
-rw-r--r--lib/sqfshelper/deserialize_fstree.c (renamed from lib/sqfs/deserialize_fstree.c)0
-rw-r--r--lib/sqfshelper/serialize_fstree.c (renamed from lib/sqfs/serialize_fstree.c)0
-rw-r--r--lib/sqfshelper/sqfs_reader.c (renamed from lib/sqfs/sqfs_reader.c)0
-rw-r--r--lib/sqfshelper/statistics.c (renamed from lib/sqfs/statistics.c)0
-rw-r--r--lib/sqfshelper/tree_node_from_inode.c (renamed from lib/sqfs/tree_node_from_inode.c)0
-rw-r--r--lib/sqfshelper/write_dir.c (renamed from lib/sqfs/write_dir.c)0
-rw-r--r--lib/sqfshelper/write_export_table.c (renamed from lib/sqfs/write_export_table.c)0
-rw-r--r--lib/sqfshelper/write_inode.c (renamed from lib/sqfs/write_inode.c)0
-rw-r--r--lib/sqfshelper/write_xattr.c (renamed from lib/sqfs/write_xattr.c)0
-rw-r--r--lib/sqfshelper/xattr_reader.c (renamed from lib/sqfs/xattr_reader.c)0
13 files changed, 17 insertions, 12 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am
index dee2b8d..5905b26 100644
--- a/lib/Makemodule.am
+++ b/lib/Makemodule.am
@@ -24,17 +24,9 @@ libsquashfs_a_SOURCES += lib/sqfs/write_table.c include/highlevel.h
libsquashfs_a_SOURCES += lib/sqfs/read_super.c lib/sqfs/meta_reader.c
libsquashfs_a_SOURCES += include/meta_reader.h lib/sqfs/id_table_write.c
libsquashfs_a_SOURCES += lib/sqfs/id_table_read.c lib/sqfs/read_inode.c
-libsquashfs_a_SOURCES += lib/sqfs/readdir.c lib/sqfs/xattr_reader.c
-libsquashfs_a_SOURCES += lib/sqfs/write_dir.c lib/sqfs/write_inode.c
-libsquashfs_a_SOURCES += lib/sqfs/serialize_fstree.c lib/sqfs/xattr.c
-libsquashfs_a_SOURCES += lib/sqfs/tree_node_from_inode.c
-libsquashfs_a_SOURCES += lib/sqfs/deserialize_fstree.c
-libsquashfs_a_SOURCES += lib/sqfs/data_writer.c lib/sqfs/write_xattr.c
-libsquashfs_a_SOURCES += include/data_writer.h include/xattr_reader.h
-libsquashfs_a_SOURCES += include/data_reader.h lib/sqfs/data_reader.c
-libsquashfs_a_SOURCES += lib/sqfs/write_export_table.c
-libsquashfs_a_SOURCES += lib/sqfs/read_table.c lib/sqfs/statistics.c
-libsquashfs_a_SOURCES += lib/sqfs/sqfs_reader.c
+libsquashfs_a_SOURCES += lib/sqfs/readdir.c
+libsquashfs_a_SOURCES += lib/sqfs/xattr.c
+libsquashfs_a_SOURCES += lib/sqfs/read_table.c
libsquashfs_a_SOURCES += lib/sqfs/comp/compressor.c lib/sqfs/comp/internal.h
libsquashfs_a_SOURCES += include/block_processor.h include/compress.h
libsquashfs_a_SOURCES += lib/sqfs/comp/create_block.c
@@ -42,6 +34,19 @@ libsquashfs_a_SOURCES += lib/sqfs/comp/process_block.c
libsquashfs_a_CFLAGS = $(AM_CFLAGS)
libsquashfs_a_CPPFLAGS = $(AM_CPPFLAGS)
+libsqfshelper_a_SOURCES = lib/sqfshelper/deserialize_fstree.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/serialize_fstree.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/statistics.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/tree_node_from_inode.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/sqfs_reader.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/write_dir.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/write_inode.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/write_export_table.c
+libsqfshelper_a_SOURCES += lib/sqfshelper/xattr_reader.c
+libsqfshelper_a_SOURCES += include/data_reader.h lib/sqfshelper/data_reader.c
+libsqfshelper_a_SOURCES += include/data_writer.h lib/sqfshelper/data_writer.c
+libsqfshelper_a_SOURCES += include/xattr_reader.h lib/sqfshelper/write_xattr.c
+
libutil_a_SOURCES = lib/util/canonicalize_name.c lib/util/write_data.c
libutil_a_SOURCES += lib/util/read_data.c include/util.h
libutil_a_SOURCES += lib/util/print_version.c lib/util/mkdir_p.c
@@ -104,4 +109,4 @@ libfstree_a_CFLAGS += $(LIBSELINUX_CFLAGS)
libfstree_a_CPPFLAGS += -DWITH_SELINUX
endif
-noinst_LIBRARIES += libfstree.a libutil.a libsquashfs.a libtar.a
+noinst_LIBRARIES += libfstree.a libutil.a libsquashfs.a libtar.a libsqfshelper.a
diff --git a/lib/sqfs/data_reader.c b/lib/sqfshelper/data_reader.c
index 4ad6266..4ad6266 100644
--- a/lib/sqfs/data_reader.c
+++ b/lib/sqfshelper/data_reader.c
diff --git a/lib/sqfs/data_writer.c b/lib/sqfshelper/data_writer.c
index d4b402b..d4b402b 100644
--- a/lib/sqfs/data_writer.c
+++ b/lib/sqfshelper/data_writer.c
diff --git a/lib/sqfs/deserialize_fstree.c b/lib/sqfshelper/deserialize_fstree.c
index 11670e1..11670e1 100644
--- a/lib/sqfs/deserialize_fstree.c
+++ b/lib/sqfshelper/deserialize_fstree.c
diff --git a/lib/sqfs/serialize_fstree.c b/lib/sqfshelper/serialize_fstree.c
index 736744b..736744b 100644
--- a/lib/sqfs/serialize_fstree.c
+++ b/lib/sqfshelper/serialize_fstree.c
diff --git a/lib/sqfs/sqfs_reader.c b/lib/sqfshelper/sqfs_reader.c
index 197e08f..197e08f 100644
--- a/lib/sqfs/sqfs_reader.c
+++ b/lib/sqfshelper/sqfs_reader.c
diff --git a/lib/sqfs/statistics.c b/lib/sqfshelper/statistics.c
index 33ff7cb..33ff7cb 100644
--- a/lib/sqfs/statistics.c
+++ b/lib/sqfshelper/statistics.c
diff --git a/lib/sqfs/tree_node_from_inode.c b/lib/sqfshelper/tree_node_from_inode.c
index 582399c..582399c 100644
--- a/lib/sqfs/tree_node_from_inode.c
+++ b/lib/sqfshelper/tree_node_from_inode.c
diff --git a/lib/sqfs/write_dir.c b/lib/sqfshelper/write_dir.c
index 23297ad..23297ad 100644
--- a/lib/sqfs/write_dir.c
+++ b/lib/sqfshelper/write_dir.c
diff --git a/lib/sqfs/write_export_table.c b/lib/sqfshelper/write_export_table.c
index e42df15..e42df15 100644
--- a/lib/sqfs/write_export_table.c
+++ b/lib/sqfshelper/write_export_table.c
diff --git a/lib/sqfs/write_inode.c b/lib/sqfshelper/write_inode.c
index 1295fa9..1295fa9 100644
--- a/lib/sqfs/write_inode.c
+++ b/lib/sqfshelper/write_inode.c
diff --git a/lib/sqfs/write_xattr.c b/lib/sqfshelper/write_xattr.c
index 2263fbe..2263fbe 100644
--- a/lib/sqfs/write_xattr.c
+++ b/lib/sqfshelper/write_xattr.c
diff --git a/lib/sqfs/xattr_reader.c b/lib/sqfshelper/xattr_reader.c
index 399940f..399940f 100644
--- a/lib/sqfs/xattr_reader.c
+++ b/lib/sqfshelper/xattr_reader.c