1# Copyright (C) 2011, 2012 Internet Systems Consortium, Inc. ("ISC") 2# 3# Permission to use, copy, modify, and/or distribute this software for any 4# purpose with or without fee is hereby granted, provided that the above 5# copyright notice and this permission notice appear in all copies. 6# 7# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 8# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 9# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 10# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 11# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 12# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 13# PERFORMANCE OF THIS SOFTWARE. 14 15# Id: Makefile.in,v 1.3 2011/02/03 12:18:10 tbox Exp 16 17srcdir = @srcdir@ 18VPATH = @srcdir@ 19top_srcdir = @top_srcdir@ 20 21@BIND9_MAKE_INCLUDES@ 22 23CINCLUDES = ${TEST_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} 24 25CDEFINES = 26CWARNINGS = 27 28# Note that we do not want to use libtool for libt_api 29DNSLIBS = ../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@ 30ISCLIBS = ../../../lib/isc/libisc.@A@ 31 32DNSDEPLIBS = ../../../lib/dns/libdns.@A@ 33ISCDEPLIBS = ../../../lib/isc/libisc.@A@ 34 35DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS} 36 37LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@ 38 39TLIB = ../../../lib/tests/libt_api.@A@ 40 41TARGETS = t_resolver@EXEEXT@ 42 43SRCS = t_resolver.c 44 45@BIND9_MAKE_RULES@ 46 47t_resolver@EXEEXT@: t_resolver.@O@ ${DEPLIBS} ${TLIB} 48 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ t_resolver.@O@ ${TLIB} ${LIBS} 49 50test: t_resolver@EXEEXT@ 51 -@./t_resolver@EXEEXT@ -c @top_srcdir@/t_config -b @srcdir@ -a 52 53testhelp: 54 @./t_resolver@EXEEXT@ -h 55 56clean distclean:: 57 rm -f ${TARGETS} 58