mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 09:51:03 -05:00
This adds support for User Statically Defined Tracing (USDT). On Linux, this uses the header from SystemTap and dtrace utility, but the support is universal as long as dtrace is available. Also add the required infrastructure to add probes to libisc, libdns and libns libraries, where most of the probes will be.
65 lines
1.2 KiB
Makefile
65 lines
1.2 KiB
Makefile
# Hey Emacs, this is -*- makefile-automake -*- file!
|
|
# vim: filetype=automake
|
|
|
|
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
|
|
|
AM_CFLAGS = \
|
|
$(STD_CFLAGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
$(STD_CPPFLAGS) \
|
|
-include $(top_builddir)/config.h \
|
|
-I$(srcdir)/include
|
|
|
|
AM_LDFLAGS = \
|
|
$(STD_LDFLAGS)
|
|
LDADD =
|
|
|
|
BUILT_SOURCES =
|
|
CLEANFILES =
|
|
|
|
if HOST_MACOS
|
|
AM_LDFLAGS += \
|
|
-Wl,-flat_namespace
|
|
endif HOST_MACOS
|
|
|
|
LIBISC_CFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/lib/isc/include \
|
|
-I$(top_builddir)/lib/isc/include
|
|
|
|
LIBISC_LIBS = $(top_builddir)/lib/isc/libisc.la
|
|
if HAVE_DTRACE
|
|
LIBISC_DTRACE = $(top_builddir)/lib/isc/probes.lo
|
|
endif
|
|
|
|
LIBDNS_CFLAGS = \
|
|
-I$(top_srcdir)/lib/dns/include \
|
|
-I$(top_builddir)/lib/dns/include
|
|
|
|
LIBDNS_LIBS = \
|
|
$(top_builddir)/lib/dns/libdns.la
|
|
if HAVE_DTRACE
|
|
LIBDNS_DTRACE = $(top_builddir)/lib/dns/probes.lo
|
|
endif
|
|
|
|
LIBNS_CFLAGS = \
|
|
-I$(top_srcdir)/lib/ns/include
|
|
|
|
LIBNS_LIBS = \
|
|
$(top_builddir)/lib/ns/libns.la
|
|
if HAVE_DTRACE
|
|
LIBNS_DTRACE = $(top_builddir)/lib/ns/probes.lo
|
|
endif
|
|
|
|
LIBISCCFG_CFLAGS = \
|
|
-I$(top_srcdir)/lib/isccfg/include
|
|
|
|
LIBISCCFG_LIBS = \
|
|
$(top_builddir)/lib/isccfg/libisccfg.la
|
|
|
|
LIBISCCC_CFLAGS = \
|
|
-I$(top_srcdir)/lib/isccc/include/
|
|
|
|
LIBISCCC_LIBS = \
|
|
$(top_builddir)/lib/isccc/libisccc.la
|