summaryrefslogtreecommitdiff
path: root/lib/fstree/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-11 19:46:58 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-11 19:46:58 +0200
commit8e9e170b8f4b15fcf3522cdc1a5fd76e51c16dd3 (patch)
tree099796d6c64f54d790d2db83ba6c49dc955d5e17 /lib/fstree/Makemodule.am
parentcd662fccc563e18762e2e6a16d040e0474b6e5f9 (diff)
Cleanup Automake file for libraries
Split the signel file up into several small ones and use a variable for the public headers instead of duplicating them. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/Makemodule.am')
-rw-r--r--lib/fstree/Makemodule.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/fstree/Makemodule.am b/lib/fstree/Makemodule.am
new file mode 100644
index 0000000..3c74f6d
--- /dev/null
+++ b/lib/fstree/Makemodule.am
@@ -0,0 +1,19 @@
+libfstree_a_SOURCES = lib/fstree/fstree.c lib/fstree/fstree_from_file.c
+libfstree_a_SOURCES += lib/fstree/fstree_sort.c lib/fstree/fstree_from_dir.c
+libfstree_a_SOURCES += lib/fstree/gen_inode_table.c lib/fstree/get_path.c
+libfstree_a_SOURCES += lib/fstree/node_stat.c lib/fstree/mknode.c
+libfstree_a_SOURCES += lib/fstree/add_by_path.c lib/fstree/xattr.c
+libfstree_a_SOURCES += lib/fstree/node_from_path.c include/fstree.h
+libfstree_a_SOURCES += lib/fstree/gen_file_list.c lib/fstree/deduplicate.c
+libfstree_a_SOURCES += lib/fstree/optimize_unpack_order.c
+libfstree_a_SOURCES += lib/fstree/canonicalize_name.c
+libfstree_a_SOURCES += lib/fstree/source_date_epoch.c
+libfstree_a_CFLAGS = $(AM_CFLAGS) $(LIBSELINUX_CFLAGS)
+libfstree_a_CPPFLAGS = $(AM_CPPFLAGS)
+
+if WITH_SELINUX
+libfstree_a_SOURCES += lib/fstree/selinux.c
+libfstree_a_CPPFLAGS += -DWITH_SELINUX
+endif
+
+noinst_LIBRARIES += libfstree.a