summaryrefslogtreecommitdiffstats
path: root/lib/bind9/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bind9/Makefile.am')
-rw-r--r--lib/bind9/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/bind9/Makefile.am b/lib/bind9/Makefile.am
new file mode 100644
index 0000000..7ec5bdd
--- /dev/null
+++ b/lib/bind9/Makefile.am
@@ -0,0 +1,36 @@
+include $(top_srcdir)/Makefile.top
+
+lib_LTLIBRARIES = libbind9.la
+
+libbind9_ladir = $(includedir)/bind9
+libbind9_la_HEADERS = \
+ include/bind9/check.h \
+ include/bind9/getaddresses.h
+
+libbind9_la_SOURCES = \
+ $(libbind9_la_HEADERS) \
+ check.c \
+ getaddresses.c
+
+libbind9_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(LIBISC_CFLAGS) \
+ $(LIBDNS_CFLAGS) \
+ $(LIBISCCFG_CFLAGS) \
+ $(LIBNS_CFLAGS) \
+ $(LIBBIND9_CFLAGS) \
+ $(OPENSSL_CFLAGS)
+
+libbind9_la_LIBADD = \
+ $(LIBNS_LIBS) \
+ $(LIBISCCFG_LIBS) \
+ $(LIBDNS_LIBS) \
+ $(LIBISC_LIBS)
+
+libbind9_la_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ -release "$(PACKAGE_VERSION)"
+
+if HAVE_DNSTAP
+libbind9_la_CPPFLAGS += $(DNSTAP_CFLAGS)
+endif