mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 02:42:33 -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.
34 lines
675 B
Makefile
34 lines
675 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBNS_CFLAGS) \
|
|
$(LIBISCCFG_CFLAGS) \
|
|
$(LIBBIND9_CFLAGS)
|
|
|
|
AM_CPPFLAGS += \
|
|
-DNAMED_CONFFILE=\"${sysconfdir}/named.conf\"
|
|
|
|
noinst_LTLIBRARIES = libcheck-tool.la
|
|
|
|
libcheck_tool_la_SOURCES = \
|
|
check-tool.h \
|
|
check-tool.c
|
|
|
|
LDADD += \
|
|
libcheck-tool.la \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(LIBNS_LIBS) \
|
|
$(LIBISCCFG_LIBS) \
|
|
$(LIBBIND9_LIBS)
|
|
|
|
bin_PROGRAMS = named-checkconf named-checkzone
|
|
|
|
install-exec-hook:
|
|
ln -f $(DESTDIR)$(bindir)/named-checkzone \
|
|
$(DESTDIR)$(bindir)/named-compilezone
|
|
|
|
uninstall-hook:
|
|
-rm -f $(DESTDIR)$(bindir)/named-compilezone
|