mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-03 20:40:08 -05:00
The Makefile.tests was modifying global AM_CFLAGS and LDADD and could accidentally pull /usr/include to be listed before the internal libraries, which is known to cause problems if the headers from the previous version of BIND 9 has been installed on the build machine.
17 lines
358 B
Makefile
17 lines
358 B
Makefile
# Hey Emacs, this is -*- makefile-automake -*- file!
|
|
# vim: filetype=automake
|
|
|
|
unit-local: check
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
LOG_COMPILER = $(builddir)/../../unit-test-driver.sh
|
|
|
|
AM_CPPFLAGS += \
|
|
$(CMOCKA_CFLAGS) \
|
|
-DNAMED_PLUGINDIR=\"$(libdir)/named\" \
|
|
-DSKIPPED_TEST_EXIT_CODE=77 \
|
|
-DTESTS_DIR=\"$(abs_srcdir)\"
|
|
|
|
LDADD += \
|
|
$(CMOCKA_LIBS)
|