]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Regenerate the DTrace generated files on configure change
authorOndřej Surý <ondrej@isc.org>
Wed, 23 Aug 2023 05:40:20 +0000 (07:40 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 23 Aug 2023 05:40:20 +0000 (07:40 +0200)
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.

Makefile.dtrace

index b5c9ebc4d5a7aad1dc8390e126d1c83e9fcb0500..9cb6b002b92baf8585bdacbec38e26a86c8f900b 100644 (file)
@@ -8,9 +8,9 @@ AM_V_DTRACE_0 = @echo "  DTRACE   $@";
 BUILT_SOURCES += probes.h
 CLEANFILES += probes.h probes.o
 
-probes.h: probes.d
+probes.h: Makefile probes.d
        $(AM_V_DTRACE)$(DTRACE) -s $(srcdir)/probes.d -h -o $@
-probes.lo: probes.d $(DTRACE_DEPS)
+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