mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixing some issues in the build when using DTrace probes
Probe definition file is now a separate file that is copied during build to the correct location, this enforces dependency requirements correctly and allows builds to work when using the current or separate build directories
This commit is contained in:
parent
6755c5dd27
commit
eb07819704
12 changed files with 11 additions and 11 deletions
|
@ -72,7 +72,7 @@ dist-hook:
|
|||
|
||||
probes_mysql.d:
|
||||
if ! test -f probes_mysql.d ; then \
|
||||
$(CP) -f $(top_srcdir)/include/probes_mysql.d probes_mysql.d; \
|
||||
$(CP) -f $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d; \
|
||||
fi
|
||||
|
||||
DTRACEPROVIDER = probes_mysql.d
|
||||
|
|
|
@ -139,7 +139,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -236,7 +236,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
|
||||
DTRACEDIRS = . ../mysys $(patsubst %,$(top_builddir)/storage/%,@mysql_se_dirs@)
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -62,7 +62,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -55,7 +55,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -63,7 +63,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -62,7 +62,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -64,7 +64,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -163,7 +163,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
|
@ -53,7 +53,7 @@ dtrace_providers: probes_mysql.d
|
|||
echo $(DTRACEPROVIDER) > $@
|
||||
probes_mysql.d:
|
||||
-$(RM) -f probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
|
||||
$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
|
||||
echo timestamp > dtrace_sources
|
||||
|
||||
probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
|
||||
|
|
Loading…
Add table
Reference in a new issue