1 include $(top_srcdir)/Makefile.top 2 3 lib_LTLIBRARIES = libisc.la 4 5 libisc_ladir = $(includedir)/isc 6 libisc_la_HEADERS = \ 7 include/isc/ascii.h \ 8 include/isc/assertions.h \ 9 include/isc/async.h \ 10 include/isc/atomic.h \ 11 include/isc/attributes.h \ 12 include/isc/backtrace.h \ 13 include/isc/barrier.h \ 14 include/isc/base32.h \ 15 include/isc/base64.h \ 16 include/isc/buffer.h \ 17 include/isc/commandline.h \ 18 include/isc/condition.h \ 19 include/isc/counter.h \ 20 include/isc/crc64.h \ 21 include/isc/dir.h \ 22 include/isc/dnsstream.h \ 23 include/isc/endian.h \ 24 include/isc/errno.h \ 25 include/isc/error.h \ 26 include/isc/file.h \ 27 include/isc/fips.h \ 28 include/isc/formatcheck.h \ 29 include/isc/fuzz.h \ 30 include/isc/getaddresses.h \ 31 include/isc/hash.h \ 32 include/isc/hashmap.h \ 33 include/isc/heap.h \ 34 include/isc/helper.h \ 35 include/isc/hex.h \ 36 include/isc/histo.h \ 37 include/isc/hmac.h \ 38 include/isc/ht.h \ 39 include/isc/httpd.h \ 40 include/isc/interfaceiter.h \ 41 include/isc/iterated_hash.h \ 42 include/isc/job.h \ 43 include/isc/lang.h \ 44 include/isc/lex.h \ 45 include/isc/list.h \ 46 include/isc/log.h \ 47 include/isc/loop.h \ 48 include/isc/magic.h \ 49 include/isc/managers.h \ 50 include/isc/md.h \ 51 include/isc/mem.h \ 52 include/isc/meminfo.h \ 53 include/isc/mutex.h \ 54 include/isc/mutexblock.h \ 55 include/isc/net.h \ 56 include/isc/netaddr.h \ 57 include/isc/netmgr.h \ 58 include/isc/netscope.h \ 59 include/isc/nonce.h \ 60 include/isc/once.h \ 61 include/isc/os.h \ 62 include/isc/overflow.h \ 63 include/isc/parseint.h \ 64 include/isc/pause.h \ 65 include/isc/portset.h \ 66 include/isc/proxy2.h \ 67 include/isc/queue.h \ 68 include/isc/quota.h \ 69 include/isc/radix.h \ 70 include/isc/random.h \ 71 include/isc/ratelimiter.h \ 72 include/isc/refcount.h \ 73 include/isc/regex.h \ 74 include/isc/region.h \ 75 include/isc/result.h \ 76 include/isc/rwlock.h \ 77 include/isc/safe.h \ 78 include/isc/serial.h \ 79 include/isc/signal.h \ 80 include/isc/siphash.h \ 81 include/isc/sockaddr.h \ 82 include/isc/spinlock.h \ 83 include/isc/stats.h \ 84 include/isc/stdio.h \ 85 include/isc/stdtime.h \ 86 include/isc/strerr.h \ 87 include/isc/string.h \ 88 include/isc/symtab.h \ 89 include/isc/syslog.h \ 90 include/isc/thread.h \ 91 include/isc/tid.h \ 92 include/isc/time.h \ 93 include/isc/timer.h \ 94 include/isc/tls.h \ 95 include/isc/tm.h \ 96 include/isc/types.h \ 97 include/isc/urcu.h \ 98 include/isc/url.h \ 99 include/isc/utf8.h \ 100 include/isc/util.h \ 101 include/isc/uv.h \ 102 include/isc/xml.h \ 103 include/isc/work.h 104 105 libisc_la_SOURCES = \ 106 $(libisc_la_HEADERS) \ 107 netmgr/netmgr-int.h \ 108 netmgr/netmgr.c \ 109 netmgr/proxystream.c \ 110 netmgr/proxyudp.c \ 111 netmgr/socket.c \ 112 netmgr/streamdns.c \ 113 netmgr/tcp.c \ 114 netmgr/timer.c \ 115 netmgr/tlsstream.c \ 116 netmgr/udp.c \ 117 ascii.c \ 118 assertions.c \ 119 async.c \ 120 async_p.h \ 121 backtrace.c \ 122 base32.c \ 123 base64.c \ 124 commandline.c \ 125 condition.c \ 126 counter.c \ 127 crc64.c \ 128 dir.c \ 129 errno.c \ 130 errno2result.c \ 131 errno2result.h \ 132 error.c \ 133 file.c \ 134 fips.c \ 135 getaddresses.c \ 136 hash.c \ 137 hashmap.c \ 138 heap.c \ 139 helper.c \ 140 hex.c \ 141 histo.c \ 142 hmac.c \ 143 ht.c \ 144 httpd.c \ 145 interfaceiter.c \ 146 iterated_hash.c \ 147 jemalloc_shim.h \ 148 job.c \ 149 job_p.h \ 150 lex.c \ 151 lib.c \ 152 log.c \ 153 loop.c \ 154 loop_p.h \ 155 managers.c \ 156 md.c \ 157 mem.c \ 158 mem_p.h \ 159 meminfo.c \ 160 mutex.c \ 161 mutex_p.h \ 162 mutexblock.c \ 163 net.c \ 164 netaddr.c \ 165 netscope.c \ 166 openssl_shim.c \ 167 openssl_shim.h \ 168 os.c \ 169 os_p.h \ 170 parseint.c \ 171 picohttpparser.c \ 172 picohttpparser.h \ 173 portset.c \ 174 probes.d \ 175 proxy2.c \ 176 quota.c \ 177 radix.c \ 178 random.c \ 179 ratelimiter.c \ 180 regex.c \ 181 region.c \ 182 result.c \ 183 safe.c \ 184 serial.c \ 185 signal.c \ 186 sockaddr.c \ 187 stats.c \ 188 stdio.c \ 189 stdtime.c \ 190 string.c \ 191 symtab.c \ 192 syslog.c \ 193 thread.c \ 194 tid.c \ 195 time.c \ 196 timer.c \ 197 tls.c \ 198 tm.c \ 199 url.c \ 200 utf8.c \ 201 uv.c \ 202 xml.c \ 203 work.c 204 205 if USE_ISC_RWLOCK 206 libisc_la_SOURCES += \ 207 rwlock.c 208 endif USE_ISC_RWLOCK 209 210 libisc_la_CPPFLAGS = \ 211 $(AM_CPPFLAGS) \ 212 $(LIBISC_CFLAGS) \ 213 $(LIBUV_CFLAGS) \ 214 $(OPENSSL_CFLAGS) \ 215 $(ZLIB_CFLAGS) 216 217 libisc_la_LDFLAGS = \ 218 $(AM_LDFLAGS) \ 219 -release "$(PACKAGE_VERSION)" 220 221 libisc_la_LIBADD = \ 222 $(LIBUV_LIBS) \ 223 $(OPENSSL_LIBS) \ 224 $(ZLIB_LIBS) 225 226 if HAVE_JEMALLOC 227 libisc_la_CPPFLAGS += \ 228 $(JEMALLOC_CFLAGS) 229 230 libisc_la_LIBADD += \ 231 $(JEMALLOC_LIBS) 232 endif HAVE_JEMALLOC 233 234 if HAVE_JSON_C 235 libisc_la_CPPFLAGS += \ 236 $(JSON_C_CFLAGS) 237 238 libisc_la_LIBADD += \ 239 $(JSON_C_LIBS) 240 endif HAVE_JSON_C 241 242 if HAVE_LIBNGHTTP2 243 libisc_la_SOURCES += \ 244 netmgr/http.c 245 246 libisc_la_CPPFLAGS += \ 247 $(LIBNGHTTP2_CFLAGS) 248 249 libisc_la_LIBADD += \ 250 $(LIBNGHTTP2_LIBS) 251 endif 252 253 if HAVE_LIBXML2 254 libisc_la_CPPFLAGS += \ 255 $(LIBXML2_CFLAGS) 256 257 libisc_la_LIBADD += \ 258 $(LIBXML2_LIBS) 259 endif HAVE_LIBXML2 260 261 if !HAVE_SYSTEMTAP 262 DTRACE_DEPS = libisc_la-rwlock.lo libisc_la-job.lo 263 DTRACE_OBJS = .libs/libisc_la-rwlock.$(OBJEXT) .libs/libisc_la-job.$(OBJEXT) 264 endif 265 266 include $(top_srcdir)/Makefile.dtrace 267 268 libisc_la_LIBADD += $(DTRACE_LIBADD) 269