Makefile.in revision a27fe4c990f96bd792f2a07ca4d38c78d5b9df2c
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater# Copyright (C) 1998-2003 Internet Software Consortium.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Permission to use, copy, modify, and/or distribute this software for any
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# purpose with or without fee is hereby granted, provided that the above
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# copyright notice and this permission notice appear in all copies.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# $Id: Makefile.in,v 1.136 2009/09/01 18:40:25 jinmei Exp $
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewssrcdir = @srcdir@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsVPATH = @srcdir@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewstop_srcdir = @top_srcdir@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews@BIND9_MAKE_INCLUDES@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LWRES_INCLUDES} ${OMAPI_INCLUDES}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCDEFINES = -DBIND9
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCWARNINGS =
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsISCLIBS = ../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ @DNS_CRYPTO_LIBS@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsLWRESLIBS = ../../lib/lwres/liblwres.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsDNSDEPLIBS = ../../lib/dns/libdns.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsISCDEPLIBS = ../../lib/isc/libisc.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsISCDEPNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsLWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsLIBS = @LIBS@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsSUBDIRS = db dst master mem names net rbt sockaddr tasks timers system
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Test programs that are built by default:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# cfg_test is needed for regenerating doc/misc/options
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Alphabetically
e2e4d321999340802f77adaacd19c797d04b4b95Automatic UpdaterTARGETS = cfg_test@EXEEXT@
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# All the other tests are optional and not built by default.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater# Alphabetically
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsXTARGETS = adb_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews byaddr_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews backtrace_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews backtrace_test_nosymtbl@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews byname_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews compress_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews db_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews entropy_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews entropy2_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews gxba_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews gxbn_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews hash_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews fsaccess_test@EXEEXT@ \
f6da30bb5447c23d880b09f601441e70c5313557Mark Andrews inter_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews keyboard_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lex_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lfsr_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews log_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lwres_test@EXEEXT@ \
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater lwresconf_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews master_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews mempool_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews name_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews nsecify@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ratelimiter_test@EXEEXT@ \
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews rbt_test@EXEEXT@ \
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews rdata_test@EXEEXT@ \
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews rwlock_test@EXEEXT@ \
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews serial_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews shutdown_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sig0_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sock_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sym_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews task_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews timer_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews wire_test@EXEEXT@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews zone_test@EXEEXT@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Alphabetically
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsSRCS = cfg_test.c ${XSRCS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsXSRCS = adb_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews byaddr_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews backtrace_test.c \
9fbbfb5757a1e3e86d7dea62c4e63ffc2303ca2bAutomatic Updater byname_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews compress_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews db_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews entropy_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews entropy2_test.c \
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews gxba_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews gxbn_test.c \
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews hash_test.c \
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews fsaccess_test.c \
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews inter_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews keyboard_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lex_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lfsr_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews log_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lwres_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews lwresconf_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews master_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews mempool_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews name_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews nsecify.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews printmsg.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ratelimiter_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rbt_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rdata_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rwlock_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews serial_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews shutdown_test.c \
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews sig0_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sock_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sym_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews task_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews timer_test.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews wire_test.c \
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews zone_test.c
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews@BIND9_MAKE_RULES@
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews# disable optimization for backtrace test to get the expected result
a057e8e33baa5fa369be28a9680585200ce3ff73Mark AndrewsBTTEST_CFLAGS = ${EXT_CFLAGS} ${ALL_CPPFLAGS} -g ${ALWAYS_WARNINGS} \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${STD_CWARNINGS} ${CWARNINGS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsall_tests: ${XTARGETS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsadb_test@EXEEXT@: adb_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ adb_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsbacktrace_test_nosymtbl@EXEEXT@: backtrace_test.c ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${BTTEST_CFLAGS} ${LDFLAGS} -o $@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews backtrace_test.c ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsbacktrace_test@EXEEXT@: backtrace_test_nosymtbl@EXEEXT@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews #first step: create a first symbol table
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rm -f symtbl.c
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews if test X${MKSYMTBL_PROGRAM} != X; then \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${MKSYMTBL_PROGRAM} ${top_srcdir}/util/mksymtbl.pl $<; else \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews cp ${top_srcdir}/lib/isc/backtrace-emptytbl.c symtbl.c; fi
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews #second step: build a binary with the first symbol table
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${BTTEST_CFLAGS} ${LDFLAGS} \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -o $@0 backtrace_test.c symtbl.c \
bf056b7184b38281c1b0bf0cf21b5982fa1a4edaMark Andrews ${ISCNOSYMLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rm -f symtbl.c
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews #third step: create a second symbol table
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews if test X${MKSYMTBL_PROGRAM} != X; then \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${MKSYMTBL_PROGRAM} ${top_srcdir}/util/mksymtbl.pl $@0; else \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews cp ${top_srcdir}/lib/isc/backtrace-emptytbl.c symtbl.c; fi
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews #fourth step: build the final binary
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rm -f $@0
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${BTTEST_CFLAGS} ${LDFLAGS} \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -o $@ backtrace_test.c symtbl.c ${ISCNOSYMLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews rm -f symtbl.c
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsnsecify@EXEEXT@: nsecify.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ nsecify.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrewsbyaddr_test@EXEEXT@: byaddr_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ byaddr_test.@O@ \
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrewsbyname_test@EXEEXT@: byname_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ byname_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewslex_test@EXEEXT@: lex_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lex_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewslfsr_test@EXEEXT@: lfsr_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lfsr_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewslog_test@EXEEXT@: log_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ log_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrewsname_test@EXEEXT@: name_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ name_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updaterhash_test@EXEEXT@: hash_test.@O@ ${ISCDEPLIBS}
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ hash_test.@O@ \
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ${ISCLIBS} ${LIBS}
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updaterentropy_test@EXEEXT@: entropy_test.@O@ ${ISCDEPLIBS}
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ entropy_test.@O@ \
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsentropy2_test@EXEEXT@: entropy2_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ entropy2_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewssock_test@EXEEXT@: sock_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ sock_test.@O@ \
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewssym_test@EXEEXT@: sym_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ sym_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewstask_test@EXEEXT@: task_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ task_test.@O@ \
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews ${ISCLIBS} ${LIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrewsshutdown_test@EXEEXT@: shutdown_test.@O@ ${ISCDEPLIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ shutdown_test.@O@ \
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews ${ISCLIBS} ${LIBS}
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrewstimer_test@EXEEXT@: timer_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ timer_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsratelimiter_test@EXEEXT@: ratelimiter_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ratelimiter_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsrbt_test@EXEEXT@: rbt_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ rbt_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsrdata_test@EXEEXT@: rdata_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ rdata_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsrwlock_test@EXEEXT@: rwlock_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ rwlock_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewswire_test@EXEEXT@: wire_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ wire_test.@O@ printmsg.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsmaster_test@EXEEXT@: master_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ master_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsdb_test@EXEEXT@: db_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ db_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewscompress_test@EXEEXT@: compress_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ compress_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsmempool_test@EXEEXT@: mempool_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ mempool_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsserial_test@EXEEXT@: serial_test.@O@ ${ISCDEPLIBS}
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ serial_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewszone_test@EXEEXT@: zone_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zone_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updaterfsaccess_test@EXEEXT@: fsaccess_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ fsaccess_test.@O@ \
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinter_test@EXEEXT@: inter_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ inter_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updaterkeyboard_test@EXEEXT@: keyboard_test.@O@ ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ keyboard_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewslwresconf_test@EXEEXT@: lwresconf_test.@O@ ${ISCDEPLIBS} ${LWRESDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lwresconf_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LWRESLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewslwres_test@EXEEXT@: lwres_test.@O@ ${ISCDEPLIBS} ${LWRESDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lwres_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LWRESLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsgxbn_test@EXEEXT@: gxbn_test.@O@ ${LWRESDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ gxbn_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LWRESLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrewsgxba_test@EXEEXT@: gxba_test.@O@ ${LWRESDEPLIBS}
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ gxba_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LWRESLIBS} ${ISCLIBS} ${LIBS}
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrews
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrewssig0_test@EXEEXT@: sig0_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ sig0_test.@O@ \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewscfg_test@EXEEXT@: cfg_test.@O@ ${ISCCFGDEPLIBS} ${ISCDEPLIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ${LIBTOOL_MODE_LINK} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ cfg_test.@O@ \
${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS} ${LIBS}
distclean::
rm -f headerdep_test.sh
clean distclean::
rm -f ${TARGETS} ${XTARGETS}
rm -f t_journal
rm -f backtrace_test_symtbl.c
check: test
test:
@for dir in $(SUBDIRS) ;\
do \
( cd $$dir; $(MAKE) test ) ;\
done