1include $(top_srcdir)/Makefile.top
2
3lib_LTLIBRARIES = libisc.la
4
5libisc_ladir = $(includedir)/isc
6libisc_la_HEADERS =			\
7	include/isc/aes.h		\
8	include/isc/align.h		\
9	include/isc/app.h		\
10	include/isc/assertions.h	\
11	include/isc/astack.h		\
12	include/isc/atomic.h		\
13	include/isc/attributes.h	\
14	include/isc/backtrace.h		\
15	include/isc/barrier.h		\
16	include/isc/base32.h		\
17	include/isc/base64.h		\
18	include/isc/buffer.h		\
19	include/isc/cmocka.h		\
20	include/isc/commandline.h	\
21	include/isc/condition.h		\
22	include/isc/counter.h		\
23	include/isc/crc64.h		\
24	include/isc/deprecated.h	\
25	include/isc/dir.h		\
26	include/isc/endian.h		\
27	include/isc/errno.h		\
28	include/isc/error.h		\
29	include/isc/event.h		\
30	include/isc/eventclass.h	\
31	include/isc/file.h		\
32	include/isc/formatcheck.h	\
33	include/isc/fuzz.h		\
34	include/isc/glob.h		\
35	include/isc/hash.h		\
36	include/isc/heap.h		\
37	include/isc/hex.h		\
38	include/isc/hmac.h		\
39	include/isc/ht.h		\
40	include/isc/httpd.h		\
41	include/isc/interfaceiter.h	\
42	include/isc/iterated_hash.h	\
43	include/isc/lang.h		\
44	include/isc/lex.h		\
45	include/isc/list.h		\
46	include/isc/log.h		\
47	include/isc/magic.h		\
48	include/isc/managers.h		\
49	include/isc/md.h		\
50	include/isc/mem.h		\
51	include/isc/meminfo.h		\
52	include/isc/mutex.h		\
53	include/isc/mutexblock.h	\
54	include/isc/net.h		\
55	include/isc/netaddr.h		\
56	include/isc/netdb.h		\
57	include/isc/netmgr.h		\
58	include/isc/netscope.h		\
59	include/isc/nonce.h		\
60	include/isc/offset.h		\
61	include/isc/once.h		\
62	include/isc/os.h		\
63	include/isc/parseint.h		\
64	include/isc/pool.h		\
65	include/isc/portset.h		\
66	include/isc/print.h		\
67	include/isc/quota.h		\
68	include/isc/radix.h		\
69	include/isc/random.h		\
70	include/isc/ratelimiter.h	\
71	include/isc/refcount.h		\
72	include/isc/regex.h		\
73	include/isc/region.h		\
74	include/isc/resource.h		\
75	include/isc/result.h		\
76	include/isc/rwlock.h		\
77	include/isc/safe.h		\
78	include/isc/serial.h		\
79	include/isc/siphash.h		\
80	include/isc/sockaddr.h		\
81	include/isc/stat.h		\
82	include/isc/stats.h		\
83	include/isc/stdatomic.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/task.h		\
91	include/isc/taskpool.h		\
92	include/isc/thread.h		\
93	include/isc/time.h		\
94	include/isc/timer.h		\
95	include/isc/tls.h		\
96	include/isc/tm.h		\
97	include/isc/types.h		\
98	include/isc/url.h		\
99	include/isc/utf8.h		\
100	include/isc/util.h
101
102libisc_la_SOURCES =		\
103	$(libisc_la_HEADERS)	\
104	netmgr/netmgr-int.h	\
105	netmgr/netmgr.c		\
106	netmgr/tcp.c		\
107	netmgr/tcpdns.c		\
108	netmgr/timer.c		\
109	netmgr/tlsdns.c		\
110	netmgr/udp.c		\
111	netmgr/uv-compat.c	\
112	netmgr/uv-compat.h	\
113	netmgr/uverr2result.c	\
114	aes.c			\
115	app.c			\
116	assertions.c		\
117	astack.c		\
118	backtrace.c		\
119	base32.c		\
120	base64.c		\
121	buffer.c		\
122	commandline.c		\
123	condition.c		\
124	counter.c		\
125	crc64.c			\
126	dir.c			\
127	entropy.c		\
128	entropy_private.h	\
129	errno.c			\
130	errno2result.c		\
131	errno2result.h		\
132	error.c			\
133	event.c			\
134	file.c			\
135	glob.c			\
136	hash.c			\
137	heap.c			\
138	hex.c			\
139	hmac.c			\
140	ht.c			\
141	httpd.c			\
142	interfaceiter.c		\
143	iterated_hash.c		\
144	jemalloc_shim.h		\
145	lex.c			\
146	lib.c			\
147	log.c			\
148	managers.c		\
149	md.c			\
150	mem.c			\
151	mem_p.h			\
152	meminfo.c		\
153	mutex.c			\
154	mutexblock.c		\
155	net.c			\
156	netaddr.c		\
157	netmgr_p.h		\
158	netscope.c		\
159	nonce.c			\
160	openssl_shim.c		\
161	openssl_shim.h		\
162	os.c			\
163	os_p.h			\
164	parseint.c		\
165	pool.c			\
166	picohttpparser.c	\
167	picohttpparser.h	\
168	portset.c		\
169	quota.c			\
170	radix.c			\
171	random.c		\
172	ratelimiter.c		\
173	regex.c			\
174	region.c		\
175	resource.c		\
176	result.c		\
177	rwlock.c		\
178	safe.c			\
179	serial.c		\
180	siphash.c		\
181	sockaddr.c		\
182	stats.c			\
183	stdio.c			\
184	stdtime.c		\
185	string.c		\
186	symtab.c		\
187	syslog.c		\
188	task.c			\
189	task_p.h		\
190	taskpool.c		\
191	thread.c		\
192	time.c			\
193	timer.c			\
194	timer_p.h		\
195	tls.c			\
196	tls_p.h			\
197	tm.c			\
198	trampoline.c		\
199	trampoline_p.h		\
200	url.c			\
201	utf8.c
202
203libisc_la_CPPFLAGS =		\
204	$(AM_CPPFLAGS)		\
205	$(LIBISC_CFLAGS)	\
206	$(LIBUV_CFLAGS)		\
207	$(OPENSSL_CFLAGS)	\
208	$(ZLIB_CFLAGS)
209
210libisc_la_LDFLAGS =		\
211	$(AM_LDFLAGS)		\
212	-release "$(PACKAGE_VERSION)"
213
214libisc_la_LIBADD =		\
215	$(LIBUV_LIBS)		\
216	$(OPENSSL_LIBS)		\
217	$(ZLIB_LIBS)
218
219if HAVE_JEMALLOC
220libisc_la_CPPFLAGS +=		\
221	$(JEMALLOC_CFLAGS)
222
223libisc_la_LIBADD +=		\
224	$(JEMALLOC_LIBS)
225endif HAVE_JEMALLOC
226
227if HAVE_JSON_C
228libisc_la_CPPFLAGS +=		\
229	$(JSON_C_CFLAGS)
230
231libisc_la_LIBADD +=		\
232	$(JSON_C_LIBS)
233endif HAVE_JSON_C
234
235if HAVE_LIBNGHTTP2
236libisc_la_SOURCES +=		\
237	netmgr/http.c		\
238	netmgr/tlsstream.c
239
240libisc_la_CPPFLAGS +=		\
241	$(LIBNGHTTP2_CFLAGS)
242
243libisc_la_LIBADD +=		\
244	$(LIBNGHTTP2_LIBS)
245endif
246
247if HAVE_LIBXML2
248libisc_la_CPPFLAGS +=		\
249	$(LIBXML2_CFLAGS)
250
251libisc_la_LIBADD +=		\
252	$(LIBXML2_LIBS)
253endif HAVE_LIBXML2
254