xref: /netbsd/external/mpl/bind/dist/bin/delv/Makefile.in (revision 497bf0b8)
1# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2#
3# SPDX-License-Identifier: MPL-2.0
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0.  If a copy of the MPL was not distributed with this
7# file, you can obtain one at https://mozilla.org/MPL/2.0/.
8#
9# See the COPYRIGHT file distributed with this work for additional
10# information regarding copyright ownership.
11
12srcdir =	@srcdir@
13VPATH =		@srcdir@
14top_srcdir =	@top_srcdir@
15
16VERSION=@BIND9_VERSION@
17
18@BIND9_MAKE_INCLUDES@
19
20CINCLUDES =	-I${srcdir}/include ${DNS_INCLUDES} ${ISC_INCLUDES} \
21		${IRS_INCLUDES} ${ISCCFG_INCLUDES} \
22		${OPENSSL_CFLAGS}
23
24CDEFINES =	-DVERSION=\"${VERSION}\" \
25		-DSYSCONFDIR=\"${sysconfdir}\"
26CWARNINGS =
27
28ISCCFGLIBS =	../../lib/isccfg/libisccfg.@A@
29DNSLIBS =	../../lib/dns/libdns.@A@ @NO_LIBTOOL_DNSLIBS@
30ISCNOSYMLIBS =	../../lib/isc/libisc-nosymtbl.@A@ @NO_LIBTOOL_ISCLIBS@
31ISCLIBS =	../../lib/isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@
32IRSLIBS =	../../lib/irs/libirs.@A@
33
34ISCCFGDEPLIBS =	../../lib/isccfg/libisccfg.@A@
35DNSDEPLIBS =	../../lib/dns/libdns.@A@
36ISCDEPLIBS =	../../lib/isc/libisc.@A@
37IRSDEPLIBS =	../../lib/irs/libirs.@A@
38
39DEPLIBS =	${DNSDEPLIBS} ${IRSDEPLIBS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS}
40
41LIBS =		${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@
42NOSYMLIBS =	${DNSLIBS} ${IRSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@
43
44SUBDIRS =
45
46TARGETS =	delv@EXEEXT@
47
48OBJS =		delv.@O@
49
50SRCS =		delv.c
51
52@BIND9_MAKE_RULES@
53
54delv@EXEEXT@: delv.@O@ ${DEPLIBS}
55	export BASEOBJS="delv.@O@"; \
56	export LIBS0="${DNSLIBS}"; \
57	${FINALBUILDCMD}
58
59installdirs:
60	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
61
62install:: delv@EXEEXT@ installdirs
63	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
64		delv@EXEEXT@ ${DESTDIR}${bindir}
65
66uninstall::
67	${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/delv@EXEEXT@
68
69clean distclean maintainer-clean::
70	rm -f ${TARGETS}
71