Makefile.in revision 5f121757c60f158ebdb69db074869ea91e37c863
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence# Copyright (C) 1998, 1999 Internet Software Consortium.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
07dcadc6e24f4572f2b7d7cae7d47d0f5256d129Andreas Gustafsson# Permission to use, copy, modify, and distribute this software for any
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence# purpose with or without fee is hereby granted, provided that the above
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence# copyright notice and this permission notice appear in all copies.
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence#
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
4cd765650776027d05fe7fca248478918e02e63bDavid 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
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# SOFTWARE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrencesrcdir = @srcdir@
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceVPATH = @srcdir@
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeintop_srcdir = @top_srcdir@
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein@BIND9_INCLUDES@
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceCDEFINES =
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceCWARNINGS =
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceDNSLIBS = ../../lib/dns/libdns.@A@
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceISCLIBS = ../../lib/isc/libisc.@A@
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceDNSDEPLIBS = ../../lib/dns/libdns.@A@
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceISCDEPLIBS = ../../lib/isc/libisc.@A@
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceLIBS = @LIBS@
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceSUBDIRS = db dst master mem names rbt tasks timers
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence# Alphabetically
4cd765650776027d05fe7fca248478918e02e63bDavid LawrenceTARGETS = adb_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence compress_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence db_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence dispatch_tcp_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence dispatch_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence keygen \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence lex_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence log_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence master_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence mempool_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence name_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence nxtify \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence rbt_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence rdata_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence res_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence rwlock_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence sdig \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence serial_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence shutdown_test \
4cd765650776027d05fe7fca248478918e02e63bDavid Lawrence signer \
sock_test \
sym_test \
task_test \
timer_test \
wire_test \
nconf_test \
zone_test
# Alphabetically
SRCS = adb_test.c \
compress_test.c \
db_test.c \
dispatch_tcp_test.c \
dispatch_test.c \
keygen.c \
lex_test.c \
log_test.c \
master_test.c \
mempool_test.c \
name_test.c \
nxtify.c \
printmsg.c \
rbt_test.c \
rdata_test.c \
res_test.c \
rwlock_test.c \
sdig.c \
serial_test.c \
shutdown_test.c \
signer.c \
sock_test.c \
sym_test.c \
task_test.c \
timer_test.c \
wire_test.c \
nconf_test.c \
zone_test.c
@BIND9_MAKE_RULES@
adb_test: adb_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ adb_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
sdig: sdig.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ sdig.@O@ printmsg.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
nxtify: nxtify.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ nxtify.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
signer: signer.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ signer.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
keygen: keygen.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ keygen.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
res_test: res_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ res_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
lex_test: lex_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ lex_test.@O@ \
${ISCLIBS} ${LIBS}
log_test: log_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ log_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
name_test: name_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ name_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
sock_test: sock_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ sock_test.@O@ \
${ISCLIBS} ${LIBS}
sym_test: sym_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ sym_test.@O@ \
${ISCLIBS} ${LIBS}
task_test: task_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ task_test.@O@ \
${ISCLIBS} ${LIBS}
shutdown_test: shutdown_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ shutdown_test.@O@ \
${ISCLIBS} ${LIBS}
timer_test: timer_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ timer_test.@O@ \
${ISCLIBS} ${LIBS}
rbt_test: rbt_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ rbt_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
rdata_test: rdata_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ rdata_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
rwlock_test: rwlock_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ rwlock_test.@O@ \
${ISCLIBS} ${LIBS}
wire_test: wire_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ wire_test.@O@ printmsg.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
master_test: master_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ master_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
db_test: db_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ db_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
compress_test: compress_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ compress_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
mempool_test: mempool_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ mempool_test.@O@ \
${ISCLIBS} ${LIBS}
serial_test: serial_test.@O@ ${ISCDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ serial_test.@O@ \
${ISCLIBS} ${LIBS}
zone_test: zone_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ zone_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
dispatch_test: dispatch_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_test.@O@ printmsg.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
dispatch_tcp_test: dispatch_tcp_test.@O@ printmsg.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_tcp_test.@O@ printmsg.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
nconf_test: nconf_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL} ${CC} ${CFLAGS} -o $@ nconf_test.@O@ \
${DNSLIBS} ${ISCLIBS} ${LIBS}
clean distclean::
rm -f ${TARGETS}
rm -f t_journal
test:
for $(dir) in $(SUBDIRS) ;\
do \
(cd $$(dir); $(MAKE) test) ;\
done