Makefile.in revision 60650dd537ca5e2eda953914bf5715d5e8f8b872
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# Copyright (C) 1998, 1999 Internet Software Consortium.
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley#
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# Permission to use, copy, modify, and distribute this software for any
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# purpose with or without fee is hereby granted, provided that the above
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# copyright notice and this permission notice appear in all copies.
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley#
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
c46bcd7c6908745e19b0b1fe18a23bbaaee553edBob Halley# SOFTWARE.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleysrcdir = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob HalleyVPATH = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleytop_srcdir = @top_srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halley
8ddad82fa3757f6acc28686251d3c37b1a060478Bob HalleyCINCLUDES = -I../../lib/isc/unix/include \
8ddad82fa3757f6acc28686251d3c37b1a060478Bob Halley -I${srcdir}/../../lib/isc/unix/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../../lib/isc/pthreads/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../../lib/isc/include \
8ddad82fa3757f6acc28686251d3c37b1a060478Bob Halley -I../../lib/dns/include \
94167262742225f3c56fb21b3f07cdfc162b7b35Brian Wellington -I${srcdir}/../../lib/dns/include \
94167262742225f3c56fb21b3f07cdfc162b7b35Brian Wellington -I${srcdir}/../../lib/dns/sec/dst/include
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCDEFINES =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCWARNINGS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyDNSLIBS = ../../lib/dns/libdns.@A@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyISCLIBS = ../../lib/isc/libisc.@A@
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graff
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyDNSDEPLIBS = ../../lib/dns/libdns.@A@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyISCDEPLIBS = ../../lib/isc/libisc.@A@
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graff
60804eec9b2e36ead801e6ff7ad46586774ad828Michael GraffLIBS = @LIBS@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
53f06462e89cd2b5b8639a1d8c48094558974437William KingSUBDIRS = master names rbt tasks db timers mem dst
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob HalleyTARGETS = sdig \
20eb22375f52b35105fa36263f83f116b580eba8Bob Halley nxtify \
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob Halley res_test \
1292abfde97472be1625898f74b4d6f33ceafc8cBob Halley lex_test \
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence name_test \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sock_test \
c9f9dd2dd2344e45cf7b95d064338d97f08f1fb8Bob Halley sym_test \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley task_test \
9a2eda6f8e435ecf0d84502c84b1e75e2f5e9220Bob Halley shutdown_test \
3d7e707dd6059735e48d54af7dfc96927e22ca9aBob Halley timer_test \
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence rbt_test \
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence rdata_test \
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence rwlock_test \
3ff55a3111fe09f517218905248974b8319b2c59Mark Andrews wire_test \
e535faecc70425e7c9fc3faf4064792804c125a0Bob Halley master_test \
1ef8965366d91e02a4672c35a187d30aa4a4c72cMark Andrews db_test \
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graff compress_test \
706f4a2b36a4687647194df6c6cd4dc414a5238aMichael Graff mempool_test \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff dispatch_test \
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews dispatch_tcp_test \
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews serial_test
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob HalleySRCS = sdig.c \
20eb22375f52b35105fa36263f83f116b580eba8Bob Halley nxtify.c \
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob Halley res_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley lex_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley name_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley sock_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley sym_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley task_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley shutdown_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley timer_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley rbt_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley rdata_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley rwlock_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley wire_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley master_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley db_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley compress_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley mempool_test.c \
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley dispatch_test.c \
7243506104b74e1a77cbd7040ca8379ff63c816fBob Halley dispatch_tcp_test.c \
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews printmsg.c \
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews serial_test.c
56b40c0185bcbd4a04422acc1211b5e2d2ba8a3eBob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob Halleysdig: sdig.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sdig.o printmsg.o \
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
7732d70d2f0d4d69bd9acadc393dc099efc7b95bBob Halley
20eb22375f52b35105fa36263f83f116b580eba8Bob Halleynxtify: nxtify.o ${ISCDEPLIBS} ${DNSDEPLIBS}
20eb22375f52b35105fa36263f83f116b580eba8Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nxtify.o \
20eb22375f52b35105fa36263f83f116b580eba8Bob Halley ${DNSLIBS} ${ISCLIBS} ${LIBS}
20eb22375f52b35105fa36263f83f116b580eba8Bob Halley
1292abfde97472be1625898f74b4d6f33ceafc8cBob Halleyres_test: res_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ res_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
1292abfde97472be1625898f74b4d6f33ceafc8cBob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Grafflex_test: lex_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ lex_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graff
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffname_test: name_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ name_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffsock_test: sock_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sock_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffsym_test: sym_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sym_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Grafftask_test: task_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ task_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
c9f9dd2dd2344e45cf7b95d064338d97f08f1fb8Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffshutdown_test: shutdown_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ shutdown_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Grafftimer_test: timer_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ timer_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
9a2eda6f8e435ecf0d84502c84b1e75e2f5e9220Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffrbt_test: rbt_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rbt_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffrdata_test: rdata_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rdata_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffrwlock_test: rwlock_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rwlock_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
7cde03651858b494a50ad13d4587c865e9e27868Michael Graffwire_test: wire_test.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
7cde03651858b494a50ad13d4587c865e9e27868Michael Graff ${LIBTOOL} ${CC} ${CFLAGS} -o $@ wire_test.o printmsg.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffmaster_test: master_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ master_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
9e4292a2b46bc30568bd1eb204761f7134609405David Lawrence
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffdb_test: db_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ db_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
3ff55a3111fe09f517218905248974b8319b2c59Mark Andrews
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffcompress_test: compress_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ compress_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
e535faecc70425e7c9fc3faf4064792804c125a0Bob Halley
60804eec9b2e36ead801e6ff7ad46586774ad828Michael Graffmempool_test: mempool_test.o ${ISCDEPLIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${CC} ${CFLAGS} -o $@ mempool_test.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${ISCLIBS} ${LIBS}
1ef8965366d91e02a4672c35a187d30aa4a4c72cMark Andrews
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrewsserial_test: serial_test.o ${ISCDEPLIBS}
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews ${LIBTOOL} ${CC} ${CFLAGS} -o $@ zone_test.o \
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews ${ISCLIBS} ${LIBS}
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews
7cde03651858b494a50ad13d4587c865e9e27868Michael Graffdispatch_test: dispatch_test.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
7cde03651858b494a50ad13d4587c865e9e27868Michael Graff ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_test.o printmsg.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff
adde4612541b23d82b00741563ef84cb5192df8cMichael Graffdispatch_tcp_test: dispatch_tcp_test.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_tcp_test.o printmsg.o \
adde4612541b23d82b00741563ef84cb5192df8cMichael Graff ${DNSLIBS} ${ISCLIBS} ${LIBS}
706f4a2b36a4687647194df6c6cd4dc414a5238aMichael Graff
3d7e707dd6059735e48d54af7dfc96927e22ca9aBob Halleyclean distclean::
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -f ${TARGETS}
44aae046c38e796e581110b7ecdf4478167d684dBob Halley rm -f t_journal