- move hooks.h to public include directory - ns_hooktable_init() initializes a hook table. if NULL is passed in, it initializes the global hook table - ns_hooktable_save() saves a pointer to the current global hook table. - ns_hooktable_reset() replaces the global hook table with different one - ns_hook_add() adds hooks at specified hook points in a hook table (or the global hook table if the specified table is NULL) - load and unload functions support dlopen() of hook modules (this is adapted from dyndb and not yet functional) - began adding new hook points to query.c
36 lines
965 B
Makefile
36 lines
965 B
Makefile
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VERSION=@BIND9_VERSION@
|
|
|
|
HEADERS = client.h hooks.h interfacemgr.h lib.h listenlist.h log.h \
|
|
notify.h query.h server.h sortlist.h stats.h \
|
|
types.h update.h version.h xfrout.h
|
|
SUBDIRS =
|
|
TARGETS =
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
installdirs:
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/ns
|
|
|
|
install:: installdirs
|
|
for i in ${HEADERS}; do \
|
|
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/ns || exit 1 ; \
|
|
done
|
|
|
|
uninstall::
|
|
for i in ${HEADERS}; do \
|
|
rm -f ${DESTDIR}${includedir}/ns/$$i || exit 1 ; \
|
|
done
|