No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / bin / dig / Makefile.in
blobc2cc8fe6e7a1bbbf7a44d7252c8e081406be7ef6
1 # Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2000-2002 Internet Software Consortium.
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.
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.
16 # Id: Makefile.in,v 1.47 2009/12/05 23:31:40 each Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 @BIND9_MAKE_INCLUDES@
26 CINCLUDES = -I${srcdir}/include ${DNS_INCLUDES} ${BIND9_INCLUDES} \
27 ${ISC_INCLUDES} ${LWRES_INCLUDES} ${ISCCFG_INCLUDES}
29 CDEFINES = -DVERSION=\"${VERSION}\"
30 CWARNINGS =
32 ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
33 DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
34 BIND9LIBS = ../../lib/bind9/libbind9.@A@
35 ISCLIBS = ../../lib/isc/libisc.@A@
36 ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
37 LWRESLIBS = ../../lib/lwres/liblwres.@A@
39 ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
40 DNSDEPLIBS = ../../lib/dns/libdns.@A@
41 BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
42 ISCDEPLIBS = ../../lib/isc/libisc.@A@
43 LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
45 DEPLIBS = ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS} \
46 ${LWRESDEPLIBS}
48 LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
49 ${ISCLIBS} @IDNLIBS@ @LIBS@
51 NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
52 ${ISCNOSYMLIBS} @IDNLIBS@ @LIBS@
54 SUBDIRS =
56 TARGETS = dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@
58 OBJS = dig.@O@ dighost.@O@ host.@O@ nslookup.@O@
60 UOBJS =
62 SRCS = dig.c dighost.c host.c nslookup.c
64 MANPAGES = dig.1 host.1 nslookup.1
66 HTMLPAGES = dig.html host.html nslookup.html
68 MANOBJS = ${MANPAGES} ${HTMLPAGES}
70 @BIND9_MAKE_RULES@
72 dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
73 export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
74 ${FINALBUILDCMD}
76 host@EXEEXT@: host.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
77 export BASEOBJS="host.@O@ dighost.@O@ ${UOBJS}"; \
78 ${FINALBUILDCMD}
80 nslookup@EXEEXT@: nslookup.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
81 export BASEOBJS="nslookup.@O@ dighost.@O@ ${UOBJS}"; \
82 ${FINALBUILDCMD}
84 doc man:: ${MANOBJS}
86 docclean manclean maintainer-clean::
87 rm -f ${MANOBJS}
89 clean distclean maintainer-clean::
90 rm -f ${TARGETS}
92 installdirs:
93 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
94 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
96 install:: 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