summaryrefslogtreecommitdiffstats
path: root/src/fe-fuzz/Makefile.am
blob: 3efa83b66b4770cad275c056fa1ebc9fbce0c2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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