]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
Make libnftables a local static library
authorPhil Sutter <phil@nwl.cc>
Thu, 30 Nov 2017 18:36:23 +0000 (19:36 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Dec 2017 10:10:56 +0000 (11:10 +0100)
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@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/.gitignore
src/Makefile.am

index 36d6acd1e4d0138cd16a0c03f3c4e451c8edd9c8..e27d4f8431eec146a2b56460d21237e72a8cc83a 100644 (file)
@@ -1,3 +1,4 @@
+libnftables.a
 libnftables.la
 parser.c
 parser.h
index 9f7a4bfbb90a4f75bac18e0556f06674729b36bb..7581ec2090092150d47b5e682498c0c7b5e53981 100644 (file)
@@ -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                          \