From 49900d448ac95ecabd038a9936d467d6e37aacec Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 23 Oct 2017 17:33:16 +0200 Subject: libnftables: Move library stuff out of main.c This creates src/libnftables.c and include/nftables/nftables.h which will become the central elements of libnftables. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 99eef7bb..4d613a73 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -56,7 +56,8 @@ nft_SOURCES = main.c \ mergesort.c \ scanner.l \ tcpopt.c \ - parser_bison.y + parser_bison.y \ + libnftables.c if BUILD_CLI nft_SOURCES += cli.c -- cgit v1.2.3