summaryrefslogtreecommitdiffstats
path: root/plugins/cryptopant/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cryptopant/Makefile.am')
-rw-r--r--plugins/cryptopant/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/cryptopant/Makefile.am b/plugins/cryptopant/Makefile.am
new file mode 100644
index 0000000..3aaa44a
--- /dev/null
+++ b/plugins/cryptopant/Makefile.am
@@ -0,0 +1,24 @@
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+CLEANFILES = *.gcda *.gcno *.gcov
+
+AM_CFLAGS = -I$(srcdir) \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/isc \
+ $(SECCOMPFLAGS) $(libcrypto_CFLAGS)
+
+pkglib_LTLIBRARIES = cryptopant.la
+cryptopant_la_SOURCES = cryptopant.c
+cryptopant_la_LDFLAGS = -module -avoid-version $(libcrypto_LIBS)
+
+TESTS = test1.sh test2.sh test3.sh test4.sh
+
+EXTRA_DIST = $(TESTS) test1.gold keyfile test2.gold test3.gold
+CLEANFILES += test1.out test2.out test3.out test3.pcap.20161020.152301.075993 \
+ test3.pcap.20181127.155200.414188
+
+if ENABLE_GCOV
+gcov-local:
+ for src in $(cryptopant_la_SOURCES); do \
+ gcov -o .libs -l -r -s "$(srcdir)" "$$src"; \
+ done
+endif