From 8e9e170b8f4b15fcf3522cdc1a5fd76e51c16dd3 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 11 Sep 2019 19:46:58 +0200 Subject: 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 --- lib/fstree/Makemodule.am | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/fstree/Makemodule.am (limited to 'lib/fstree/Makemodule.am') 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 -- cgit v1.2.3