summaryrefslogtreecommitdiffstats
path: root/lib/bind/isc/Makefile
blob: f41f604bf0e98776df829d10067ee12e778b10b1 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# $FreeBSD$

.include <bsd.own.mk>

BIND_DIR=	${.CURDIR}/../../../contrib/bind9
LIB_BIND_REL=	..
LIB_BIND_DIR=	${.CURDIR}/${LIB_BIND_REL}
SRCDIR=		${BIND_DIR}/lib/isc

.include	"${LIB_BIND_DIR}/config.mk"

LIB=		isc

.PATH:		${SRCDIR}/unix
SRCS+=		app.c dir.c entropy.c \
		errno2result.c file.c fsaccess.c \
		interfaceiter.c keyboard.c net.c \
		os.c resource.c socket.c stdio.c \
		stdtime.c strerror.c syslog.c time.c \

.PATH:		${SRCDIR}/nls
SRCS+=		msgcat.c \

.PATH:		${SRCDIR}/pthreads
SRCS+=		condition.c mutex.c \
		thread.c

.PATH:		${SRCDIR}
SRCS+=		inet_pton.c \
		assertions.c backtrace.c base32.c base64.c bitstring.c \
		buffer.c bufferlist.c commandline.c error.c event.c \
		fsaccess.c hash.c \
		heap.c hex.c hmacmd5.c hmacsha.c \
		httpd.c inet_aton.c \
		inet_ntop.c \
		iterated_hash.c \
		lex.c lfsr.c lib.c log.c \
		md5.c mem.c mutexblock.c \
		netaddr.c netscope.c ondestroy.c \
		parseint.c portset.c \
		print.c \
		quota.c radix.c random.c \
		ratelimiter.c refcount.c region.c result.c rwlock.c \
		serial.c sha1.c sha2.c sockaddr.c stats.c string.c strtoul.c \
		symtab.c task.c taskpool.c timer.c version.c

.PATH:		${.CURDIR}
SRCS+=		backtrace-emptytbl.c

CFLAGS+=	-I${SRCDIR}/unix/include -I${SRCDIR}/pthreads/include
CFLAGS+=	-I${SRCDIR}/include -I${.CURDIR}
CFLAGS+=	-I${SRCDIR}/${ISC_ATOMIC_ARCH}/include

DPADD=		${PTHREAD_DPADD}
LDADD=		${PTHREAD_LDADD}

.if ${MK_BIND_LIBS} != "no"
INCS=		${SRCDIR}/include/isc/app.h \
		${SRCDIR}/include/isc/assertions.h \
		${SRCDIR}/include/isc/base32.h \
		${SRCDIR}/include/isc/base64.h \
		${SRCDIR}/include/isc/bind9.h \
		${SRCDIR}/include/isc/bitstring.h \
		${SRCDIR}/include/isc/boolean.h \
		${SRCDIR}/include/isc/buffer.h \
		${SRCDIR}/include/isc/bufferlist.h \
		${SRCDIR}/include/isc/commandline.h \
		${SRCDIR}/include/isc/entropy.h \
		${SRCDIR}/include/isc/error.h \
		${SRCDIR}/include/isc/event.h \
		${SRCDIR}/include/isc/eventclass.h \
		${SRCDIR}/include/isc/file.h \
		${SRCDIR}/include/isc/formatcheck.h \
		${SRCDIR}/include/isc/fsaccess.h \
		${SRCDIR}/include/isc/hash.h \
		${SRCDIR}/include/isc/heap.h \
		${SRCDIR}/include/isc/hex.h \
		${SRCDIR}/include/isc/hmacmd5.h \
		${SRCDIR}/include/isc/hmacsha.h \
		${SRCDIR}/include/isc/httpd.h \
		${SRCDIR}/include/isc/iterated_hash.h \
		${SRCDIR}/include/isc/interfaceiter.h \
		${SRCDIR}/include/isc/ipv6.h \
		${SRCDIR}/include/isc/lang.h \
		${SRCDIR}/include/isc/lex.h \
		${SRCDIR}/include/isc/lfsr.h \
		${SRCDIR}/include/isc/lib.h \
		${SRCDIR}/include/isc/list.h \
		${SRCDIR}/include/isc/log.h \
		${SRCDIR}/include/isc/magic.h \
		${SRCDIR}/include/isc/md5.h \
		${SRCDIR}/include/isc/mem.h \
		${SRCDIR}/include/isc/msgcat.h \
		${SRCDIR}/include/isc/msgs.h \
		${SRCDIR}/include/isc/mutexblock.h \
		${SRCDIR}/include/isc/namespace.h \
		${SRCDIR}/include/isc/netaddr.h \
		${SRCDIR}/include/isc/netscope.h \
		${SRCDIR}/include/isc/ondestroy.h \
		${SRCDIR}/include/isc/os.h \
		${SRCDIR}/include/isc/parseint.h \
		${SRCDIR}/include/isc/portset.h \
		${SRCDIR}/include/isc/print.h \
		${SRCDIR}/include/isc/quota.h \
		${SRCDIR}/include/isc/radix.h \
		${SRCDIR}/include/isc/random.h \
		${SRCDIR}/include/isc/ratelimiter.h \
		${SRCDIR}/include/isc/refcount.h \
		${SRCDIR}/include/isc/region.h \
		${SRCDIR}/include/isc/resource.h \
		${SRCDIR}/include/isc/result.h \
		${SRCDIR}/include/isc/resultclass.h \
		${SRCDIR}/include/isc/rwlock.h \
		${SRCDIR}/include/isc/serial.h \
		${SRCDIR}/include/isc/sha1.h \
		${SRCDIR}/include/isc/sha2.h \
		${SRCDIR}/include/isc/sockaddr.h \
		${SRCDIR}/include/isc/socket.h \
		${SRCDIR}/include/isc/stats.h \
		${SRCDIR}/include/isc/stdio.h \
		${SRCDIR}/include/isc/stdlib.h \
		${SRCDIR}/include/isc/string.h \
		${SRCDIR}/include/isc/symtab.h \
		${SRCDIR}/include/isc/task.h \
		${SRCDIR}/include/isc/taskpool.h \
		${SRCDIR}/include/isc/timer.h \
		${SRCDIR}/include/isc/types.h \
		${SRCDIR}/include/isc/util.h \
		${SRCDIR}/include/isc/version.h \
		${SRCDIR}/include/isc/xml.h \
		${SRCDIR}/pthreads/include/isc/condition.h \
		${SRCDIR}/pthreads/include/isc/mutex.h \
		${SRCDIR}/pthreads/include/isc/once.h \
		${SRCDIR}/pthreads/include/isc/thread.h \
		${SRCDIR}/unix/include/isc/dir.h \
		${SRCDIR}/unix/include/isc/int.h \
		${SRCDIR}/unix/include/isc/keyboard.h \
		${SRCDIR}/unix/include/isc/net.h \
		${SRCDIR}/unix/include/isc/netdb.h \
		${SRCDIR}/unix/include/isc/offset.h \
		${SRCDIR}/unix/include/isc/stat.h \
		${SRCDIR}/unix/include/isc/stdtime.h \
		${SRCDIR}/unix/include/isc/strerror.h \
		${SRCDIR}/unix/include/isc/syslog.h \
		${SRCDIR}/unix/include/isc/time.h \
		${SRCDIR}/${ISC_ATOMIC_ARCH}/include/isc/atomic.h \
		isc/platform.h

INCSDIR=	${INCLUDEDIR}/isc
.endif

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud