From c9757b595da26a47e2354301d0c56728c7d18b14 Mon Sep 17 00:00:00 2001
From: Olivier Dion <olivier.dion@savoirfairelinux.com>
Date: Thu, 10 Jun 2021 15:04:49 -0400
Subject: [PATCH] auto-tools: Add fuzzing directory

Change-Id: I189cdf06e74314f6e35b34addafe599d39f2dc42
---
 configure.ac             | 1 +
 test/Makefile.am         | 2 +-
 test/fuzzing/Makefile.am | 6 ++++++
 3 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 test/fuzzing/Makefile.am

diff --git a/configure.ac b/configure.ac
index 4b0043658a..948bdb77d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -663,6 +663,7 @@ AC_CONFIG_FILES([Makefile \
                  test/Makefile\
                  test/sip/Makefile
                  test/unitTest/Makefile \
+                 test/fuzzing/Makefile \
                  man/Makefile \
                  doc/Makefile \
                  doc/doxygen/Makefile])
diff --git a/test/Makefile.am b/test/Makefile.am
index 74b09f88ed..4d8fcb49ef 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,2 +1,2 @@
-SUBDIRS = unitTest
+SUBDIRS = unitTest fuzzing
 SUBDIRS += sip
diff --git a/test/fuzzing/Makefile.am b/test/fuzzing/Makefile.am
new file mode 100644
index 0000000000..b67946fcb1
--- /dev/null
+++ b/test/fuzzing/Makefile.am
@@ -0,0 +1,6 @@
+include $(top_srcdir)/globals.mk
+
+AM_CXXFLAGS += -I$(top_srcdir)/src -I.
+AM_LDFLAGS += $(top_builddir)/src/libring.la
+check_PROGRAMS =
+
-- 
GitLab