Makefile.in 857 Bytes
Newer Older
1
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Mark Andrews's avatar
Mark Andrews committed
2
#
3 4 5
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 7 8
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
Mark Andrews's avatar
Mark Andrews committed
9

Bob Halley's avatar
Bob Halley committed
10 11 12 13
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

14
VERSION=@BIND9_VERSION@
Bob Halley's avatar
Bob Halley committed
15

Bob Halley's avatar
Bob Halley committed
16
HEADERS =	condition.h mutex.h once.h thread.h
Bob Halley's avatar
Bob Halley committed
17 18 19 20 21 22 23

SUBDIRS =
TARGETS =

@BIND9_MAKE_RULES@

installdirs:
24
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/isc
Bob Halley's avatar
Bob Halley committed
25 26 27

install:: installdirs
	for i in ${HEADERS}; do \
28
		${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
Bob Halley's avatar
Bob Halley committed
29
	done
Evan Hunt's avatar
Evan Hunt committed
30 31 32

uninstall::
	for i in ${HEADERS}; do \
33
		rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
Evan Hunt's avatar
Evan Hunt committed
34
	done