Makefile.in revision 31874cf824bd97f8fb3c30cc8dea3f568cd601d0
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# Copyright (C) 2000 Internet Software Consortium.
69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews#
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# Permission to use, copy, modify, and distribute this software for any
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# purpose with or without fee is hereby granted, provided that the above
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# copyright notice and this permission notice appear in all copies.
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# $Id: Makefile.in,v 1.13 2000/12/12 20:21:33 bwelling Exp $
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrewssrcdir = @srcdir@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonVPATH = @srcdir@
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeintop_srcdir = @top_srcdir@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein@BIND9_VERSION@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington@BIND9_INCLUDES@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonCDEFINES =
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonCWARNINGS =
976f44baa3028118a4175a21536e68049e1d3766David Lawrence
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@ @DNS_GSSAPI_LIBS@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonISCLIBS = ../../lib/isc/libisc.@A@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonDNSDEPLIBS = ../../lib/dns/libdns.@A@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonISCDEPLIBS = ../../lib/isc/libisc.@A@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonLIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# Alphabetically
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonTARGETS = dnssec-keygen \
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington dnssec-makekeyset \
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington dnssec-signkey \
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington dnssec-signzone
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonOBJS = dnssectool.@O@
91cd0f93ad34d23e8b09dca337120f64fbe8f0a1Andreas Gustafsson
9c4cba349f52bb8176c3858b2b5b340f13603802Brian WellingtonSRCS = dnssec-keygen.c dnssec-makekeyset.c \
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington dnssec-signkey.c dnssec-signzone.c \
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington dnssectool.c
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington@BIND9_MAKE_RULES@
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellingtondnssec-keygen: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dnssec-keygen.@O@ ${OBJS} ${LIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
91cd0f93ad34d23e8b09dca337120f64fbe8f0a1Andreas Gustafssondnssec-makekeyset: dnssec-makekeyset.@O@ ${OBJS} ${DEPLIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dnssec-makekeyset.@O@ ${OBJS} ${LIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellingtondnssec-signkey: dnssec-signkey.@O@ ${OBJS} ${DEPLIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dnssec-signkey.@O@ ${OBJS} ${LIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellingtondnssec-signzone.@O@: dnssec-signzone.c
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington ${LIBTOOL} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $<
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
91cd0f93ad34d23e8b09dca337120f64fbe8f0a1Andreas Gustafssondnssec-signzone: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
91cd0f93ad34d23e8b09dca337120f64fbe8f0a1Andreas Gustafsson ${LIBTOOL} ${CC} ${CFLAGS} -o $@ dnssec-signzone.@O@ ${OBJS} ${LIBS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellingtonclean distclean::
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein rm -f ${TARGETS}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellingtoninstalldirs:
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellingtoninstall:: ${TARGETS} installdirs
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington for t in ${TARGETS}; do ${LIBTOOL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington