summaryrefslogtreecommitdiff
path: root/storage/csv
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/csv
parente61846bf7535a41d732f01dd2d4fd8480ac799d0 (diff)
downloadmariadb-git-6e5ddfadd5d8ede26db097b21670740dd823cbb0.tar.gz
Yet another attempt of getting DTrace builds done properly
Diffstat (limited to 'storage/csv')
-rw-r--r--storage/csv/Makefile.am13
1 files changed, 7 insertions, 6 deletions
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