Makefile.am 1.36 KB
Newer Older
1
AM_CPPFLAGS = \
2
	-include $(top_builddir)/src/config.h \
3 4 5 6
	-I$(top_srcdir)/libtap \
	-I$(top_srcdir)/src

LDADD = \
Jan Včelák's avatar
Jan Včelák committed
7 8 9
	$(top_builddir)/libtap/libtap.a \
	$(top_builddir)/src/libknotd.la \
	$(top_builddir)/src/libknots.la
10 11

check_PROGRAMS = \
Lubos Slovak's avatar
Lubos Slovak committed
12
	acl				\
13
	base32hex			\
Daniel Salzman's avatar
Daniel Salzman committed
14 15
	base64				\
	changeset			\
16
	conf				\
Daniel Salzman's avatar
Daniel Salzman committed
17
	descriptor			\
18 19
	dname				\
	dnssec_keys			\
Lubos Slovak's avatar
Lubos Slovak committed
20
	dnssec_nsec3			\
21
	dnssec_sign			\
22
	dnssec_zone_nsec		\
Daniel Salzman's avatar
Daniel Salzman committed
23
	dthreads			\
24
	edns				\
Daniel Salzman's avatar
Daniel Salzman committed
25 26 27 28 29 30
	fdset				\
	hattrie				\
	hhash				\
	journal				\
	namedb				\
	node				\
31
	overlay				\
Daniel Salzman's avatar
Daniel Salzman committed
32
	pkt				\
Marek Vavruša's avatar
Marek Vavruša committed
33
	process_answer			\
Daniel Salzman's avatar
Daniel Salzman committed
34
	process_query			\
Jan Včelák's avatar
Jan Včelák committed
35
	query_module			\
Daniel Salzman's avatar
Daniel Salzman committed
36 37 38 39 40 41 42 43
	rdata				\
	rdataset			\
	requestor			\
	rrl				\
	rrset				\
	rrset_wire			\
	server				\
	wire				\
Jan Včelák's avatar
Jan Včelák committed
44
	worker_pool			\
Jan Včelák's avatar
Jan Včelák committed
45
	worker_queue			\
46
	zone_events			\
47
	zone_timers			\
Daniel Salzman's avatar
Daniel Salzman committed
48 49 50
	zone_update			\
	zonedb				\
	ztree
51

52 53 54
check-compile-only: $(check_PROGRAMS)

check-local: $(check_PROGRAMS)
Jan Včelák's avatar
Jan Včelák committed
55 56
	$(top_builddir)/libtap/runtests -s $(top_srcdir)/tests \
					-b $(top_builddir)/tests \
57
					-L $(top_builddir)/tests/runtests.log \
Jan Včelák's avatar
Jan Včelák committed
58
					$(check_PROGRAMS)
59 60 61 62 63

EXTRA_DIST = data
dist_check_SCRIPTS = resource.sh

conf_SOURCES = conf.c sample_conf.h
64 65
process_query_SOURCES = process_query.c fake_server.h
process_answer_SOURCES = process_answer.c fake_server.h
66
nodist_conf_SOURCES = sample_conf.c
67
CLEANFILES = sample_conf.c runtests.log
68 69
sample_conf.c: data/sample_conf
	$(abs_srcdir)/resource.sh $(abs_srcdir)/data/sample_conf >$@