Makefile.in revision 9c3531d72aeaad6c5f01efe6a1c82023e1379e4d
ebbfa36a628b935891b2f8a2c5936aef48b87151Michael Sawyer# Copyright (C) 2000 Internet Software Consortium.
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer#
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# Permission to use, copy, modify, and distribute this software for any
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# purpose with or without fee is hereby granted, provided that the above
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# copyright notice and this permission notice appear in all copies.
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer#
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer# SOFTWARE.
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# $Id: Makefile.in,v 1.10 2000/06/22 21:48:59 tale Exp $
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyersrcdir = @srcdir@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerVPATH = @srcdir@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyertop_srcdir = @top_srcdir@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer@BIND9_VERSION@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer@BIND9_INCLUDES@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
e3db271c8d6ae457e7b0de509f2e3d9f2af587b9David LawrenceCINCLUDES = -I${srcdir}/include ${DNS_INCLUDES} ${ISC_INCLUDES}
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerCDEFINES =
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerCWARNINGS =
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerISCLIBS = ../../lib/isc/libisc.@A@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerDNSDEPLIBS = ../../lib/dns/libdns.@A@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerISCDEPLIBS = ../../lib/isc/libisc.@A@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
14dd2c028a52cb66dc86b45896a68462d006f88aDavid LawrenceDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
14dd2c028a52cb66dc86b45896a68462d006f88aDavid LawrenceLIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
7e2a4f6ad6c18a2a31cdc1daa10700055626cb2eMichael SawyerSUBDIRS =
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
f8fec75ee8f429821137aee090f56ab678404a56Michael SawyerTARGETS = dig host nslookup
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
f8fec75ee8f429821137aee090f56ab678404a56Michael SawyerOBJS = dig.@O@ dighost.@O@ host.@O@ nslookup.@O@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael SawyerUOBJS =
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
f8fec75ee8f429821137aee090f56ab678404a56Michael SawyerSRCS = dig.c dighost.c host.c nslookup.c
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer@BIND9_MAKE_RULES@
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
ebbfa36a628b935891b2f8a2c5936aef48b87151Michael Sawyerdig: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
ebbfa36a628b935891b2f8a2c5936aef48b87151Michael Sawyer ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dig.@O@ dighost.@O@ ${UOBJS} ${LIBS}
ebbfa36a628b935891b2f8a2c5936aef48b87151Michael Sawyer
ebbfa36a628b935891b2f8a2c5936aef48b87151Michael Sawyerhost: host.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
ebbfa36a628b935891b2f8a2c5936aef48b87151Michael Sawyer ${LIBTOOL} ${CC} ${CFLAGS} -o $@ host.@O@ dighost.@O@ ${UOBJS} ${LIBS}
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cefd68008fbba3488a077052ae62aa12b6de502bMichael Sawyernslookup: nslookup.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
cefd68008fbba3488a077052ae62aa12b6de502bMichael Sawyer ${LIBTOOL} ${CC} ${CFLAGS} -o $@ nslookup.@O@ dighost.@O@ ${UOBJS} ${LIBS}
cefd68008fbba3488a077052ae62aa12b6de502bMichael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyerclean distclean::
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer rm -f ${TARGETS}
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyerinstalldirs:
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer if [ ! -d ${DESTDIR}${sbindir} ]; then \
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer mkdir ${DESTDIR}${sbindir}; \
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer fi
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer
8d837d26693c18a2170b1af2f370dd5681b834c2Michael Sawyerinstall:: dig host installdirs
cc5ea458fe9f12f247e2549b6dc24fe475a824c2Michael Sawyer ${LIBTOOL} ${INSTALL_PROGRAM} dig ${DESTDIR}${sbindir}