1 # Copyright (C) 2004, 2006-2009, 2012-2014 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.36 2009/12/05 23:31:40 each Exp
20 top_srcdir
= @top_srcdir@
26 READLINE_LIB
= @READLINE_LIB@
28 DST_GSSAPI_INC
= @DST_GSSAPI_INC@
30 CINCLUDES
= ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
31 ${ISC_INCLUDES} ${ISCCFG_INCLUDES} ${DST_GSSAPI_INC}
33 CDEFINES
= -DVERSION
=\"${VERSION}\" @USE_GSSAPI@
36 LWRESLIBS
= ..
/..
/lib
/lwres
/liblwres.@A@
37 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@ @DNS_CRYPTO_LIBS@
38 BIND9LIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
39 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
40 ISCNOSYMLIBS
= ..
/..
/lib
/isc
/libisc-nosymtbl.@A@
41 ISCCFGLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
43 LWRESDEPLIBS
= ..
/..
/lib
/lwres
/liblwres.@A@
44 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
45 BIND9DEPLIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
46 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
47 ISCCFGDEPLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
49 DEPLIBS
= ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS}
51 LIBS
= ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@
53 NOSYMLIBS
= ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@
57 TARGETS
= nsupdate@EXEEXT@
67 HTMLPAGES
= nsupdate.html
69 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
73 nsupdate.@O@
: nsupdate.c
74 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
75 -DSESSION_KEYFILE
=\"${localstatedir}/run
/named
/session.key
\" \
76 -c
${srcdir}/nsupdate.c
78 nsupdate@EXEEXT@
: nsupdate.@O@
${UOBJS} ${DEPLIBS}
79 export BASEOBJS
="nsupdate.@O@ ${READLINE_LIB} ${UOBJS}"; \
84 docclean manclean maintainer-clean
::
91 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${bindir}
92 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man1
94 install:: nsupdate@EXEEXT@
installdirs
95 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsupdate@EXEEXT@
${DESTDIR}${bindir}
96 ${INSTALL_DATA} ${srcdir}/nsupdate
.1 ${DESTDIR}${mandir}/man1