mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-12-20 00:55:29 +08: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.
31 lines
553 B
Makefile
31 lines
553 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBDNS_CFLAGS) \
|
|
-DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\"
|
|
|
|
LDADD += \
|
|
libconfgen.la \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBDNS_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libconfgen.la
|
|
|
|
libconfgen_la_SOURCES = \
|
|
include/confgen/os.h \
|
|
keygen.c \
|
|
keygen.h \
|
|
os.c \
|
|
util.c \
|
|
util.h
|
|
|
|
sbin_PROGRAMS = tsig-keygen rndc-confgen
|
|
|
|
install-exec-hook:
|
|
ln -f $(DESTDIR)$(sbindir)/tsig-keygen \
|
|
$(DESTDIR)$(sbindir)/ddns-confgen
|
|
|
|
uninstall-hook:
|
|
-rm -f $(DESTDIR)$(sbindir)/ddns-confgen
|