]> CyberLeo.Net >> Repos - FreeBSD/releng/9.3.git/blob - contrib/bind9/bin/nsupdate/Makefile.in
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
[FreeBSD/releng/9.3.git] / contrib / bind9 / bin / nsupdate / Makefile.in
1 # Copyright (C) 2004, 2006-2009, 2012-2014  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.36 2009/12/05 23:31:40 each Exp $
17
18 srcdir =        @srcdir@
19 VPATH =         @srcdir@
20 top_srcdir =    @top_srcdir@
21
22 @BIND9_VERSION@
23
24 @BIND9_MAKE_INCLUDES@
25
26 READLINE_LIB = @READLINE_LIB@
27
28 DST_GSSAPI_INC = @DST_GSSAPI_INC@
29
30 CINCLUDES =     ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
31                 ${ISC_INCLUDES} ${ISCCFG_INCLUDES} ${DST_GSSAPI_INC}
32
33 CDEFINES =      @USE_GSSAPI@
34 CWARNINGS =
35
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@
42
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@
48
49 DEPLIBS =       ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS}
50
51 LIBS =          ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@
52
53 NOSYMLIBS =     ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@
54
55 SUBDIRS =
56
57 TARGETS =       nsupdate@EXEEXT@
58
59 OBJS =          nsupdate.@O@
60
61 UOBJS =
62
63 SRCS =          nsupdate.c
64
65 MANPAGES =      nsupdate.1
66
67 HTMLPAGES =     nsupdate.html
68
69 MANOBJS =       ${MANPAGES} ${HTMLPAGES}
70
71 @BIND9_MAKE_RULES@
72
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
77
78 nsupdate@EXEEXT@: nsupdate.@O@ ${UOBJS} ${DEPLIBS}
79         export BASEOBJS="nsupdate.@O@ ${READLINE_LIB} ${UOBJS}"; \
80         ${FINALBUILDCMD}
81
82 doc man:: ${MANOBJS}
83
84 docclean manclean maintainer-clean::
85         rm -f ${MANOBJS}
86
87 clean distclean::
88         rm -f ${TARGETS}
89
90 installdirs:
91         $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
92         $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
93
94 install:: nsupdate@EXEEXT@ installdirs
95         ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsupdate@EXEEXT@ ${DESTDIR}${bindir}
96         ${INSTALL_DATA} ${srcdir}/nsupdate.1 ${DESTDIR}${mandir}/man1