summaryrefslogtreecommitdiffstats
path: root/src/fe-fuzz/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /src/fe-fuzz/Makefile.am
parentInitial commit. (diff)
downloadirssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz
irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fe-fuzz/Makefile.am')
-rw-r--r--src/fe-fuzz/Makefile.am40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/fe-fuzz/Makefile.am b/src/fe-fuzz/Makefile.am
new file mode 100644
index 0000000..3efa83b
--- /dev/null
+++ b/src/fe-fuzz/Makefile.am
@@ -0,0 +1,40 @@
+SUBDIRS = irc fe-common
+
+bin_PROGRAMS = irssi-fuzz server-fuzz
+
+# Force link with CXX for libfuzzer support
+CCLD=$(CXX) $(CXXFLAGS)
+
+AM_CPPFLAGS = \
+ -I$(top_builddir) \
+ $(GLIB_CFLAGS)
+
+irssi_fuzz_DEPENDENCIES = @COMMON_LIBS@
+
+irssi_fuzz_LDADD = \
+ @COMMON_LIBS@ \
+ @PROG_LIBS@ \
+ $(FUZZER_LIBS)
+
+irssi_fuzz_SOURCES = \
+ irssi.c \
+ null-logger.c \
+ ../fe-text/module-formats.c
+
+server_fuzz_DEPENDENCIES = @COMMON_LIBS@
+
+server_fuzz_LDADD = \
+ @COMMON_LIBS@ \
+ @PROG_LIBS@ \
+ $(FUZZER_LIBS)
+
+server_fuzz_SOURCES = \
+ server.c \
+ null-logger.c \
+ ../fe-text/module-formats.c
+
+noinst_HEADERS = \
+ null-logger.h \
+ ../fe-text/module-formats.h
+
+EXTRA_DIST = meson.build