diff options
Diffstat (limited to 'storage/federated/Makefile.am')
-rw-r--r-- | storage/federated/Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/storage/federated/Makefile.am b/storage/federated/Makefile.am index 3c2941263fe..daf6070533b 100644 --- a/storage/federated/Makefile.am +++ b/storage/federated/Makefile.am @@ -54,13 +54,18 @@ libfederated_a_LIBADD = probes_mysql.o libfederated_a_DEPENDENCIES = probes_mysql.o dtrace_files dtrace_providers CLEANFILES = probes_mysql.o dtrace_files dtrace_providers DTRACEFILES = libfederated_a-ha_federated.o -DTRACEPROVIDER = $(top_srcdir)/sql/probes_mysql.d +DTRACEPROVIDER = probes_mysql.d dtrace_files: echo $(DTRACEFILES) > $@ -dtrace_providers: +dtrace_providers: dtrace_sources echo $(DTRACEPROVIDER) > $@ -probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES) +dtrace_sources: + -$(RM) -f probes_mysql.d + $(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d + echo timestamp > dtrace_sources + +probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES) dtrace_sources $(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@ endif |