Makefile.am 927 Bytes
Newer Older
1 2 3 4 5
AM_CPPFLAGS = \
	-I$(top_srcdir)/libtap \
	-I$(top_srcdir)/src

LDADD = \
Jan Včelák's avatar
Jan Včelák committed
6 7 8
	$(top_builddir)/libtap/libtap.a \
	$(top_builddir)/src/libknotd.la \
	$(top_builddir)/src/libknots.la
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

check_PROGRAMS = \
	journal			\
	slab			\
	hattrie			\
	hhash			\
	dthreads		\
	acl			\
	fdset			\
	base64			\
	base32hex		\
	descriptor		\
	server			\
	conf			\
	rrl			\
	wire			\
	dname			\
	ztree			\
	zonedb			\
	dnssec_keys		\
	dnssec_nsec3		\
	dnssec_sign		\
	dnssec_zone_nsec	\
	rrset			\
	pkt			\
	process_query

check-compile-only: $(check_PROGRAMS)

check-local: $(check_PROGRAMS)
Jan Včelák's avatar
Jan Včelák committed
39 40 41
	$(top_builddir)/libtap/runtests -s $(top_srcdir)/tests \
					-b $(top_builddir)/tests \
					$(check_PROGRAMS)
42 43 44 45 46 47 48 49 50

EXTRA_DIST = data
dist_check_SCRIPTS = resource.sh

conf_SOURCES = conf.c sample_conf.h
nodist_conf_SOURCES = sample_conf.c
CLEANFILES = sample_conf.c
sample_conf.c: data/sample_conf
	$(abs_srcdir)/resource.sh $(abs_srcdir)/data/sample_conf >$@