1 # Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2000-2002 Internet Software Consortium.
4 # Permission to use, copy, modify, and 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.33.18.6 2005/09/09 14:11:04 marka Exp $
20 top_srcdir
= @top_srcdir@
26 CINCLUDES
= -I
${srcdir}/include ${DNS_INCLUDES} ${BIND9_INCLUDES} \
27 ${ISC_INCLUDES} ${LWRES_INCLUDES}
29 CDEFINES
= -DVERSION
=\"${VERSION}\"
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 LWRESLIBS
= ..
/..
/lib
/lwres
/liblwres.@A@
38 ISCCFGDEPLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
39 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
40 BIND9DEPLIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
41 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
42 LWRESDEPLIBS
= ..
/..
/lib
/lwres
/liblwres.@A@
44 DEPLIBS
= ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS} \
47 LIBS
= ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCLIBS} \
48 ${ISCCFGLIBS} @IDNLIBS@ @LIBS@
52 TARGETS
= dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@
54 OBJS
= dig.@O@ dighost.@O@ host.@O@ nslookup.@O@
58 SRCS
= dig.c dighost.c host.c nslookup.c
60 MANPAGES
= dig
.1 host
.1 nslookup
.1
62 HTMLPAGES
= dig.html host.html nslookup.html
64 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
68 dig@EXEEXT@
: dig.@O@ dighost.@O@
${UOBJS} ${DEPLIBS}
69 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
70 dig.@O@ dighost.@O@
${UOBJS} ${LIBS}
72 host@EXEEXT@
: host.@O@ dighost.@O@
${UOBJS} ${DEPLIBS}
73 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
74 host.@O@ dighost.@O@
${UOBJS} ${LIBS}
76 nslookup@EXEEXT@
: nslookup.@O@ dighost.@O@
${UOBJS} ${DEPLIBS}
77 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
78 nslookup.@O@ dighost.@O@
${UOBJS} ${LIBS}
82 docclean manclean maintainer-clean
::
85 clean distclean maintainer-clean
::
89 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${bindir}
90 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man1
92 install:: dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@
installdirs
93 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
94 dig@EXEEXT@
${DESTDIR}${bindir}
95 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
96 host@EXEEXT@
${DESTDIR}${bindir}
97 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
98 nslookup@EXEEXT@
${DESTDIR}${bindir}
99 for m in
${MANPAGES}; do \
100 ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1
; \