2025-02-08 11:57:11 +01:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
2025-02-08 12:14:13 +01:00
|
|
|
CLEANFILES = *.gcda *.gcno *.gcov *.pcap-dist
|
2025-02-08 11:57:11 +01:00
|
|
|
|
|
|
|
AM_CFLAGS = -I$(srcdir) \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/isc \
|
2025-02-08 12:14:13 +01:00
|
|
|
-I$(top_srcdir)/plugins/shared \
|
2025-02-08 11:57:11 +01:00
|
|
|
$(SECCOMPFLAGS)
|
|
|
|
|
|
|
|
pkglib_LTLIBRARIES = anonmask.la
|
|
|
|
anonmask_la_SOURCES = anonmask.c
|
|
|
|
anonmask_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
|
|
|
TESTS = test1.sh test2.sh test3.sh
|
|
|
|
|
|
|
|
EXTRA_DIST = $(TESTS) test1.gold test2.gold
|
|
|
|
CLEANFILES += test1.out test2.out
|
|
|
|
|
|
|
|
if ENABLE_GCOV
|
|
|
|
gcov-local:
|
|
|
|
for src in $(anonmask_la_SOURCES); do \
|
|
|
|
gcov -o .libs -l -r -s "$(srcdir)" "$$src"; \
|
|
|
|
done
|
|
|
|
endif
|