Makefile.in revision 4cd765650776027d05fe7fca248478918e02e63b
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# Copyright (C) 2000, 2001 Internet Software Consortium.
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman#
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# Permission to use, copy, modify, and distribute this software for any
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# purpose with or without fee is hereby granted, provided that the above
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# copyright notice and this permission notice appear in all copies.
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman#
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman# $Id: Makefile.in,v 1.26 2001/06/22 17:22:24 tale Exp $
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaraman
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaramansrcdir = @srcdir@
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund SivaramanVPATH = @srcdir@
bf350c9f1ab59ac03e34e8063b4ce58662daec2aMukund Sivaramantop_srcdir = @top_srcdir@
@BIND9_VERSION@
@BIND9_INCLUDES@
CINCLUDES = ${ISC_INCLUDES}
RNDCINCLUDES = ${CINCLUDES} ${ISCCC_INCLUDES} ${ISCCFG_INCLUDES}
CONFINCLUDES = ${CINCLUDES} ${DNS_INCLUDES}
CDEFINES =
CWARNINGS =
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
ISCLIBS = ../../lib/isc/libisc.@A@
DNSLIBS = ../../lib/dns/libdns.@A@
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
ISCDEPLIBS = ../../lib/isc/libisc.@A@
DNSDEPLIBS = ../../lib/dns/libdns.@A@
RNDCLIBS = ${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} @LIBS@
RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
CONFLIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
CONFDEPLIBS = ${DNSLIBS} ${ISCLIBS}
TARGETS = rndc rndc-confgen
MANPAGES = rndc.8 rndc.conf.5
HTMLPAGES = rndc.html rndc.conf.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
rndc.@O@: rndc.c
${LIBTOOL} ${CC} ${ALL_CFLAGS} ${RNDCINCLUDES} \
-DVERSION=\"${VERSION}\" \
-DRNDC_SYSCONFDIR=\"${sysconfdir}\" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" -c ${srcdir}/rndc.c
rndc-confgen.@O@: rndc-confgen.c
${LIBTOOL} ${CC} ${ALL_CFLAGS} ${CONFINCLUDES} \
-DRNDC_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/rndc-confgen.c
rndc: rndc.@O@ util.@O@ ${RNDCDEPLIBS}
${LIBTOOL} ${PURIFY} ${CC} ${CFLAGS} -o $@ rndc.@O@ util.@O@ \
${RNDCLIBS}
rndc-confgen: rndc-confgen.@O@ util.@O@ ${CONFDEPLIBS}
${LIBTOOL} ${PURIFY} ${CC} ${CFLAGS} -o $@ rndc-confgen.@O@ util.@O@ \
${CONFLIBS}
doc man:: ${MANOBJS}
docclean manclean maintainer-clean::
rm -f ${MANOBJS}
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
install:: rndc installdirs
${LIBTOOL} ${INSTALL_PROGRAM} rndc ${DESTDIR}${sbindir}
${LIBTOOL} ${INSTALL_PROGRAM} rndc-confgen ${DESTDIR}${sbindir}
${INSTALL_DATA} ${srcdir}/rndc.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/rndc.conf.5 ${DESTDIR}${mandir}/man5
clean distclean maintainer-clean::
rm -f ${TARGETS}