Makefile.in 1.79 KB
Newer Older
Michael Sawyer's avatar
Michael Sawyer committed
1 2 3 4 5 6
# Copyright (C) 2000  Internet Software Consortium.
# 
# 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.
# 
7 8 9 10 11 12 13 14 15 16
# 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.

# $Id: Makefile.in,v 1.5 2000/07/27 09:37:33 tale 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 =	-I${srcdir}/include ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES}
Michael Sawyer's avatar
Michael Sawyer committed
27 28 29 30

CDEFINES =	
CWARNINGS =

31
LWRESLIBS =	../../lib/lwres/liblwres.@A@
Michael Sawyer's avatar
Michael Sawyer committed
32 33 34
DNSLIBS =	../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

SUBDIRS =	

TARGETS =	nsupdate

OBJS =		nsupdate.@O@

UOBJS =		

SRCS =		nsupdate.c

@BIND9_MAKE_RULES@

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

clean distclean::
	rm -f ${TARGETS}

installdirs:
62 63
	if [ ! -d ${DESTDIR}${bindir} ]; then \
		mkdir ${DESTDIR}${bindir}; \
Michael Sawyer's avatar
Michael Sawyer committed
64 65 66
	fi

install:: nsupdate
67
	${LIBTOOL} ${INSTALL_PROGRAM} nsupdate ${DESTDIR}${bindir}