summaryrefslogtreecommitdiff
path: root/lib/isc/Makefile.in
blob: 2345ff488188edd1ea780004251f970c9d659ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Copyright (C) 1998-2001  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.
#
# 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.71.2.2 2003/07/25 03:31:44 marka Exp $

srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

@BIND9_VERSION@

@LIBISC_API@

CINCLUDES =	-I${srcdir}/unix/include \
		-I${srcdir}/@ISC_THREAD_DIR@/include \
		-I./include \
		-I${srcdir}/include
CDEFINES =
CWARNINGS =

# Alphabetically
UNIXOBJS =	@ISC_ISCIPV6_O@ \
		unix/app.@O@ unix/dir.@O@ unix/entropy.@O@ \
		unix/errno2result.@O@ unix/file.@O@ unix/fsaccess.@O@ \
		unix/interfaceiter.@O@ unix/keyboard.@O@ unix/net.@O@ \
		unix/os.@O@ unix/resource.@O@ unix/socket.@O@ unix/stdio.@O@ \
		unix/stdtime.@O@ unix/strerror.@O@ unix/syslog.@O@ unix/time.@O@


NLSOBJS =	nls/msgcat.@O@

THREADOBJS =	@ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ \
		@ISC_THREAD_DIR@/thread.@O@

WIN32OBJS = 	win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \
		win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \
		win32/thread.@O@ win32/time.@O@

# Alphabetically
OBJS =		@ISC_EXTRA_OBJS@ \
		assertions.@O@ base64.@O@ bitstring.@O@ buffer.@O@ \
		bufferlist.@O@ commandline.@O@ error.@O@ event.@O@ \
		hash.@O@ heap.@O@ hex.@O@ hmacmd5.@O@ \
		lex.@O@ lfsr.@O@ lib.@O@ log.@O@ \
		md5.@O@ mem.@O@ mutexblock.@O@ netaddr.@O@ ondestroy.@O@ \
		quota.@O@ random.@O@ \
		ratelimiter.@O@ result.@O@ rwlock.@O@ \
		serial.@O@ sha1.@O@ sockaddr.@O@ string.@O@ symtab.@O@ \
		task.@O@ taskpool.@O@ timer.@O@ version.@O@ \
		${UNIXOBJS} ${NLSOBJS} ${THREADOBJS}

# Alphabetically
SRCS =		@ISC_EXTRA_SRCS@ \
		assertions.c base64.c bitstring.c buffer.c \
		bufferlist.c commandline.c error.c event.c \
		heap.c hex.c hmacmd5.c \
		lex.c lfsr.c lib.c log.c \
		md5.c mem.c mutexblock.c netaddr.c ondestroy.c \
		quota.c random.c \
		ratelimiter.c result.c rwlock.c \
		serial.c sha1.c sockaddr.c string.c symtab.c \
		task.c taskpool.c timer.c version.c

LIBS =		@LIBS@

SUBDIRS =	include unix nls @ISC_THREAD_DIR@
TARGETS =	timestamp

@BIND9_MAKE_RULES@

version.@O@: version.c
	${LIBTOOL} ${CC} ${ALL_CFLAGS} \
		-DVERSION=\"${VERSION}\" \
		-DLIBINTERFACE=${LIBINTERFACE} \
		-DLIBREVISION=${LIBREVISION} \
		-DLIBAGE=${LIBAGE} \
		-c ${srcdir}/version.c

libisc.@SA@: ${OBJS}
	${AR} ${ARFLAGS} $@ ${OBJS}
	${RANLIB} $@

libisc.la: ${OBJS}
	${LIBTOOL} --mode=link \
		${CC} ${ALL_CFLAGS} -o libisc.la -rpath ${libdir} \
		-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
		${OBJS} ${LIBS}

timestamp: libisc.@A@
	touch timestamp

installdirs:
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}

install:: timestamp installdirs
	${LIBTOOL} ${INSTALL_DATA} libisc.@A@ ${DESTDIR}${libdir}

clean distclean::
	rm -f libisc.@A@ libisc.la timestamp