Makefile.in revision 9ecedaea58defeadaf54dfc1211270653e0657ce
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley# Copyright (C) 1998-2017 Internet Systems Consortium, Inc. ("ISC")
9d5ed744c46ef241b9d3ba134bf3155e0b62ac9eAutomatic Updater#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# License, v. 2.0. If a copy of the MPL was not distributed with this
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# file, You can obtain one at http://mozilla.org/MPL/2.0/.
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halleysrcdir = @srcdir@
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceVPATH = @srcdir@
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewstop_srcdir = @top_srcdir@
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews@BIND9_MAKE_INCLUDES@
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
dafcb997e390efa4423883dafd100c975c4095d6Mark AndrewsCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} @DST_OPENSSL_INC@ \
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ${ISCCFG_INCLUDES} ${LWRES_INCLUDES} ${OMAPI_INCLUDES}
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob HalleyCDEFINES = @CRYPTO@
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob HalleyCWARNINGS =
e4d304b70b81ca9956c2eff7c24aacf4dd00266eEvan HuntBACKTRACECFLAGS = @BACKTRACECFLAGS@
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
e419f613d8591885df608cb73065921be07dd12eBob HalleyDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
e419f613d8591885df608cb73065921be07dd12eBob HalleyISCLIBS = ../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ @ISC_OPENSSL_LIBS@
fca5f81ad69098ea8abba130c7f841c951ef91c2Bob HalleyISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
519b239fc4ef1e070e2da182a4ea559ae0152151Mark AndrewsLWRESLIBS = ../../lib/lwres/liblwres.@A@
e419f613d8591885df608cb73065921be07dd12eBob Halley
e419f613d8591885df608cb73065921be07dd12eBob HalleyDNSDEPLIBS = ../../lib/dns/libdns.@A@
394f4aec2189750d7f861d00f97fe28ffcd9f659Mark AndrewsISCDEPLIBS = ../../lib/isc/libisc.@A@
9695ae1c24b168996e3a267855dc754971ccb32cBob HalleyISCDEPNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob HalleyISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark AndrewsLWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
1c776a2909632bc755f3fddd3b53addd792ab4d0Brian Wellington
e419f613d8591885df608cb73065921be07dd12eBob HalleyLIBS = @LIBS@
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas GustafssonSUBDIRS = atomic db dst master mem hashes names \
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellington net rbt resolver sockaddr tasks timers system \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews @PKCS11_TOOLS@
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Test programs that are built by default:
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington# cfg_test is needed for regenerating doc/misc/options
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# makejournal is needed by system tests
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington# Alphabetically
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid LawrenceTARGETS = @XTARGETS@ cfg_test@EXEEXT@ makejournal@EXEEXT@ \
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence wire_test@EXEEXT@
e419f613d8591885df608cb73065921be07dd12eBob Halley
e419f613d8591885df608cb73065921be07dd12eBob Halley# All the other tests are optional and not built by default.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Alphabetically
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark AndrewsXTARGETS = adb_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews byaddr_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews backtrace_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews backtrace_test_nosymtbl@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews byname_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews db_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews entropy_test@EXEEXT@ \
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updater entropy2_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews gxba_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews gxbn_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews hash_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews fsaccess_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews inter_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews keyboard_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews lex_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews lfsr_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews log_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews lwres_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews lwresconf_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews master_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews mempool_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews name_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews nsecify@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ratelimiter_test@EXEEXT@ \
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews rbt_test@EXEEXT@ \
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews rdata_test@EXEEXT@ \
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews rwlock_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews serial_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews shutdown_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews sig0_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews sock_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews sym_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews task_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews timer_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews wire_test@EXEEXT@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews zone_test@EXEEXT@
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David Lawrence# Alphabetically
ff30cdeb783ca7ffe69b222c56197828e882c229Mark AndrewsSRCS = cfg_test.c makejournal.c wire_test.c ${XSRCS}
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark AndrewsXSRCS = adb_test.c \
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews byaddr_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews backtrace_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews byname_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews db_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews entropy_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews entropy2_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews gxba_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews gxbn_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews hash_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews fsaccess_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews inter_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews keyboard_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews lex_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews lfsr_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews log_test.c \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews lwres_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews lwresconf_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews master_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews mempool_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews name_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews nsecify.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ratelimiter_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews rbt_test.c \
50105afc551903541608b11851d73278b23579a3Mark Andrews rdata_test.c \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews rwlock_test.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley serial_test.c \
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews shutdown_test.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley sig0_test.c \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence sock_test.c \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews sym_test.c \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence task_test.c \
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington timer_test.c \
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews wire_test.c \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence zone_test.c
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington@BIND9_MAKE_RULES@
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence# disable optimization for backtrace test to get the expected result
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark AndrewsBTTEST_CFLAGS = ${BACKTRACECFLAGS} ${EXT_CFLAGS} ${ALL_CPPFLAGS} -g \
50105afc551903541608b11851d73278b23579a3Mark Andrews ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellingtonall_tests: ${XTARGETS}
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrenceadb_test@EXEEXT@: adb_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ adb_test.@O@ \
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrencebacktrace_test_nosymtbl@EXEEXT@: ${srcdir}/backtrace_test.c ${ISCDEPLIBS}
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${BTTEST_CFLAGS} ${LDFLAGS} -o $@ \
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington ${srcdir}/backtrace_test.c ${ISCLIBS} ${LIBS}
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellingtonbacktrace_test@EXEEXT@: ${srcdir}/backtrace_test.c backtrace_test_nosymtbl@EXEEXT@
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington #first step: create a first symbol table
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence rm -f symtbl.c
76c8294c81fb48b1da6e1fc5b83322a4cedb8e58Andreas Gustafsson if test X${MKSYMTBL_PROGRAM} != X; then \
76c8294c81fb48b1da6e1fc5b83322a4cedb8e58Andreas Gustafsson ${MKSYMTBL_PROGRAM} ${top_srcdir}/util/mksymtbl.pl \
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafsson backtrace_test_nosymtbl@EXEEXT@; else \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews cp ${top_srcdir}/lib/isc/backtrace-emptytbl.c symtbl.c; fi
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews #second step: build a binary with the first symbol table
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${BTTEST_CFLAGS} ${LDFLAGS} \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -o $@0 ${srcdir}/backtrace_test.c symtbl.c \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${ISCNOSYMLIBS} ${LIBS}
50105afc551903541608b11851d73278b23579a3Mark Andrews rm -f symtbl.c
50105afc551903541608b11851d73278b23579a3Mark Andrews #third step: create a second symbol table
50105afc551903541608b11851d73278b23579a3Mark Andrews if test X${MKSYMTBL_PROGRAM} != X; then \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${MKSYMTBL_PROGRAM} ${top_srcdir}/util/mksymtbl.pl $@0; else \
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews cp ${top_srcdir}/lib/isc/backtrace-emptytbl.c symtbl.c; fi
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews #fourth step: build the final binary
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews rm -f $@0
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${BTTEST_CFLAGS} ${LDFLAGS} \
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews -o $@ ${srcdir}/backtrace_test.c symtbl.c ${ISCNOSYMLIBS} ${LIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews rm -f symtbl.c
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsnsecify@EXEEXT@: nsecify.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ nsecify.@O@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsbyaddr_test@EXEEXT@: byaddr_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ byaddr_test.@O@ \
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsbyname_test@EXEEXT@: byname_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ byname_test.@O@ \
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewslex_test@EXEEXT@: lex_test.@O@ ${ISCDEPLIBS}
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lex_test.@O@ \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley ${ISCLIBS} ${LIBS}
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleylfsr_test@EXEEXT@: lfsr_test.@O@ ${ISCDEPLIBS}
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lfsr_test.@O@ \
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington ${ISCLIBS} ${LIBS}
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleylog_test@EXEEXT@: log_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ log_test.@O@ \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonname_test@EXEEXT@: name_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ name_test.@O@ \
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graffhash_test@EXEEXT@: hash_test.@O@ ${ISCDEPLIBS}
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ hash_test.@O@ \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley ${ISCLIBS} ${LIBS}
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyentropy_test@EXEEXT@: entropy_test.@O@ ${ISCDEPLIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ entropy_test.@O@ \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${ISCLIBS} ${LIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsentropy2_test@EXEEXT@: entropy2_test.@O@ ${ISCDEPLIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ entropy2_test.@O@ \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${ISCLIBS} ${LIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewssock_test@EXEEXT@: sock_test.@O@ ${ISCDEPLIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ sock_test.@O@ \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${ISCLIBS} ${LIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewssym_test@EXEEXT@: sym_test.@O@ ${ISCDEPLIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ sym_test.@O@ \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ${ISCLIBS} ${LIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewstask_test@EXEEXT@: task_test.@O@ ${ISCDEPLIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ task_test.@O@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${ISCLIBS} ${LIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsshutdown_test@EXEEXT@: shutdown_test.@O@ ${ISCDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ shutdown_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewstimer_test@EXEEXT@: timer_test.@O@ ${ISCDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ timer_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewsratelimiter_test@EXEEXT@: ratelimiter_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ratelimiter_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewsrbt_test@EXEEXT@: rbt_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ rbt_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewsrdata_test@EXEEXT@: rdata_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ rdata_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewsrwlock_test@EXEEXT@: rwlock_test.@O@ ${ISCDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ rwlock_test.@O@ \
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewswire_test@EXEEXT@: wire_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ wire_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsmaster_test@EXEEXT@: master_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ master_test.@O@ \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrewsdb_test@EXEEXT@: db_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ db_test.@O@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsmempool_test@EXEEXT@: mempool_test.@O@ ${ISCDEPLIBS}
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ mempool_test.@O@ \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ${ISCLIBS} ${LIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonserial_test@EXEEXT@: serial_test.@O@ ${ISCDEPLIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ serial_test.@O@ \
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${ISCLIBS} ${LIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewszone_test@EXEEXT@: zone_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zone_test.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonfsaccess_test@EXEEXT@: fsaccess_test.@O@ ${ISCDEPLIBS}
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ fsaccess_test.@O@ \
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${ISCLIBS} ${LIBS}
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtoninter_test@EXEEXT@: inter_test.@O@ ${ISCDEPLIBS}
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ inter_test.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${ISCLIBS} ${LIBS}
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrewskeyboard_test@EXEEXT@: keyboard_test.@O@ ${ISCDEPLIBS}
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ keyboard_test.@O@ \
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews ${ISCLIBS} ${LIBS}
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrewslwresconf_test@EXEEXT@: lwresconf_test.@O@ ${ISCDEPLIBS} ${LWRESDEPLIBS}
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lwresconf_test.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${LWRESLIBS} ${ISCLIBS} ${LIBS}
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonlwres_test@EXEEXT@: lwres_test.@O@ ${ISCDEPLIBS} ${LWRESDEPLIBS}
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lwres_test.@O@ \
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington ${LWRESLIBS} ${ISCLIBS} ${LIBS}
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtongxbn_test@EXEEXT@: gxbn_test.@O@ ${LWRESDEPLIBS}
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ gxbn_test.@O@ \
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews ${LWRESLIBS} ${ISCLIBS} ${LIBS}
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssongxba_test@EXEEXT@: gxba_test.@O@ ${LWRESDEPLIBS}
5c6117688525d0e8d247f50c63364f66bd8d4185Brian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ gxba_test.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${LWRESLIBS} ${ISCLIBS} ${LIBS}
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonsig0_test@EXEEXT@: sig0_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ sig0_test.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtoncfg_test@EXEEXT@: cfg_test.@O@ ${ISCCFGDEPLIBS} ${ISCDEPLIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${LIBTOOL_MODE_LINK} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ cfg_test.@O@ \
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS} ${LIBS}
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonmakejournal@EXEEXT@: makejournal.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
17a3fcecd069130a5f318685493b0db5639a77c9Brian Wellington ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ makejournal.@O@ \
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson ${DNSLIBS} ${ISCLIBS} ${LIBS}
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafsson
18b7133679efa8f60fd4e396c628576f3f416b3eBrian Wellingtondistclean::
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington rm -f headerdep_test.sh
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellingtonclean distclean::
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington rm -f ${TARGETS} ${XTARGETS}
17a3fcecd069130a5f318685493b0db5639a77c9Brian Wellington rm -f t_journal
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews rm -f backtrace_test_symtbl.c
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewscheck: test
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellingtontest:
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellington @for dir in $(SUBDIRS) ;\
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews do \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ( cd $$dir; $(MAKE) test ) ;\
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews done
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews