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