Makefile.in 2.03 KB
Newer Older
David Lawrence's avatar
David Lawrence committed
1
# Copyright (C) 1998-2000  Internet Software Consortium.
2
#
Bob Halley's avatar
Bob Halley 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
# 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.
Bob Halley's avatar
Bob Halley committed
15

16
# $Id: Makefile.in,v 1.43 2000/08/17 00:18:00 bwelling Exp $
David Lawrence's avatar
David Lawrence committed
17

Bob Halley's avatar
Bob Halley committed
18
19
20
21
22
23
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

@BIND9_VERSION@

Michael Graff's avatar
Michael Graff committed
24
#
25
26
27
# Only list headers that are to be installed and are not
# machine generated.  The latter are handled specially in the
# install target below.
Michael Graff's avatar
Michael Graff committed
28
#
Bob Halley's avatar
Bob Halley committed
29
HEADERS =	assertions.h base64.h bitstring.h boolean.h buffer.h \
30
31
		bufferlist.h commandline.h entropy.h error.h event.h \
		eventclass.h \
32
33
		file.h formatcheck.h fsaccess.h heap.h hmacmd5.h \
		interfaceiter.h @ISC_IPV6_H@ lang.h lex.h \
Michael Graff's avatar
Michael Graff committed
34
		lfsr.h lib.h list.h log.h magic.h md5.h mem.h msgcat.h \
35
		mutexblock.h netaddr.h ondestroy.h os.h \
36
		print.h quota.h random.h ratelimiter.h region.h \
Michael Graff's avatar
Michael Graff committed
37
		result.h resultclass.h rwlock.h serial.h sha1.h sockaddr.h \
38
		socket.h stdio.h string.h symtab.h task.h taskpool.h timer.h \
39
		types.h util.h
Bob Halley's avatar
Bob Halley committed
40
41
42
43
44
45
46

SUBDIRS =
TARGETS =

@BIND9_MAKE_RULES@

installdirs:
Bob Halley's avatar
Bob Halley committed
47
48
	if [ ! -d ${DESTDIR}${includedir} ]; then \
		mkdir ${DESTDIR}${includedir} ; \
Bob Halley's avatar
Bob Halley committed
49
	fi
Bob Halley's avatar
Bob Halley committed
50
51
	if [ ! -d ${DESTDIR}${includedir}/isc ]; then \
		mkdir ${DESTDIR}${includedir}/isc ; \
Bob Halley's avatar
Bob Halley committed
52
53
54
55
	fi

install:: installdirs
	for i in ${HEADERS}; do \
Bob Halley's avatar
Bob Halley committed
56
		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc ; \
Bob Halley's avatar
Bob Halley committed
57
	done
Bob Halley's avatar
Bob Halley committed
58
	${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/isc
59
60

distclean::
61
	rm -f platform.h