Make various adjustments necessary to enable "make dist" to build a BIND source tarball whose contents are complete enough to build binaries, run unit & system tests, and generate documentation on Unix systems. Known outstanding issues: - "make distcheck" does not work yet. - Tests do not work for out-of-tree source-tarball-based builds. - Source tarballs are not complete enough for building on Windows. All of the above will be addressed in due course.
61 lines
1022 B
Makefile
61 lines
1022 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
-DNAMED_PLUGINDIR=\"$(libdir)/named\"
|
|
|
|
lib_LTLIBRARIES = libns.la
|
|
|
|
libns_ladir = $(includedir)/ns
|
|
|
|
libns_la_HEADERS = \
|
|
include/ns/client.h \
|
|
include/ns/hooks.h \
|
|
include/ns/interfacemgr.h \
|
|
include/ns/lib.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 \
|
|
lib.c \
|
|
listenlist.c \
|
|
log.c \
|
|
notify.c \
|
|
query.c \
|
|
server.c \
|
|
sortlist.c \
|
|
stats.c \
|
|
update.c \
|
|
xfrout.c
|
|
|
|
libns_la_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBNS_CFLAGS) \
|
|
$(LIBLTDL_CFLAGS)
|
|
|
|
libns_la_LIBADD = \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS)
|
|
|
|
libns_la_LDFLAGS = \
|
|
$(libns_VERSION_INFO)
|
|
|
|
if HAVE_CMOCKA
|
|
SUBDIRS = tests
|
|
endif
|
|
|
|
EXTRA_DIST = api
|