summaryrefslogtreecommitdiffstats
path: root/lib/ns/Makefile.am
blob: eb86aebe1861aa773c86040b226780c0be41f121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
include $(top_srcdir)/Makefile.top

AM_CPPFLAGS +=				\
	-DNAMED_PLUGINDIR=\"$(pkglibdir)\"

lib_LTLIBRARIES = libns.la

libns_ladir = $(includedir)/ns

libns_la_HEADERS =			\
	include/ns/client.h		\
	include/ns/events.h		\
	include/ns/hooks.h		\
	include/ns/interfacemgr.h	\
	include/ns/listenlist.h		\
	include/ns/log.h		\
	include/ns/notify.h		\
	include/ns/query.h		\
	include/ns/server.h		\
	include/ns/sortlist.h		\
	include/ns/stats.h		\
	include/ns/types.h		\
	include/ns/update.h		\
	include/ns/xfrout.h

libns_la_SOURCES =		\
	$(libns_la_HEADERS)	\
	client.c		\
	hooks.c			\
	interfacemgr.c		\
	listenlist.c		\
	log.c			\
	notify.c		\
	query.c			\
	server.c		\
	sortlist.c		\
	stats.c			\
	update.c		\
	xfrout.c

libns_la_CPPFLAGS =				\
	$(AM_CPPFLAGS)				\
	$(LIBDNS_CFLAGS)			\
	$(LIBISC_CFLAGS)			\
	$(LIBNS_CFLAGS)				\
	$(LIBUV_CFLAGS)				\
	$(OPENSSL_CFLAGS)

libns_la_LIBADD =	\
	$(LIBDNS_LIBS)	\
	$(LIBISC_LIBS)	\
	$(LIBUV_LIBS)	\
	$(OPENSSL_LIBS)

libns_la_LDFLAGS =		\
	$(AM_LDFLAGS)		\
	-release "$(PACKAGE_VERSION)"