1 # $FreeBSD: src/lib/libisc/Makefile,v 1.1.2.6 2002/07/22 14:21:49 ru Exp $
2 # $DragonFly: src/lib/libisc/Makefile,v 1.8 2006/09/20 21:48:39 victor Exp $
4 BIND_DIR
= ${.CURDIR
}/..
/..
/contrib
/bind-9.3
6 .
include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
7 .
include "${BIND_DIR}/lib/isc/api"
12 .PATH
: ${BIND_DIR}/lib
13 SRCS
+= isc
/nls
/msgcat.c
15 SRCS
+= isc
/unix
/app.c isc
/unix
/dir.c isc
/unix
/entropy.c \
16 isc
/unix
/errno2result.c isc
/unix
/file.c \
17 isc
/unix
/fsaccess.c isc
/unix
/interfaceiter.c \
18 isc
/unix
/keyboard.c isc
/unix
/net.c \
19 isc
/unix
/os.c isc
/unix
/resource.c isc
/unix
/socket.c \
20 isc
/unix
/stdio.c isc
/unix
/stdtime.c \
21 isc
/unix
/strerror.c isc
/unix
/syslog.c \
24 SRCS
+= isc
/assertions.c isc
/base64.c isc
/bitstring.c \
25 isc
/buffer.c isc
/bufferlist.c isc
/commandline.c \
26 isc
/error.c isc
/event.c isc
/hash.c isc
/heap.c \
28 isc
/hmacmd5.c isc
/inet_pton.c isc
/lex.c isc
/lfsr.c \
29 isc
/lib.c isc
/log.c isc
/md5.c isc
/mem.c \
30 isc
/mutexblock.c isc
/netaddr.c isc
/netscope.c \
31 isc
/ondestroy.c isc
/parseint.c isc
/quota.c \
32 isc
/random.c isc
/ratelimiter.c isc
/region.c \
34 isc
/rwlock.c isc
/serial.c isc
/sha1.c \
35 isc
/sockaddr.c isc
/string.c isc
/strtoul.c \
36 isc
/symtab.c isc
/task.c isc
/taskpool.c \
37 isc
/timer.c isc
/version.c
39 SRCS
+= isccfg
/namedconf.c isccfg
/log.c isccfg
/parser.c isccfg
/version.c
41 SRCS
+= dns
/acl.c dns
/adb.c dns
/byaddr.c dns
/cache.c \
42 dns
/callbacks.c dns
/compress.c dns
/db.c \
43 dns
/dbiterator.c dns
/dbtable.c dns
/diff.c \
44 dns
/dispatch.c dns
/dnssec.c dns
/ds.c \
45 dns
/dst_api.c dns
/dst_lib.c dns
/dst_parse.c \
46 dns
/dst_result.c dns
/forward.c dns
/gssapi_link.c \
48 dns
/hmac_link.c dns
/journal.c dns
/key.c \
49 dns
/keytable.c dns
/lib.c dns
/log.c \
50 dns
/lookup.c dns
/master.c dns
/masterdump.c \
51 dns
/message.c dns
/name.c dns
/ncache.c \
52 dns
/nsec.c dns
/openssl_link.c \
53 dns
/openssldh_link.c dns
/openssldsa_link.c \
54 dns
/opensslrsa_link.c dns
/order.c dns
/peer.c \
55 dns
/portlist.c dns
/rbt.c dns
/rbtdb.c \
56 dns
/rbtdb64.c dns
/rcode.c dns
/rdata.c \
57 dns
/rdatalist.c dns
/rdataset.c \
58 dns
/rdatasetiter.c dns
/rdataslab.c \
59 dns
/request.c dns
/resolver.c \
60 dns
/result.c dns
/rootns.c dns
/sdb.c dns
/soa.c \
61 dns
/ssu.c dns
/stats.c dns
/tcpmsg.c dns
/time.c \
62 dns
/timer.c dns
/tkey.c dns
/tsig.c dns
/ttl.c \
63 dns
/validator.c dns
/version.c dns
/view.c \
64 dns
/xfrin.c dns
/zone.c dns
/zonekey.c \
67 SRCS
+= isccc
/alist.c isccc
/base64.c isccc
/cc.c isccc
/ccmsg.c \
68 isccc
/lib.c isccc
/result.c isccc
/sexpr.c isccc
/symtab.c \
71 SRCS
+= lwres
/context.c lwres
/gai_strerror.c lwres
/getaddrinfo.c \
72 lwres
/gethost.c lwres
/getipnode.c lwres
/getnameinfo.c \
73 lwres
/getrrset.c lwres
/herror.c lwres
/lwbuffer.c \
74 lwres
/lwconfig.c lwres
/lwinetaton.c lwres
/lwinetntop.c \
75 lwres
/lwinetpton.c lwres
/lwpacket.c lwres
/lwres_gabn.c \
76 lwres
/lwres_gnba.c lwres
/lwres_grbn.c lwres
/lwres_noop.c \
77 lwres
/lwresutil.c lwres
/print.c lwres
/strtoul.c
79 # contrib/bind/include/* must not override any real system includes
80 CFLAGS
+= -I
${.CURDIR
}/..
/..
/usr.sbin
/named
81 CFLAGS
+= -I
${.CURDIR
}/..
/..
/usr.sbin
/named
/include
83 CFLAGS
+= -Wall
-Wmissing-prototypes
85 CFLAGS
+= -DLIBINTERFACE
=${LIBINTERFACE} \
86 -DLIBREVISION
=${LIBREVISION} \
89 HEADERS
= app.h assertions.h base64.h bitstring.h boolean.h buffer.h \
90 bufferlist.h commandline.h entropy.h error.h event.h \
92 file.h formatcheck.h fsaccess.h hash.h heap.h hex.h hmacmd5.h \
93 interfaceiter.h ipv6.h lang.h
lex.h \
94 lfsr.h lib.h list.h log.h magic.h md5.h mem.h msgcat.h msgs.h \
95 mutexblock.h netaddr.h netscope.h ondestroy.h os.h \
96 parseint.h
print.h quota.h random.h ratelimiter.h \
97 refcount.h region.h resource.h \
98 result.h resultclass.h rwlock.h serial.h sha1.h sockaddr.h \
99 socket.h stdio.h string.h symtab.h task.h taskpool.h timer.h \
100 types.h util.h version.h
102 INCS
= ${HEADERS
:S
/^
/${BIND_DIR}\
/lib\
/isc\
/include\
/isc\
//g
}
103 INCSDIR
= ${INCLUDEDIR}/isc
105 # there are a lot of duplicate names in the libraries we are combining,
106 # give each library its own subdirectory.
108 beforedepend
: isc isccc dns dns
/sec
/dst isc
/nls isc
/unix isccfg lwres
110 isc isccc dns dns
/sec
/dst isc
/nls isc
/unix isccfg lwres
:
112 .ORDER
: isc isc
/nls isc
/unix
114 .ORDER
: dns dns
/sec
/dst
116 CLEANDIRS
+= isc isccc dns isc
/nls isc
/unix isccfg lwres
118 #MAN= assertions.3 bitncmp.3 eventlib.3 heap.3 \
119 # logging.3 memcluster.3 tree.3
122 #MLINKS+= assertions.3 ENSURE.3 \
123 # assertions.3 ENSURE_ERR.3 \
124 # assertions.3 INSIST.3 \
125 # assertions.3 INSIST_ERR.3 \
126 # assertions.3 INVARIANT.3 \
127 # assertions.3 INVARIANT_ERR.3 \
128 # assertions.3 REQUIRE.3 \
129 # assertions.3 REQUIRE_ERR.3 \
130 # assertions.3 assertion_type_to_text.3 \
131 # assertions.3 set_assertion_failure_callback.3 \
132 # eventlib.3 evAddTime.3 \
133 # eventlib.3 evCancelConn.3 \
134 # eventlib.3 evCancelRW.3 \
135 # eventlib.3 evClearIdleTimer.3 \
136 # eventlib.3 evClearTimer.3 \
137 # eventlib.3 evCmpTime.3 \
138 # eventlib.3 evConnFunc.3 \
139 # eventlib.3 evConnect.3 \
140 # eventlib.3 evConsIovec.3 \
141 # eventlib.3 evConsTime.3 \
142 # eventlib.3 evCreate.3 \
143 # eventlib.3 evDefer.3 \
144 # eventlib.3 evDeselectFD.3 \
145 # eventlib.3 evDestroy.3 \
146 # eventlib.3 evDispatch.3 \
147 # eventlib.3 evDo.3 \
148 # eventlib.3 evDrop.3 \
149 # eventlib.3 evFileFunc.3 \
150 # eventlib.3 evGetNext.3 \
151 # eventlib.3 evHold.3 \
152 # eventlib.3 evInitID.3 \
153 # eventlib.3 evLastEventTime.3 \
154 # eventlib.3 evListen.3 \
155 # eventlib.3 evMainLoop.3 \
156 # eventlib.3 evNowTime.3 \
157 # eventlib.3 evPrintf.3 \
158 # eventlib.3 evRead.3 \
159 # eventlib.3 evResetTimer.3 \
160 # eventlib.3 evSelectFD.3 \
161 # eventlib.3 evSetDebug.3 \
162 # eventlib.3 evSetIdleTimer.3 \
163 # eventlib.3 evSetTimer.3 \
164 # eventlib.3 evStreamFunc.3 \
165 # eventlib.3 evSubTime.3 \
166 # eventlib.3 evTestID.3 \
167 # eventlib.3 evTimeRW.3 \
168 # eventlib.3 evTimeSpec.3 \
169 # eventlib.3 evTimeVal.3 \
170 # eventlib.3 evTimerFunc.3 \
171 # eventlib.3 evTouchIdleTimer.3 \
172 # eventlib.3 evTryAccept.3 \
173 # eventlib.3 evUnhold.3 \
174 # eventlib.3 evUntimeRW.3 \
175 # eventlib.3 evUnwait.3 \
176 # eventlib.3 evWaitFor.3 \
177 # eventlib.3 evWaitFunc.3 \
178 # eventlib.3 evWrite.3 \
179 # heap.3 heap_decreased.3 \
180 # heap.3 heap_delete.3 \
181 # heap.3 heap_element.3 \
182 # heap.3 heap_for_each.3 \
183 # heap.3 heap_free.3 \
184 # heap.3 heap_increased.3 \
185 # heap.3 heap_insert.3 \
186 # heap.3 heap_new.3 \
187 # logging.3 log_add_channel.3 \
188 # logging.3 log_category_is_active.3 \
189 # logging.3 log_close_stream.3 \
190 # logging.3 log_dec_references.3 \
191 # logging.3 log_free_channel.3 \
192 # logging.3 log_free_context.3 \
193 # logging.3 log_get_filename.3 \
194 # logging.3 log_get_stream.3 \
195 # logging.3 log_inc_references.3 \
196 # logging.3 log_new_context.3 \
197 # logging.3 log_new_file_channel.3 \
198 # logging.3 log_new_null_channel.3 \
199 # logging.3 log_new_syslog_channel.3 \
200 # logging.3 log_open_stream.3 \
201 # logging.3 log_option.3 \
202 # logging.3 log_remove_channel.3 \
203 # logging.3 log_set_file_owner.3 \
204 # logging.3 log_vwrite.3 \
205 # logging.3 log_write.3 \
206 # memcluster.3 memget.3 \
207 # memcluster.3 memput.3 \
208 # memcluster.3 memstats.3 \
209 # tree.3 tree_add.3 \
210 # tree.3 tree_delete.3 \
211 # tree.3 tree_init.3 \
212 # tree.3 tree_mung.3 \
213 # tree.3 tree_srch.3 \
216 .
include <bsd.lib.mk
>
218 # This has to come after the .include <bsd.lib.mk>. Not sure why.
222 sed
-e
's/@INDOT@//g' \
223 -e
's/@SYSCALL_EXT@/2/g' \
224 -e
's/@SYS_OPS_EXT@/8/g' \
225 < ${.ALLSRC
} > ${.TARGET
}