1MAINTAINERCLEANFILES = $(srcdir)/Makefile.in 2CLEANFILES = $(srcdir)/hashtbl.c \ 3 hashtbl.c *.gcda *.gcno *.gcov 4 5AM_CFLAGS = -I$(srcdir) \ 6 -I$(top_srcdir)/src \ 7 -I$(top_srcdir)/isc \ 8 $(SECCOMPFLAGS) \ 9 $(libldns_CFLAGS) 10 11pkglib_LTLIBRARIES = rssm.la 12rssm_la_SOURCES = rssm.c 13nodist_rssm_la_SOURCES = hashtbl.c 14BUILT_SOURCES = hashtbl.c 15rssm_la_LDFLAGS = -module -avoid-version $(libldns_LIBS) 16TESTS = test1.sh test2.sh test3.sh test4.sh test5.sh 17EXTRA_DIST = $(TESTS) test1.gold test2.gold dnscap-rssm-rssac002.1.in \ 18 test3.gold test5.gold 19dist_bin_SCRIPTS = dnscap-rssm-rssac002 20man1_MANS = dnscap-rssm-rssac002.1 21CLEANFILES += test1.20161020.152301.075993 test2.out $(man1_MANS) \ 22 test3.20181127.155200.414188 test4.*20161020.152301.075993 \ 23 test5.20180110.112241.543825 24 25if ENABLE_GCOV 26gcov-local: 27 for src in $(rssm_la_SOURCES) $(nodist_rssm_la_SOURCES); do \ 28 gcov -o .libs -l -r -s "$(srcdir)" "$$src"; \ 29 done 30endif 31 32hashtbl.c: $(top_srcdir)/src/hashtbl.c 33 cp $(top_srcdir)/src/hashtbl.c ./ 34 35$(srcdir)/hashtbl.c: $(top_srcdir)/src/hashtbl.c 36 cp $(top_srcdir)/src/hashtbl.c $(srcdir)/ 37 38dnscap-rssm-rssac002.1: dnscap-rssm-rssac002.1.in Makefile 39 sed -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \ 40 -e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \ 41 -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \ 42 < $(srcdir)/dnscap-rssm-rssac002.1.in > dnscap-rssm-rssac002.1 43