summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-11-30 19:36:23 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-12-04 11:10:56 +0100
commitd572d59788143945c2a638f12a5227d9b21ce489 (patch)
treec308e7ade7f5655a43189b438202554d76f6624d
parentf9cb9580b924f6320005f429f7d59e52a38aff82 (diff)
Make libnftables a local static library
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>
-rw-r--r--src/.gitignore1
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/.gitignore b/src/.gitignore
index 36d6acd1..e27d4f84 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 9f7a4bfb..7581ec20 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 \