The libirs contained own re-implementations of the getaddrinfo, getnameinfo and gai_strerror + irs_context and irs_dnsconf API that was unused anywhere in the BIND 9. Keep just the irs_resonf API that is being extensively used to parse /etc/resolv.conf by several of BIND 9 tools.
32 lines
495 B
Makefile
32 lines
495 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
lib_LTLIBRARIES = libirs.la
|
|
|
|
libirs_ladir = $(includedir)/irs
|
|
libirs_la_HEADERS = \
|
|
include/irs/resconf.h
|
|
|
|
libirs_la_SOURCES = \
|
|
$(libirs_la_HEADERS) \
|
|
resconf.c
|
|
|
|
libirs_la_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBISCCFG_CFLAGS) \
|
|
$(LIBIRS_CFLAGS)
|
|
|
|
libirs_la_LIBADD = \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(LIBISCCFG_LIBS)
|
|
|
|
libirs_la_LDFLAGS = \
|
|
$(libirs_VERSION_INFO)
|
|
|
|
|
|
if HAVE_CMOCKA
|
|
SUBDIRS = tests
|
|
endif
|