mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05: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.
75 lines
1.1 KiB
Makefile
75 lines
1.1 KiB
Makefile
include $(top_srcdir)/Makefile.top
|
|
include $(top_srcdir)/Makefile.tests
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS)
|
|
|
|
LDADD += \
|
|
libisctest.la \
|
|
$(LIBISC_LIBS)
|
|
|
|
check_LTLIBRARIES = libisctest.la
|
|
libisctest_la_SOURCES = \
|
|
../unix/socket_p.h \
|
|
isctest.c \
|
|
isctest.h
|
|
|
|
check_PROGRAMS = \
|
|
aes_test \
|
|
buffer_test \
|
|
counter_test \
|
|
crc64_test \
|
|
errno_test \
|
|
file_test \
|
|
hash_test \
|
|
heap_test \
|
|
hmac_test \
|
|
ht_test \
|
|
lex_test \
|
|
md_test \
|
|
mem_test \
|
|
netaddr_test \
|
|
parse_test \
|
|
pool_test \
|
|
quota_test \
|
|
radix_test \
|
|
random_test \
|
|
regex_test \
|
|
result_test \
|
|
safe_test \
|
|
siphash_test \
|
|
sockaddr_test \
|
|
socket_test \
|
|
symtab_test \
|
|
task_test \
|
|
taskpool_test \
|
|
time_test \
|
|
timer_test
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
hmac_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
hmac_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
md_test_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
$(OPENSSL_CFLAGS)
|
|
|
|
md_test_LDADD = \
|
|
$(LDADD) \
|
|
$(OPENSSL_LIBS)
|
|
|
|
random_test_LDADD = \
|
|
$(LDADD) \
|
|
-lm
|
|
|
|
unit-local: check
|
|
|
|
EXTRA_DIST = testdata
|
|
|
|
LOG_COMPILER = $(builddir)/../../unit-test-driver.sh
|