summaryrefslogtreecommitdiff
path: root/src/fe-fuzz/irc/core/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-fuzz/irc/core/Makefile.am')
-rw-r--r--src/fe-fuzz/irc/core/Makefile.am46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/fe-fuzz/irc/core/Makefile.am b/src/fe-fuzz/irc/core/Makefile.am
new file mode 100644
index 00000000..fa614abb
--- /dev/null
+++ b/src/fe-fuzz/irc/core/Makefile.am
@@ -0,0 +1,46 @@
+bin_PROGRAMS = event-get-params-fuzz
+
+# Force link with CXX for libfuzzer support
+CCLD=$(CXX) $(CXXFLAGS)
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/core/ \
+ -I$(top_srcdir)/src/irc/core/ \
+ -I$(top_srcdir)/src/fe-common/core/ \
+ $(GLIB_CFLAGS)
+
+AM_DEPENDENCIES = \
+ ../../../core/libcore.a \
+ ../../../lib-config/libirssi_config.a \
+ ../../../irc/libirc.a \
+ ../../../irc/core/libirc_core.a \
+ ../../../irc/dcc/libirc_dcc.a \
+ ../../../irc/flood/libirc_flood.a \
+ ../../../irc/notifylist/libirc_notifylist.a \
+ ../../../fe-common/core/libfe_common_core.a \
+ ../../../fe-common/irc/libfe_common_irc.a \
+ ../../../fe-common/irc/dcc/libfe_irc_dcc.a \
+ ../../../fe-common/irc/notifylist/libfe_irc_notifylist a
+
+LDADD = \
+ ../../../irc/libirc.a \
+ ../../../irc/core/libirc_core.a \
+ ../../../irc/dcc/libirc_dcc.a \
+ ../../../irc/flood/libirc_flood.a \
+ ../../../irc/notifylist/libirc_notifylist.a \
+ ../../../fe-common/core/libfe_common_core.a \
+ ../../../fe-common/irc/libfe_common_irc.a \
+ ../../../fe-common/irc/dcc/libfe_irc_dcc.a \
+ ../../../fe-common/irc/notifylist/libfe_irc_notifylist.a \
+ ../../../core/libcore.a \
+ ../../../lib-config/libirssi_config.a \
+ @PROG_LIBS@ \
+ $(FUZZER_LIBS)
+
+event_get_params_fuzz_SOURCES = \
+ event-get-params.c \
+ $(top_srcdir)/src/fe-text/module-formats.c
+
+noinst_HEADERS = \
+ $(top_srcdir)/src/fe-text/module-formats.h