mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
The <isc/readline.h> header provided a compatibility shim to use when other non-GNU readline libraries are in use. The two places where readline library is being used is nslookup and nsupdate, so the header file has been moved to bin/dig directory and it's directly included from bin/nsupdate. This also conceals any readline headers exposed from the libisc headers.
34 lines
581 B
Makefile
34 lines
581 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
|