mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-04-18 09:44:09 +03:00
The DTrace generated files were missing dependency on the Makefile, so they didn't get regenerated when ./configure was re-run. This would create problem especially between ./configure --enable-tracing vs ./configure --disable-tracing invocations.
21 lines
562 B
Makefile
21 lines
562 B
Makefile
# Hey Emacs, this is -*- makefile-automake -*- file!
|
|
# vim: filetype=automake
|
|
|
|
AM_V_DTRACE = $(AM_V_DTRACE_@AM_V@)
|
|
AM_V_DTRACE_ = $(AM_V_DTRACE_@AM_DEFAULT_V@)
|
|
AM_V_DTRACE_0 = @echo " DTRACE $@";
|
|
|
|
BUILT_SOURCES += probes.h
|
|
CLEANFILES += probes.h probes.o
|
|
|
|
probes.h: Makefile probes.d
|
|
$(AM_V_DTRACE)$(DTRACE) -s $(srcdir)/probes.d -h -o $@
|
|
probes.lo: Makefile probes.d $(DTRACE_DEPS)
|
|
$(AM_V_DTRACE)$(LIBTOOL) --mode=compile --tag=CC $(DTRACE) -s $(srcdir)/probes.d -G -o $@ $(DTRACE_OBJS)
|
|
|
|
if HAVE_DTRACE
|
|
if !HOST_MACOS
|
|
DTRACE_LIBADD = probes.lo
|
|
endif
|
|
endif
|