Makefile.in revision 626100a123b85b3c0c234e2b90ad1c9fac78b135
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# Copyright (C) 1998, 1999 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Permission to use, copy, modify, and distribute this software for any
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# purpose with or without fee is hereby granted, provided that the above
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
15a44745412679c30a6d022733925af70a38b715David Lawrence# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
15a44745412679c30a6d022733925af70a38b715David Lawrence# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
15a44745412679c30a6d022733925af70a38b715David Lawrence# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
15a44745412679c30a6d022733925af70a38b715David Lawrence# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15a44745412679c30a6d022733925af70a38b715David Lawrence# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
15a44745412679c30a6d022733925af70a38b715David Lawrence# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
1633838b8255282d10af15c5c84cee5a51466712Bob Halleysrcdir = @srcdir@
94e25967cda41b886e33ec254b917d21df21a187Bob HalleyVPATH = @srcdir@
33f87146a856eb6c3dfd55a8ee9c173c94f82150Andreas Gustafssontop_srcdir = @top_srcdir@
d25afd60ee2286cb171c4960a790f3d7041b6f85Bob Halley@BIND9_INCLUDES@
94e25967cda41b886e33ec254b917d21df21a187Bob HalleyCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
6e3a8256eed85f6704861d269ccfb35bdaeed5ffDavid LawrenceDNSLIBS = ../../lib/dns/libdns.@A@
6e3a8256eed85f6704861d269ccfb35bdaeed5ffDavid LawrenceISCLIBS = ../../lib/isc/libisc.@A@
33f87146a856eb6c3dfd55a8ee9c173c94f82150Andreas GustafssonDNSDEPLIBS = ../../lib/dns/libdns.@A@
4b87939256ede703385e9cab92d3c58d03c31098Mark AndrewsISCDEPLIBS = ../../lib/isc/libisc.@A@
94e25967cda41b886e33ec254b917d21df21a187Bob HalleyLIBS = @LIBS@
94e25967cda41b886e33ec254b917d21df21a187Bob HalleySUBDIRS = db dst master mem names rbt tasks timers
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence# Alphabetically
6fa1cb5754695d550a58c6e8978fda65f5146af7David LawrenceTARGETS = adb_test \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence compress_test \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence dispatch_tcp_test \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence dispatch_test \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence master_test \
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrews mempool_test \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley rdata_test \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley rwlock_test \
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley serial_test \
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley shutdown_test \
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews timer_test \
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews nconf_test \
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews# Alphabetically
3740b569ae76295b941d57a724a43beb75b533baBob Halley@BIND9_MAKE_RULES@
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrenceadb_test: adb_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ adb_test.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halleysdig: sdig.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sdig.@O@ printmsg.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halleynxtify: nxtify.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nxtify.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halleysigner: signer.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ signer.@O@ \
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrencekeygen: keygen.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ keygen.@O@ \
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrenceres_test: res_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ res_test.@O@ \
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrencelex_test: lex_test.@O@ ${ISCDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ lex_test.@O@ \
3740b569ae76295b941d57a724a43beb75b533baBob Halley ${ISCLIBS} ${LIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halleylog_test: log_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ log_test.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halleyname_test: name_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ name_test.@O@ \
3740b569ae76295b941d57a724a43beb75b533baBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrencesock_test: sock_test.@O@ ${ISCDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sock_test.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${ISCLIBS} ${LIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halleysym_test: sym_test.@O@ ${ISCDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sym_test.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${ISCLIBS} ${LIBS}
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrewstask_test: task_test.@O@ ${ISCDEPLIBS}
4d6964d70a114b53a11a3bd778d9b8f5179a7934Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ task_test.@O@ \
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley ${ISCLIBS} ${LIBS}
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrewsshutdown_test: shutdown_test.@O@ ${ISCDEPLIBS}
94e25967cda41b886e33ec254b917d21df21a187Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ shutdown_test.@O@ \
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${ISCLIBS} ${LIBS}
94e25967cda41b886e33ec254b917d21df21a187Bob Halleytimer_test: timer_test.@O@ ${ISCDEPLIBS}
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ timer_test.@O@ \
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews ${ISCLIBS} ${LIBS}
94e25967cda41b886e33ec254b917d21df21a187Bob Halleyrbt_test: rbt_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
94e25967cda41b886e33ec254b917d21df21a187Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rbt_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrencerdata_test: rdata_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rdata_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrencerwlock_test: rwlock_test.@O@ ${ISCDEPLIBS}
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rwlock_test.@O@ \
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews ${ISCLIBS} ${LIBS}
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrewswire_test: wire_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ wire_test.@O@ printmsg.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrewsmaster_test: master_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ master_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrencedb_test: db_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ db_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrencecompress_test: compress_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4bed2e84a34b37259b85e5c092d51c122ef58c3cBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ compress_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
94e25967cda41b886e33ec254b917d21df21a187Bob Halleymempool_test: mempool_test.@O@ ${ISCDEPLIBS}
94e25967cda41b886e33ec254b917d21df21a187Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ mempool_test.@O@ \
94e25967cda41b886e33ec254b917d21df21a187Bob Halley ${ISCLIBS} ${LIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halleyserial_test: serial_test.@O@ ${ISCDEPLIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ serial_test.@O@ \
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews ${ISCLIBS} ${LIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halleyzone_test: zone_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ zone_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halleydispatch_test: dispatch_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_test.@O@ printmsg.@O@ \
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halleydispatch_tcp_test: dispatch_tcp_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
afdb3abb9b06ed4070ac9021f1f4427b4cb3a286Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_tcp_test.@O@ printmsg.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrencenconf_test: nconf_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nconf_test.@O@ \
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrenceclean distclean::
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews rm -f ${TARGETS}
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews rm -f t_journal
70ec7dd74103fa9e92a6d56a0e3b0fc30e17af0dMark Andrews for $dir in $(SUBDIRS) ;\
6fa1cb5754695d550a58c6e8978fda65f5146af7David Lawrence (cd $$(dir); $(MAKE) test) ;\