mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 11:32:01 -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
583 B
Makefile
34 lines
583 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
$(LIBISCCFG_CFLAGS) \
|
|
$(LIBIRS_CFLAGS) \
|
|
$(LIBBIND9_CFLAGS) \
|
|
$(GSSAPI_CFLAGS) \
|
|
$(KRB5_CFLAGS) \
|
|
$(READLINE_CFLAGS)
|
|
|
|
AM_CPPFLAGS += \
|
|
-DSESSION_KEYFILE=\"${localstatedir}/run/named/session.key\"
|
|
|
|
LDADD += \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS) \
|
|
$(LIBISCCFG_LIBS) \
|
|
$(LIBIRS_LIBS) \
|
|
$(LIBBIND9_LIBS) \
|
|
$(GSSAPI_LIBS) \
|
|
$(KRB5_LIBS)
|
|
|
|
if HAVE_READLINE
|
|
LDADD += \
|
|
$(READLINE_LIBS)
|
|
endif
|
|
|
|
bin_PROGRAMS = nsupdate
|
|
|
|
nsupdate_SOURCES = \
|
|
nsupdate.c \
|
|
../dig/readline.h
|