=== modified file 'storage/example/Makefile.am' --- storage/example/Makefile.am 2009-11-11 10:01:09 +0000 +++ storage/example/Makefile.am 2009-11-11 21:13:02 +0000 @@ -52,9 +52,13 @@ if HAVE_DTRACE_DASH_G libexample_a_LIBADD = probes_mysql.o libexample_a_DEPENDENCIES = probes_mysql.o +ha_example_la_LIBADD = probes_sh_mysql.o +ha_example_la_DEPENDENCIES = probes_sh_mysql.o CLEANFILES = BUILT_SOURCES = -DTRACEFILES = libexample_a-ha_example.o +DTRACEFILES = libexample_a-ha_example.c +DTRACESHAREDFILES = ha_example_la-ha_example.o +DTRACESHAREDDEPS = ha_example_la-ha_example.lo DTRACEPROVIDER = probes_mysql.d dtrace_files: @@ -68,6 +72,9 @@ probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES) $(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@ +probes_sh_mysql.o: $(DTRACEPROVIDER) $(DTRACESHAREDDEPS) + $(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACESHAREDFILES) -o $@ + $(CP) $(DTRACESHAREDFILES) .libs endif # Don't update the files from bitkeeper