Makefile.in revision 20eb22375f52b35105fa36263f83f116b580eba8
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington# Copyright (C) 1998, 1999 Internet Software Consortium.
69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Permission to use, copy, modify, and distribute this software for any
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington# purpose with or without fee is hereby granted, provided that the above
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington# copyright notice and this permission notice appear in all copies.
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington#
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington# 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
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtonsrcdir = @srcdir@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonVPATH = @srcdir@
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrewstop_srcdir = @top_srcdir@
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinCINCLUDES = -I../../lib/isc/unix/include \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington -I${srcdir}/../../lib/isc/unix/include \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington -I${srcdir}/../../lib/isc/pthreads/include \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington -I${srcdir}/../../lib/isc/include \
f4b4e7c16211137332e50bcad3fef0d15639a4f1Brian Wellington -I../../lib/dns/include \
f4b4e7c16211137332e50bcad3fef0d15639a4f1Brian Wellington -I${srcdir}/../../lib/dns/include
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonCDEFINES =
77ac297199fc44809d9628558223627c10ae3f31Brian WellingtonCWARNINGS =
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonDNSLIBS = ../../lib/dns/libdns.@A@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonISCLIBS = ../../lib/isc/libisc.@A@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonDNSDEPLIBS = ../../lib/dns/libdns.@A@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonISCDEPLIBS = ../../lib/isc/libisc.@A@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
229ce407c359b0b641759ba1fc4a5fa2054a44daBrian WellingtonLIBS = @LIBS@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian WellingtonSUBDIRS = master names rbt tasks db timers mem dst
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonTARGETS = sdig \
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington nxtify \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington res_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington lex_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington name_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington sock_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington sym_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington task_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington shutdown_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington timer_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington rbt_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington rdata_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington rwlock_test \
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington wire_test \
75e1e12f48012505699f504cfa364260cb2bc1afBrian Wellington master_test \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington db_test \
a4c351fcef77fb332e3cb20253fb96556a414a17Brian Wellington compress_test \
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington mempool_test \
e2fd12f3a020ca8c5de168a44fb72e339cdaa3e9Brian Wellington dispatch_test \
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington dispatch_tcp_test
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian WellingtonSRCS = sdig.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington nxtify.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington res_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington lex_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington name_test.c \
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington sock_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington sym_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington task_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington shutdown_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington timer_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington rbt_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington rdata_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington rwlock_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington wire_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington master_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington db_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington compress_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington mempool_test.c \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington dispatch_test.c \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington dispatch_tcp_test.c \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington printmsg.c
229ce407c359b0b641759ba1fc4a5fa2054a44daBrian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington@BIND9_MAKE_RULES@
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtonsdig: sdig.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sdig.o printmsg.o \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellingtonnxtify: nxtify.o ${ISCDEPLIBS} ${DNSDEPLIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nxtify.o \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellingtonres_test: res_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ res_test.o \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellingtonlex_test: lex_test.o ${ISCDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ lex_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtonname_test: name_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ name_test.o \
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David Lawrence ${DNSLIBS} ${ISCLIBS} ${LIBS}
571688b02f955f6304649866e768b1f81739cbedBrian Wellington
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinsock_test: sock_test.o ${ISCDEPLIBS}
571688b02f955f6304649866e768b1f81739cbedBrian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sock_test.o \
571688b02f955f6304649866e768b1f81739cbedBrian Wellington ${ISCLIBS} ${LIBS}
571688b02f955f6304649866e768b1f81739cbedBrian Wellington
571688b02f955f6304649866e768b1f81739cbedBrian Wellingtonsym_test: sym_test.o ${ISCDEPLIBS}
571688b02f955f6304649866e768b1f81739cbedBrian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ sym_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtontask_test: task_test.o ${ISCDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ task_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${ISCLIBS} ${LIBS}
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtonshutdown_test: shutdown_test.o ${ISCDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ shutdown_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtontimer_test: timer_test.o ${ISCDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ timer_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellingtonrbt_test: rbt_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rbt_test.o \
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington
e2fd12f3a020ca8c5de168a44fb72e339cdaa3e9Brian Wellingtonrdata_test: rdata_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rdata_test.o \
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellingtonrwlock_test: rwlock_test.o ${ISCDEPLIBS}
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ rwlock_test.o \
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${ISCLIBS} ${LIBS}
e2fd12f3a020ca8c5de168a44fb72e339cdaa3e9Brian Wellington
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellingtonwire_test: wire_test.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
23f64ea0dcd7f5b7094ae6ade2a002fb7dde1466Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ wire_test.o printmsg.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
77ac297199fc44809d9628558223627c10ae3f31Brian Wellingtonmaster_test: master_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ master_test.o \
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
77ac297199fc44809d9628558223627c10ae3f31Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtondb_test: db_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ db_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtoncompress_test: compress_test.o ${ISCDEPLIBS} ${DNSDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ compress_test.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellingtonmempool_test: mempool_test.o ${ISCDEPLIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ mempool_test.o \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtondispatch_test: dispatch_test.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_test.o printmsg.o \
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellingtondispatch_tcp_test: dispatch_tcp_test.o printmsg.o ${ISCDEPLIBS} ${DNSDEPLIBS}
033ba09d6df0ac92a736a480b9c3b164b61dccb2Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dispatch_tcp_test.o printmsg.o \
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington ${DNSLIBS} ${ISCLIBS} ${LIBS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellingtonclean distclean::
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington rm -f ${TARGETS}
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington rm -f t_journal
60b90a37f41ab7607762d0e9791e79bd19eae4f4Brian Wellington