PageRenderTime 25ms CodeModel.GetById 20ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/bind9/bin/dig/Makefile.in

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 105 lines | 62 code | 28 blank | 15 comment | 1 complexity | d468e49df9537b6bcadb99a6ff49459c MD5 | raw file
  1# Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
  2# Copyright (C) 2000-2002  Internet Software Consortium.
  3#
  4# Permission to use, copy, modify, and/or distribute this software for any
  5# purpose with or without fee is hereby granted, provided that the above
  6# copyright notice and this permission notice appear in all copies.
  7#
  8# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  9# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 10# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
 11# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 12# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
 13# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 14# PERFORMANCE OF THIS SOFTWARE.
 15
 16# $Id: Makefile.in,v 1.47 2009/12/05 23:31:40 each Exp $
 17
 18srcdir =	@srcdir@
 19VPATH =		@srcdir@
 20top_srcdir =	@top_srcdir@
 21
 22@BIND9_VERSION@
 23
 24@BIND9_MAKE_INCLUDES@
 25
 26CINCLUDES =	-I${srcdir}/include ${DNS_INCLUDES} ${BIND9_INCLUDES} \
 27		${ISC_INCLUDES} ${LWRES_INCLUDES} ${ISCCFG_INCLUDES}
 28
 29CDEFINES =	-DVERSION=\"${VERSION}\"
 30CWARNINGS =
 31
 32ISCCFGLIBS =	../../lib/isccfg/libisccfg.@A@
 33DNSLIBS =	../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
 34BIND9LIBS =	../../lib/bind9/libbind9.@A@
 35ISCLIBS =	../../lib/isc/libisc.@A@
 36ISCNOSYMLIBS =	../../lib/isc/libisc-nosymtbl.@A@
 37LWRESLIBS =	../../lib/lwres/liblwres.@A@
 38
 39ISCCFGDEPLIBS =	../../lib/isccfg/libisccfg.@A@
 40DNSDEPLIBS =	../../lib/dns/libdns.@A@
 41BIND9DEPLIBS =	../../lib/bind9/libbind9.@A@
 42ISCDEPLIBS =	../../lib/isc/libisc.@A@
 43LWRESDEPLIBS =	../../lib/lwres/liblwres.@A@
 44
 45DEPLIBS =	${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS} \
 46		${LWRESDEPLIBS}
 47
 48LIBS =		${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
 49		${ISCLIBS} @IDNLIBS@ @LIBS@
 50
 51NOSYMLIBS =	${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
 52		${ISCNOSYMLIBS} @IDNLIBS@ @LIBS@
 53
 54SUBDIRS =
 55
 56TARGETS =	dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@
 57
 58OBJS =		dig.@O@ dighost.@O@ host.@O@ nslookup.@O@
 59
 60UOBJS =
 61
 62SRCS =		dig.c dighost.c host.c nslookup.c
 63
 64MANPAGES =	dig.1 host.1 nslookup.1
 65
 66HTMLPAGES =	dig.html host.html nslookup.html
 67
 68MANOBJS =	${MANPAGES} ${HTMLPAGES}
 69
 70@BIND9_MAKE_RULES@
 71
 72dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
 73	export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
 74	${FINALBUILDCMD}
 75
 76host@EXEEXT@: host.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
 77	export BASEOBJS="host.@O@ dighost.@O@ ${UOBJS}"; \
 78	${FINALBUILDCMD}
 79
 80nslookup@EXEEXT@: nslookup.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
 81	export BASEOBJS="nslookup.@O@ dighost.@O@ ${UOBJS}"; \
 82	${FINALBUILDCMD}
 83
 84doc man:: ${MANOBJS}
 85
 86docclean manclean maintainer-clean::
 87	rm -f ${MANOBJS}
 88
 89clean distclean maintainer-clean::
 90	rm -f ${TARGETS}
 91
 92installdirs:
 93	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
 94	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
 95
 96install:: dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@ installdirs
 97	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
 98		dig@EXEEXT@ ${DESTDIR}${bindir}
 99	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
100		host@EXEEXT@ ${DESTDIR}${bindir}
101	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
102		nslookup@EXEEXT@ ${DESTDIR}${bindir}
103	for m in ${MANPAGES}; do \
104		${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1; \
105		done