Blame lib/dns/tests/Makefile.in

Packit Service ae04f2
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Packit Service ae04f2
#
Packit Service ae04f2
# This Source Code Form is subject to the terms of the Mozilla Public
Packit Service ae04f2
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit Service ae04f2
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit Service ae04f2
#
Packit Service ae04f2
# See the COPYRIGHT file distributed with this work for additional
Packit Service ae04f2
# information regarding copyright ownership.
Packit Service ae04f2
Packit Service ae04f2
srcdir =	@srcdir@
Packit Service ae04f2
VPATH =		@srcdir@
Packit Service ae04f2
top_srcdir =	@top_srcdir@
Packit Service ae04f2
Packit Service ae04f2
VERSION=@BIND9_VERSION@
Packit Service ae04f2
Packit Service ae04f2
@BIND9_MAKE_INCLUDES@
Packit Service ae04f2
Packit Service ae04f2
CINCLUDES =	-I. -Iinclude ${DNS_INCLUDES} ${ISC_INCLUDES} \
Packit Service ae04f2
		@DST_OPENSSL_INC@ ${MAXMINDDB_CFLAGS}
Packit Service ae04f2
CDEFINES =	@CRYPTO@ -DTESTS="\"${top_builddir}/lib/dns/tests/\""
Packit Service ae04f2
Packit Service ae04f2
ISCLIBS =	../../isc/libisc.@A@
Packit Service ae04f2
ISCDEPLIBS =	../../isc/libisc.@A@
Packit Service ae04f2
DNSLIBS =	../libdns.@A@ ${MAXMINDDB_LIBS} @DNS_CRYPTO_LIBS@
Packit Service ae04f2
DNSDEPLIBS =	../libdns.@A@
Packit Service ae04f2
Packit Service ae04f2
LIBS =		@LIBS@ @CMOCKA_LIBS@
Packit Service ae04f2
CFLAGS =	@CFLAGS@ @CMOCKA_CFLAGS@
Packit Service ae04f2
Packit Service ae04f2
OBJS =		dnstest.@O@
Packit Service ae04f2
SRCS =		acl_test.c \
Packit Service ae04f2
		db_test.c \
Packit Service ae04f2
		dbdiff_test.c \
Packit Service ae04f2
		dbiterator_test.c \
Packit Service ae04f2
		dh_test.c \
Packit Service ae04f2
		dispatch_test.c \
Packit Service ae04f2
		dnstap_test.c \
Packit Service ae04f2
		dst_test.c \
Packit Service ae04f2
		dnstest.c \
Packit Service ae04f2
		geoip_test.c \
Packit Service ae04f2
		gost_test.c \
Packit Service ae04f2
		keytable_test.c \
Packit Service ae04f2
		master_test.c \
Packit Service ae04f2
		name_test.c \
Packit Service ae04f2
		nsec3_test.c \
Packit Service ae04f2
		peer_test.c \
Packit Service ae04f2
		private_test.c \
Packit Service ae04f2
		rbt_test.c \
Packit Service ae04f2
		rbt_serialize_test.c \
Packit Service ae04f2
		rdata_test.c \
Packit Service ae04f2
		rdataset_test.c \
Packit Service ae04f2
		rdatasetstats_test.c \
Packit Service ae04f2
		resolver_test.c \
Packit Service ae04f2
		result_test.c \
Packit Service ae04f2
		rsa_test.c \
Packit Service ae04f2
		sigs_test.c \
Packit Service ae04f2
		time_test.c \
Packit Service ae04f2
		tsig_test.c \
Packit Service ae04f2
		update_test.c \
Packit Service ae04f2
		zonemgr_test.c \
Packit Service ae04f2
		zt_test.c
Packit Service ae04f2
Packit Service ae04f2
SUBDIRS =
Packit Service ae04f2
TARGETS =	acl_test@EXEEXT@ \
Packit Service ae04f2
		db_test@EXEEXT@ \
Packit Service ae04f2
		dbdiff_test@EXEEXT@ \
Packit Service ae04f2
		dbiterator_test@EXEEXT@ \
Packit Service ae04f2
		dbversion_test@EXEEXT@ \
Packit Service ae04f2
		dh_test@EXEEXT@ \
Packit Service ae04f2
		dispatch_test@EXEEXT@ \
Packit Service ae04f2
		dnstap_test@EXEEXT@ \
Packit Service ae04f2
		dst_test@EXEEXT@ \
Packit Service ae04f2
		geoip_test@EXEEXT@ \
Packit Service ae04f2
		gost_test@EXEEXT@ \
Packit Service ae04f2
		keytable_test@EXEEXT@ \
Packit Service ae04f2
		master_test@EXEEXT@ \
Packit Service ae04f2
		name_test@EXEEXT@ \
Packit Service ae04f2
		nsec3_test@EXEEXT@ \
Packit Service ae04f2
		peer_test@EXEEXT@ \
Packit Service ae04f2
		private_test@EXEEXT@ \
Packit Service ae04f2
		rbt_test@EXEEXT@ \
Packit Service ae04f2
		rbt_serialize_test@EXEEXT@ \
Packit Service ae04f2
		rdata_test@EXEEXT@ \
Packit Service ae04f2
		rdataset_test@EXEEXT@ \
Packit Service ae04f2
		rdatasetstats_test@EXEEXT@ \
Packit Service ae04f2
		resolver_test@EXEEXT@ \
Packit Service ae04f2
		result_test@EXEEXT@ \
Packit Service ae04f2
		rsa_test@EXEEXT@ \
Packit Service ae04f2
		sigs_test@EXEEXT@ \
Packit Service ae04f2
		time_test@EXEEXT@ \
Packit Service ae04f2
		tsig_test@EXEEXT@ \
Packit Service ae04f2
		update_test@EXEEXT@ \
Packit Service ae04f2
		zonemgr_test@EXEEXT@ \
Packit Service ae04f2
		zt_test@EXEEXT@
Packit Service ae04f2
Packit Service ae04f2
@BIND9_MAKE_RULES@
Packit Service ae04f2
Packit Service ae04f2
acl_test@EXEEXT@: acl_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ acl_test.@O@ dnstest.@O@ ${DNSLIBS} \
Packit Service ae04f2
		${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
db_test@EXEEXT@: db_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ db_test.@O@ dnstest.@O@ ${DNSLIBS} \
Packit Service ae04f2
		${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dbdiff_test@EXEEXT@: dbdiff_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dbdiff_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dbiterator_test@EXEEXT@: dbiterator_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dbiterator_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dbversion_test@EXEEXT@: dbversion_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dbversion_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dh_test@EXEEXT@: dh_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dh_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dispatch_test@EXEEXT@: dispatch_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dispatch_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dnstap_test@EXEEXT@: dnstap_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dnstap_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
dst_test@EXEEXT@: dst_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ dst_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
geoip_test@EXEEXT@: geoip_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ geoip_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
gost_test@EXEEXT@: gost_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ gost_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
keytable_test@EXEEXT@: keytable_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ keytable_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
master_test@EXEEXT@: master_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	test -d testdata || mkdir testdata
Packit Service ae04f2
	test -d testdata/master || mkdir testdata/master
Packit Service ae04f2
	${PERL} ${srcdir}/mkraw.pl < ${srcdir}/testdata/master/master12.data.in \
Packit Service ae04f2
		> testdata/master/master12.data
Packit Service ae04f2
	${PERL} ${srcdir}/mkraw.pl < ${srcdir}/testdata/master/master13.data.in \
Packit Service ae04f2
		> testdata/master/master13.data
Packit Service ae04f2
	${PERL} ${srcdir}/mkraw.pl < ${srcdir}/testdata/master/master14.data.in \
Packit Service ae04f2
		> testdata/master/master14.data
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ master_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
name_test@EXEEXT@: name_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ name_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
nsec3_test@EXEEXT@: nsec3_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ nsec3_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
peer_test@EXEEXT@: peer_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ peer_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
private_test@EXEEXT@: private_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ private_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
rbt_serialize_test@EXEEXT@: rbt_serialize_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ rbt_serialize_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
rbt_test@EXEEXT@: rbt_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ rbt_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
rdata_test@EXEEXT@: rdata_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ rdata_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
rdataset_test@EXEEXT@: rdataset_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ rdataset_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
rdatasetstats_test@EXEEXT@: rdatasetstats_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ rdatasetstats_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
resolver_test@EXEEXT@: resolver_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ resolver_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
result_test@EXEEXT@: result_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ result_test.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
rsa_test@EXEEXT@: rsa_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ rsa_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
sigs_test@EXEEXT@: sigs_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ sigs_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
time_test@EXEEXT@: time_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ time_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
tsig_test@EXEEXT@: tsig_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ tsig_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
update_test@EXEEXT@: update_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ update_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
zonemgr_test@EXEEXT@: zonemgr_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ zonemgr_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
zt_test@EXEEXT@: zt_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
Packit Service ae04f2
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
Packit Service ae04f2
		${LDFLAGS} -o $@ zt_test.@O@ dnstest.@O@ \
Packit Service ae04f2
		${DNSLIBS} ${ISCLIBS} ${LIBS}
Packit Service ae04f2
Packit Service ae04f2
unit::
Packit Service ae04f2
	sh ${top_builddir}/unit/unittest.sh
Packit Service ae04f2
Packit Service ae04f2
clean distclean::
Packit Service ae04f2
	rm -f ${TARGETS}
Packit Service ae04f2
	rm -f atf.out
Packit Service ae04f2
	rm -f testdata/master/master12.data testdata/master/master13.data \
Packit Service ae04f2
		testdata/master/master14.data
Packit Service ae04f2
	rm -f zone.bin