]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - lib/bind/isc/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / lib / bind / isc / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 BIND_DIR=       ${.CURDIR}/../../../contrib/bind9
6 LIB_BIND_REL=   ..
7 LIB_BIND_DIR=   ${.CURDIR}/${LIB_BIND_REL}
8 SRCDIR=         ${BIND_DIR}/lib/isc
9
10 .include        "${LIB_BIND_DIR}/config.mk"
11
12 LIB=            isc
13
14 .PATH:          ${SRCDIR}/unix
15 SRCS+=          app.c dir.c entropy.c \
16                 errno2result.c file.c fsaccess.c \
17                 interfaceiter.c keyboard.c net.c \
18                 os.c resource.c socket.c stdio.c \
19                 stdtime.c strerror.c syslog.c time.c \
20
21 .PATH:          ${SRCDIR}/nls
22 SRCS+=          msgcat.c \
23
24 .PATH:          ${SRCDIR}/pthreads
25 SRCS+=          condition.c mutex.c \
26                 thread.c
27
28 .PATH:          ${SRCDIR}
29 SRCS+=          inet_pton.c \
30                 assertions.c backtrace.c base32.c base64.c bitstring.c \
31                 buffer.c bufferlist.c commandline.c error.c event.c \
32                 fsaccess.c hash.c \
33                 heap.c hex.c hmacmd5.c hmacsha.c \
34                 httpd.c inet_aton.c \
35                 inet_ntop.c \
36                 iterated_hash.c \
37                 lex.c lfsr.c lib.c log.c \
38                 md5.c mem.c mutexblock.c \
39                 netaddr.c netscope.c ondestroy.c \
40                 parseint.c portset.c \
41                 print.c \
42                 quota.c radix.c random.c \
43                 ratelimiter.c refcount.c region.c result.c rwlock.c \
44                 serial.c sha1.c sha2.c sockaddr.c stats.c string.c strtoul.c \
45                 symtab.c task.c taskpool.c timer.c version.c
46
47 .PATH:          ${.CURDIR}
48 SRCS+=          backtrace-emptytbl.c
49
50 CFLAGS+=        -I${SRCDIR}/unix/include -I${SRCDIR}/pthreads/include
51 CFLAGS+=        -I${SRCDIR}/include -I${.CURDIR}
52 CFLAGS+=        -I${SRCDIR}/${ISC_ATOMIC_ARCH}/include
53
54 DPADD=          ${PTHREAD_DPADD}
55 LDADD=          ${PTHREAD_LDADD}
56
57 .if ${MK_BIND_LIBS} != "no"
58 INCS=           ${SRCDIR}/include/isc/app.h \
59                 ${SRCDIR}/include/isc/assertions.h \
60                 ${SRCDIR}/include/isc/base32.h \
61                 ${SRCDIR}/include/isc/base64.h \
62                 ${SRCDIR}/include/isc/bind9.h \
63                 ${SRCDIR}/include/isc/bitstring.h \
64                 ${SRCDIR}/include/isc/boolean.h \
65                 ${SRCDIR}/include/isc/buffer.h \
66                 ${SRCDIR}/include/isc/bufferlist.h \
67                 ${SRCDIR}/include/isc/commandline.h \
68                 ${SRCDIR}/include/isc/entropy.h \
69                 ${SRCDIR}/include/isc/error.h \
70                 ${SRCDIR}/include/isc/event.h \
71                 ${SRCDIR}/include/isc/eventclass.h \
72                 ${SRCDIR}/include/isc/file.h \
73                 ${SRCDIR}/include/isc/formatcheck.h \
74                 ${SRCDIR}/include/isc/fsaccess.h \
75                 ${SRCDIR}/include/isc/hash.h \
76                 ${SRCDIR}/include/isc/heap.h \
77                 ${SRCDIR}/include/isc/hex.h \
78                 ${SRCDIR}/include/isc/hmacmd5.h \
79                 ${SRCDIR}/include/isc/hmacsha.h \
80                 ${SRCDIR}/include/isc/httpd.h \
81                 ${SRCDIR}/include/isc/iterated_hash.h \
82                 ${SRCDIR}/include/isc/interfaceiter.h \
83                 ${SRCDIR}/include/isc/ipv6.h \
84                 ${SRCDIR}/include/isc/lang.h \
85                 ${SRCDIR}/include/isc/lex.h \
86                 ${SRCDIR}/include/isc/lfsr.h \
87                 ${SRCDIR}/include/isc/lib.h \
88                 ${SRCDIR}/include/isc/list.h \
89                 ${SRCDIR}/include/isc/log.h \
90                 ${SRCDIR}/include/isc/magic.h \
91                 ${SRCDIR}/include/isc/md5.h \
92                 ${SRCDIR}/include/isc/mem.h \
93                 ${SRCDIR}/include/isc/msgcat.h \
94                 ${SRCDIR}/include/isc/msgs.h \
95                 ${SRCDIR}/include/isc/mutexblock.h \
96                 ${SRCDIR}/include/isc/namespace.h \
97                 ${SRCDIR}/include/isc/netaddr.h \
98                 ${SRCDIR}/include/isc/netscope.h \
99                 ${SRCDIR}/include/isc/ondestroy.h \
100                 ${SRCDIR}/include/isc/os.h \
101                 ${SRCDIR}/include/isc/parseint.h \
102                 ${SRCDIR}/include/isc/portset.h \
103                 ${SRCDIR}/include/isc/print.h \
104                 ${SRCDIR}/include/isc/quota.h \
105                 ${SRCDIR}/include/isc/radix.h \
106                 ${SRCDIR}/include/isc/random.h \
107                 ${SRCDIR}/include/isc/ratelimiter.h \
108                 ${SRCDIR}/include/isc/refcount.h \
109                 ${SRCDIR}/include/isc/region.h \
110                 ${SRCDIR}/include/isc/resource.h \
111                 ${SRCDIR}/include/isc/result.h \
112                 ${SRCDIR}/include/isc/resultclass.h \
113                 ${SRCDIR}/include/isc/rwlock.h \
114                 ${SRCDIR}/include/isc/serial.h \
115                 ${SRCDIR}/include/isc/sha1.h \
116                 ${SRCDIR}/include/isc/sha2.h \
117                 ${SRCDIR}/include/isc/sockaddr.h \
118                 ${SRCDIR}/include/isc/socket.h \
119                 ${SRCDIR}/include/isc/stats.h \
120                 ${SRCDIR}/include/isc/stdio.h \
121                 ${SRCDIR}/include/isc/stdlib.h \
122                 ${SRCDIR}/include/isc/string.h \
123                 ${SRCDIR}/include/isc/symtab.h \
124                 ${SRCDIR}/include/isc/task.h \
125                 ${SRCDIR}/include/isc/taskpool.h \
126                 ${SRCDIR}/include/isc/timer.h \
127                 ${SRCDIR}/include/isc/types.h \
128                 ${SRCDIR}/include/isc/util.h \
129                 ${SRCDIR}/include/isc/version.h \
130                 ${SRCDIR}/include/isc/xml.h \
131                 ${SRCDIR}/pthreads/include/isc/condition.h \
132                 ${SRCDIR}/pthreads/include/isc/mutex.h \
133                 ${SRCDIR}/pthreads/include/isc/once.h \
134                 ${SRCDIR}/pthreads/include/isc/thread.h \
135                 ${SRCDIR}/unix/include/isc/dir.h \
136                 ${SRCDIR}/unix/include/isc/int.h \
137                 ${SRCDIR}/unix/include/isc/keyboard.h \
138                 ${SRCDIR}/unix/include/isc/net.h \
139                 ${SRCDIR}/unix/include/isc/netdb.h \
140                 ${SRCDIR}/unix/include/isc/offset.h \
141                 ${SRCDIR}/unix/include/isc/stat.h \
142                 ${SRCDIR}/unix/include/isc/stdtime.h \
143                 ${SRCDIR}/unix/include/isc/strerror.h \
144                 ${SRCDIR}/unix/include/isc/syslog.h \
145                 ${SRCDIR}/unix/include/isc/time.h \
146                 ${SRCDIR}/${ISC_ATOMIC_ARCH}/include/isc/atomic.h \
147                 isc/platform.h
148
149 INCSDIR=        ${INCLUDEDIR}/isc
150 .endif
151
152 .include <bsd.lib.mk>