Makefile.in 1.93 KB
Newer Older
Brian Wellington's avatar
Brian Wellington committed
1
# Copyright (C) 2000, 2001  Internet Software Consortium.
2
#
Michael Sawyer's avatar
Michael Sawyer committed
3 4 5
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
6
#
7 8 9 10 11 12 13 14 15
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

16
# $Id: Makefile.in,v 1.11 2001/01/18 01:33:51 bwelling Exp $
David Lawrence's avatar
David Lawrence committed
17

Michael Sawyer's avatar
Michael Sawyer committed
18 19 20 21 22 23 24 25
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

@BIND9_VERSION@

@BIND9_INCLUDES@

26
CINCLUDES =	${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES}
Michael Sawyer's avatar
Michael Sawyer committed
27

28
CDEFINES =
Michael Sawyer's avatar
Michael Sawyer committed
29 30
CWARNINGS =

31
LWRESLIBS =	../../lib/lwres/liblwres.@A@
32
DNSLIBS =	../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@ @DNS_GSSAPI_LIBS@
Michael Sawyer's avatar
Michael Sawyer committed
33 34
ISCLIBS =	../../lib/isc/libisc.@A@

35
LWRESDEPLIBS =	../../lib/lwres/liblwres.@A@
Michael Sawyer's avatar
Michael Sawyer committed
36 37 38 39 40
DNSDEPLIBS =	../../lib/dns/libdns.@A@
ISCDEPLIBS =	../../lib/isc/libisc.@A@

DEPLIBS =	${DNSDEPLIBS} ${ISCDEPLIBS}

41
LIBS =		${LWRESLIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@
Michael Sawyer's avatar
Michael Sawyer committed
42

43
SUBDIRS =
Michael Sawyer's avatar
Michael Sawyer committed
44 45 46 47 48

TARGETS =	nsupdate

OBJS =		nsupdate.@O@

49
UOBJS =
Michael Sawyer's avatar
Michael Sawyer committed
50 51 52

SRCS =		nsupdate.c

53 54
MANPAGES =	nsupdate.8

Michael Sawyer's avatar
Michael Sawyer committed
55 56 57 58 59 60 61 62 63
@BIND9_MAKE_RULES@

nsupdate: nsupdate.@O@ ${UOBJS} ${DEPLIBS}
	${LIBTOOL} ${CC} ${CFLAGS} -o $@ nsupdate.@O@ ${UOBJS} ${LIBS}

clean distclean::
	rm -f ${TARGETS}

installdirs:
64
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
65
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
Michael Sawyer's avatar
Michael Sawyer committed
66

67
install:: nsupdate installdirs
68
	${LIBTOOL} ${INSTALL_PROGRAM} nsupdate ${DESTDIR}${bindir}
69
	${INSTALL_PROGRAM} nsupdate.8 ${DESTDIR}${mandir}/man8