etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / nsupdate / Makefile.in
blobcd19b72745433896f3e64c82c5c1b6e598cdad03
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
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 @BIND9_MAKE_INCLUDES@
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@
34 CWARNINGS =
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@
55 SUBDIRS =
57 TARGETS = nsupdate@EXEEXT@
59 OBJS = nsupdate.@O@
61 UOBJS =
63 SRCS = nsupdate.c
65 MANPAGES = nsupdate.1
67 HTMLPAGES = nsupdate.html
69 MANOBJS = ${MANPAGES} ${HTMLPAGES}
71 @BIND9_MAKE_RULES@
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}"; \
80 ${FINALBUILDCMD}
82 doc man:: ${MANOBJS}
84 docclean manclean maintainer-clean::
85 rm -f ${MANOBJS}
87 clean distclean::
88 rm -f ${TARGETS}
90 installdirs:
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