mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
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.
51 lines
801 B
Makefile
51 lines
801 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
include $(top_srcdir)/Makefile.tests
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBNS_CFLAGS)
|
|
|
|
LDADD += \
|
|
libnstest.la \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(LIBNS_LIBS)
|
|
|
|
check_LTLIBRARIES = libnstest.la
|
|
libnstest_la_SOURCES = nstest.c nstest.h
|
|
check_PROGRAMS = \
|
|
listenlist_test \
|
|
plugin_test
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
if HAVE_LD_WRAP
|
|
|
|
check_PROGRAMS += \
|
|
notify_test \
|
|
query_test
|
|
|
|
notify_test_SOURCES = \
|
|
notify_test.c \
|
|
wrap.c
|
|
|
|
notify_test_LDFLAGS = \
|
|
$(LDFLAGS) \
|
|
-Wl,--wrap=isc_nmhandle_unref
|
|
|
|
query_test_SOURCES = \
|
|
query_test.c \
|
|
wrap.c
|
|
|
|
query_test_LDFLAGS = \
|
|
$(LDFLAGS) \
|
|
-Wl,--wrap=isc_nmhandle_unref
|
|
|
|
endif
|
|
|
|
unit-local: check
|
|
|
|
EXTRA_DIST = testdata
|
|
|
|
LOG_COMPILER = $(builddir)/../../unit-test-driver.sh
|