This changes Makefiles so that libnftables is built into a static library which is not installed. This allows for incompatible changes while still providing a library to link to for testing purposes. Signed-off-by: Phil Sutter <phil@xxxxxx> --- Changes since v1: - Keep it a libtool library. - Update src/.gitignore. --- src/.gitignore | 1 + src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/.gitignore b/src/.gitignore index 36d6acd1e4d01..e27d4f8431eec 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,3 +1,4 @@ +libnftables.a libnftables.la parser.c parser.h diff --git a/src/Makefile.am b/src/Makefile.am index 9f7a4bfbb90a4..7581ec2090092 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,7 +27,7 @@ parser_bison.o scanner.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-decl BUILT_SOURCES = parser_bison.h -lib_LTLIBRARIES = libnftables.la +noinst_LTLIBRARIES = libnftables.la libnftables_la_SOURCES = \ rule.c \ -- 2.13.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html