Makefile.in revision 33fdc680006d98cd3e25a72088a60624365001e7
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# Copyright (C) 1998, 1999 Internet Software Consortium.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Permission to use, copy, modify, and distribute this software for any
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# purpose with or without fee is hereby granted, provided that the above
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# copyright notice and this permission notice appear in all copies.
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrencesrcdir = @srcdir@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceVPATH = @srcdir@
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark Andrewstop_srcdir = @top_srcdir@
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence@BIND9_INCLUDES@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceDNSLIBS = ../../lib/dns/libdns.@A@
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian WellingtonISCLIBS = ../../lib/isc/libisc.@A@
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David LawrenceDNSDEPLIBS = ../../lib/dns/libdns.@A@
73a691c373488e4f70387a62462cd8ce0d991705David LawrenceISCDEPLIBS = ../../lib/isc/libisc.@A@
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark AndrewsLIBS = @LIBS@
72ddc4cef9c6a6de53aae530dea1ddbb90631131Mark AndrewsSUBDIRS = db dst master mem names rbt tasks timers
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington# Alphabetically
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceTARGETS = adb_test \
f96b41064bcd427d8125a096fd646c1f068d8ed7David Lawrence compress_test \
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence dispatch_tcp_test \
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence dispatch_test \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington master_test \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington mempool_test \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington rwlock_test \
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellington serial_test \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington shutdown_test \
87983da955bf63128de85d180359bdc418516c3cDavid Lawrence# Alphabetically
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafsson@BIND9_MAKE_RULES@
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafssonadb_test: adb_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafsson ${LIBTOOL} ${CC} ${CFLAGS} -o $@ adb_test.@O@ \
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafsson ${DNSLIBS} ${ISCLIBS} ${LIBS}
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafssonsdig: sdig.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
5fe21da364d4397c9a413fe689ce82dea36a7b29Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sdig.@O@ printmsg.@O@ \
5fe21da364d4397c9a413fe689ce82dea36a7b29Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
f29583dca7dc33d6fad6942a6eb4457c694a3974Brian Wellingtonnxtify: nxtify.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
f29583dca7dc33d6fad6942a6eb4457c694a3974Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nxtify.@O@ \
f29583dca7dc33d6fad6942a6eb4457c694a3974Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafssonsigner: signer.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafsson ${LIBTOOL} ${CC} ${CFLAGS} -o $@ signer.@O@ \
9719cb1205c4b30b46a98b4be7475e96befbea2bAndreas Gustafsson ${DNSLIBS} ${ISCLIBS} ${LIBS}
cf300e03de3df3ff422db922520bf07c686c86daMark Andrewskeygen: keygen.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
cf300e03de3df3ff422db922520bf07c686c86daMark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ keygen.@O@ \
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafsson ${DNSLIBS} ${ISCLIBS} ${LIBS}
cf300e03de3df3ff422db922520bf07c686c86daMark Andrewsres_test: res_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
9e560b59a722d06a62b5aed761e71fec72638a7cBrian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ res_test.@O@ \
dfceef7e68b56f6970dd2e8eea9980ad16bcc653Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
5455f30a7532738d750252c00e649890c694ee30Brian Wellingtonlex_test: lex_test.@O@ ${ISCDEPLIBS}
5455f30a7532738d750252c00e649890c694ee30Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ lex_test.@O@ \
60213f2815a7e6584a2285546d05633fa7b6f5b4Mark Andrews ${ISCLIBS} ${LIBS}
b7ce2258cab8eadbd834de8ca9d0b6f4c71f8c48Brian Wellingtonlog_test: log_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
79da8302e8d78f51db5243ba6b2f7de87e667132Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ log_test.@O@ \
94b166ffa58ef0ff263563c0550d0b30eb9f7772David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
87983da955bf63128de85d180359bdc418516c3cDavid Lawrencename_test: name_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
87983da955bf63128de85d180359bdc418516c3cDavid Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ name_test.@O@ \
87983da955bf63128de85d180359bdc418516c3cDavid Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
73a691c373488e4f70387a62462cd8ce0d991705David Lawrencesock_test: sock_test.@O@ ${ISCDEPLIBS}
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sock_test.@O@ \
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence ${ISCLIBS} ${LIBS}
b6b9d8b8434e4eaab74b69cd14fcacf448055ca5Brian Wellingtonsym_test: sym_test.@O@ ${ISCDEPLIBS}
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sym_test.@O@ \
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews ${ISCLIBS} ${LIBS}
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrewstask_test: task_test.@O@ ${ISCDEPLIBS}
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ task_test.@O@ \
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews ${ISCLIBS} ${LIBS}
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellingtonshutdown_test: shutdown_test.@O@ ${ISCDEPLIBS}
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ shutdown_test.@O@ \
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellington ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtontimer_test: timer_test.@O@ ${ISCDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ timer_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtonrbt_test: rbt_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rbt_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
71ca6e64b4d208a090d255eb64c24f945e615ea0Brian Wellingtonrdata_test: rdata_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rdata_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtonrwlock_test: rwlock_test.@O@ ${ISCDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rwlock_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtonwire_test: wire_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ wire_test.@O@ printmsg.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
e4cd5a1e5d0358abeee7618b02b4592c055d957fBrian Wellingtonmaster_test: master_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ master_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
71ca6e64b4d208a090d255eb64c24f945e615ea0Brian Wellingtondb_test: db_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
73a691c373488e4f70387a62462cd8ce0d991705David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ db_test.@O@ \
e1d05d323526e7e65df13a6d3dfbec30f6ddb500Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark Andrewscompress_test: compress_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ compress_test.@O@ \
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark Andrews ${DNSLIBS} ${ISCLIBS} ${LIBS}
c4f9e613e12f03795bee18cf2ca8e6a9d39d6468Mark Andrewsmempool_test: mempool_test.@O@ ${ISCDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ mempool_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtonserial_test: serial_test.@O@ ${ISCDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ serial_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtonzone_test: zone_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
73a691c373488e4f70387a62462cd8ce0d991705David Lawrence ${LIBTOOL} ${CC} ${CFLAGS} -o $@ zone_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtondispatch_test: dispatch_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_test.@O@ printmsg.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtondispatch_tcp_test: dispatch_tcp_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_tcp_test.@O@ printmsg.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellingtonnconf_test: nconf_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nconf_test.@O@ \
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
e4cd5a1e5d0358abeee7618b02b4592c055d957fBrian Wellingtonclean distclean::
e4cd5a1e5d0358abeee7618b02b4592c055d957fBrian Wellington rm -f ${TARGETS}
e4cd5a1e5d0358abeee7618b02b4592c055d957fBrian Wellington rm -f t_journal
e4cd5a1e5d0358abeee7618b02b4592c055d957fBrian Wellington for dir in $(SUBDIRS) ;\
1d92d8a2456b23842a649b6104c60a9d6ea25333Brian Wellington ( cd $$dir; $(MAKE) test ) ;\