summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-02-21 21:32:46 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-02-21 21:32:46 +0100
commit6e5ddfadd5d8ede26db097b21670740dd823cbb0 (patch)
treef318172306c3584d206dc4ea5959de42af6e2ade /storage
parente61846bf7535a41d732f01dd2d4fd8480ac799d0 (diff)
downloadmariadb-git-6e5ddfadd5d8ede26db097b21670740dd823cbb0.tar.gz
Yet another attempt of getting DTrace builds done properly
Diffstat (limited to 'storage')
-rw-r--r--storage/archive/Makefile.am6
-rw-r--r--storage/blackhole/Makefile.am6
-rw-r--r--storage/csv/Makefile.am13
-rw-r--r--storage/example/Makefile.am6
-rw-r--r--storage/federated/Makefile.am6
-rw-r--r--storage/myisam/Makefile.am6
-rw-r--r--storage/myisammrg/Makefile.am6
7 files changed, 25 insertions, 24 deletions
diff --git a/storage/archive/Makefile.am b/storage/archive/Makefile.am
index ac3dd995637..2dc4b18e729 100644
--- a/storage/archive/Makefile.am
+++ b/storage/archive/Makefile.am
@@ -76,14 +76,14 @@ DTRACEPROVIDER = probes_mysql.d
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-dtrace_sources:
+probes_mysql.d:
-$(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
+probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif
diff --git a/storage/blackhole/Makefile.am b/storage/blackhole/Makefile.am
index b417c900f11..7ebd8a92e19 100644
--- a/storage/blackhole/Makefile.am
+++ b/storage/blackhole/Makefile.am
@@ -58,14 +58,14 @@ DTRACEPROVIDER = probes_mysql.d
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-dtrace_sources:
+probes_mysql.d:
-$(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
+probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif
diff --git a/storage/csv/Makefile.am b/storage/csv/Makefile.am
index 41111da4c6f..6ce5731092a 100644
--- a/storage/csv/Makefile.am
+++ b/storage/csv/Makefile.am
@@ -48,16 +48,17 @@ libcsv_a_DEPENDENCIES = probes_mysql.o dtrace_files dtrace_providers
CLEANFILES = probes_mysql.o dtrace_files dtrace_providers
DTRACEFILES = libcsv_a-ha_tina.o
DTRACEPROVIDER = probes_mysql.d
-dtrace_sources:
- -$(RM) -f probes_mysql.d
- $(CP) $(top_srcdir)/include/probes_mysql.d probes_mysql.d
- echo timestamp > dtrace_sources
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES) dtrace_sources
+probes_mysql.d:
+ -$(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) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif
diff --git a/storage/example/Makefile.am b/storage/example/Makefile.am
index 6361589ef1c..996e9e77db7 100644
--- a/storage/example/Makefile.am
+++ b/storage/example/Makefile.am
@@ -59,14 +59,14 @@ DTRACEPROVIDER = probes_mysql.d
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-dtrace_sources:
+probes_mysql.d:
-$(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
+probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif
diff --git a/storage/federated/Makefile.am b/storage/federated/Makefile.am
index daf6070533b..4610a33299d 100644
--- a/storage/federated/Makefile.am
+++ b/storage/federated/Makefile.am
@@ -58,14 +58,14 @@ DTRACEPROVIDER = probes_mysql.d
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-dtrace_sources:
+probes_mysql.d:
-$(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
+probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif
diff --git a/storage/myisam/Makefile.am b/storage/myisam/Makefile.am
index c7593cb7fb3..110692301b7 100644
--- a/storage/myisam/Makefile.am
+++ b/storage/myisam/Makefile.am
@@ -159,14 +159,14 @@ DTRACEPROVIDER = probes_mysql.d
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-dtrace_sources:
+probes_mysql.d:
-$(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
+probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif
diff --git a/storage/myisammrg/Makefile.am b/storage/myisammrg/Makefile.am
index 547f50c1d49..0149cc7ee9b 100644
--- a/storage/myisammrg/Makefile.am
+++ b/storage/myisammrg/Makefile.am
@@ -49,14 +49,14 @@ DTRACEPROVIDER = probes_mysql.d
dtrace_files:
echo $(DTRACEFILES) > $@
-dtrace_providers: dtrace_sources
+dtrace_providers: probes_mysql.d
echo $(DTRACEPROVIDER) > $@
-dtrace_sources:
+probes_mysql.d:
-$(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
+probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
endif