dc524b82fcefd08bc20319d38b21fc9d406b35deTinderbox User# Copyright (C) 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews#
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews# $Id$
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrewssrcdir = @srcdir@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsVPATH = @srcdir@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrewstop_srcdir = @top_srcdir@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews# Attempt to disable parallel processing.
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews.NOTPARALLEL:
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews.NO_PARALLEL:
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsVERSION=@BIND9_VERSION@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews@BIND9_MAKE_INCLUDES@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
e2ab8249c41ad282df94e6cfcef094a4d4dd60b8Evan HuntCINCLUDES = -I. -Iinclude -I../include ${ISC_INCLUDES} ${IRS_INCLUDES}
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsCDEFINES = -DTESTS="\"${top_builddir}/lib/irs/tests/\""
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsCFGLIBS = ../../isccfg/libisccfg.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsCFGDEPLIBS = ../../isccfg/libisccfg.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsDNSLIBS = ../../dns/libdns.@A@ @DNS_CRYPTO_LIBS@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsDNSDEPLIBS = ../../dns/libdns.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsISCLIBS = ../../isc/libisc.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsISCDEPLIBS = ../../isc/libisc.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsIRSLIBS = ../libirs.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsIRSDEPLIBS = ../libirs.@A@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsLIBS = ${IRSLIBS} ${CFGLIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@ @ATFLIBS@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsOBJS =
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsSRCS = resconf_test.c
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsSUBDIRS =
d389069a397c99347b5b281f90577e19e7662b03Mark AndrewsTARGETS = resconf_test@EXEEXT@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews@BIND9_MAKE_RULES@
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrewsresconf_test@EXEEXT@: resconf_test.@O@ ${CFGDEPLIBS} ${DNSDEPLIBS} ${IRSDEPLIBS} ${ISCDEPLIBS}
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews resconf_test.@O@ ${LIBS}
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrewsunit::
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews sh ${top_srcdir}/unit/unittest.sh
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews
d389069a397c99347b5b281f90577e19e7662b03Mark Andrewsclean distclean::
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews rm -f ${TARGETS}
d389069a397c99347b5b281f90577e19e7662b03Mark Andrews rm -f atf.out