Makefile.in revision c2bc56dc65b4b103a5600565680eb5f33fa4c90b
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# Copyright (C) 2000, 2001 Internet Software Consortium.
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews#
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# Permission to use, copy, modify, and distribute this software for any
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# purpose with or without fee is hereby granted, provided that the above
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# copyright notice and this permission notice appear in all copies.
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews#
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews# $Id: Makefile.in,v 1.17 2001/09/20 15:16:16 marka Exp $
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrewssrcdir = @srcdir@
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsVPATH = @srcdir@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrewstop_srcdir = @top_srcdir@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson@BIND9_VERSION@
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@BIND9_MAKE_INCLUDES@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsCINCLUDES = ${BIND9_INCLUDES} ${DNS_INCLUDES} ${ISCCFG_INCLUDES} \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews ${ISC_INCLUDES}
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
321fd0ceb416bf1c3d074ace4480dc938ca91b60Andreas GustafssonCDEFINES = -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\"
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsCWARNINGS =
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@ @DNS_GSSAPI_LIBS@
8d0ee7a153381d98f6c1e6e9bfe6b73659433666Brian WellingtonISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsISCLIBS = ../../lib/isc/libisc.@A@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsBIND9LIBS = ../../lib/bind9/libbind9.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsDNSDEPLIBS = ../../lib/dns/libdns.@A@
8d0ee7a153381d98f6c1e6e9bfe6b73659433666Brian WellingtonISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsISCDEPLIBS = ../../lib/isc/libisc.@A@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsBIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark AndrewsLIBS = @LIBS@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
e99691e566c10f8901b3f66a6b6629705cf78c52Mark AndrewsSUBDIRS =
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# Alphabetically
bb1cf189bb9fd9059cf13b785d15b0e50c0be8fbAndreas GustafssonTARGETS = named-checkconf named-checkzone
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews# Alphabetically
bb1cf189bb9fd9059cf13b785d15b0e50c0be8fbAndreas GustafssonSRCS = named-checkconf.c named-checkzone.c check-tool.c
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian WellingtonMANPAGES = named-checkconf.8 named-checkzone.8
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonHTMLPAGES = named-checkconf.html named-checkzone.html
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMANOBJS = ${MANPAGES} ${HTMLPAGES}
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews@BIND9_MAKE_RULES@
9e77d51069a97a21c68184134a0c9847e95490ffMark Andrews
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafssonnamed-checkconf.@O@: named-checkconf.c
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson ${LIBTOOL} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson -c ${srcdir}/named-checkconf.c
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafssonnamed-checkzone.@O@: named-checkzone.c
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson ${LIBTOOL} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson -c ${srcdir}/named-checkzone.c
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrewsnamed-checkconf: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
524222cfb8dd5fb895e3c9005016019f786cf1faStephen Jacob ${LIBTOOL} ${PURIFY} ${CC} ${CFLAGS} -o $@ named-checkconf.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews check-tool.@O@ ${BIND9LIBS} ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} ${LIBS}
e99691e566c10f8901b3f66a6b6629705cf78c52Mark Andrews
bb1cf189bb9fd9059cf13b785d15b0e50c0be8fbAndreas Gustafssonnamed-checkzone: named-checkzone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
524222cfb8dd5fb895e3c9005016019f786cf1faStephen Jacob ${LIBTOOL} ${PURIFY} ${CC} ${CFLAGS} -o $@ named-checkzone.@O@ \
524222cfb8dd5fb895e3c9005016019f786cf1faStephen Jacob check-tool.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS}
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafsson
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtondoc man:: ${MANOBJS}
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtondocclean manclean maintainer-clean::
c40265eba0c99708887d68e67901924065ba2514Brian Wellington rm -f ${MANOBJS}
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafsson
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafssoninstalldirs:
4137fd1295f3c6242a1c641352c8811378912820Andreas Gustafsson $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellington $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
bb01a40e659564bcb9571eca0319762eb20b7a01Andreas Gustafsson
01b8865b1462ba219c90cf6c00f1bf0fdf780d9bBrian Wellingtoninstall:: named-checkconf named-checkzone installdirs
4137fd1295f3c6242a1c641352c8811378912820Andreas Gustafsson ${LIBTOOL} ${INSTALL_PROGRAM} named-checkconf ${DESTDIR}${sbindir}
4137fd1295f3c6242a1c641352c8811378912820Andreas Gustafsson ${LIBTOOL} ${INSTALL_PROGRAM} named-checkzone ${DESTDIR}${sbindir}
53aba5065d2ee3c103912ecfe865418bad6fa576Brian Wellington for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtonclean distclean::
c40265eba0c99708887d68e67901924065ba2514Brian Wellington rm -f ${TARGETS}