summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-11-17 23:13:49 +0100
committerFlorian Westphal <fw@strlen.de>2025-11-20 22:16:43 +0100
commit32c994f84904e9854d527217ececf0b97d89410d (patch)
treedb2a1a6468fc1cf9c9c15b08f27dccb6074a2d44 /Makefile.am
parent6cee2d0e7b4dc3274728ae6681d87e356ddcf31a (diff)
src: move fuzzer functionality to separate tool
This means some loss of functionality since you can no longer combine --fuzzer with options like --debug, --define, --include. On the upside, this adds new --random-outflags mode which will randomly switch --terse, --numeric, --echo ... on/off. Update README to reflect this change. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index d2cae2a3..e278a193 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,6 +31,7 @@ LDADD =
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
sbin_PROGRAMS =
+noinst_PROGRAMS =
check_PROGRAMS =
dist_man_MANS =
CLEANFILES =
@@ -294,10 +295,6 @@ sbin_PROGRAMS += src/nft
src_nft_SOURCES = src/main.c
-if BUILD_AFL
-src_nft_SOURCES += src/afl++.c
-endif
-
if BUILD_CLI
src_nft_SOURCES += src/cli.c
endif
@@ -318,6 +315,16 @@ examples_nft_json_file_LDADD = src/libnftables.la
###############################################################################
+if BUILD_AFL
+noinst_PROGRAMS += tools/nft-afl
+
+tools_nft_afl_SOURCES = tools/nft-afl.c
+tools_nft_afl_SOURCES += -I$(srcdir)/include
+tools_nft_afl_LDADD = src/libnftables.la
+endif
+
+###############################################################################
+
if BUILD_MAN
dist_man_MANS += \