Fix dependency issue for dtrace

This commit is contained in:
MySQL Build Team 2009-01-28 00:04:05 +01:00
parent eead3aead1
commit 55cbf08aed

View file

@ -226,8 +226,10 @@ probes_all.o: probes_mysql.d $(DTRACEFILES)
objects=`for i in $(DTRACEDIRS); do f=\`cat $$i/dtrace_files 2>/dev/null\`; for j in $$f; do test -f $$i/$$j && echo "$$i/$$j "; done; done`; \
$(DTRACE) $(DTRACEFLAGS) -G $$providers $$objects -o $@
probes_libndb.o: probes_mysql.d
$(DTRACE) $(DTRACEFLAGS) -G -s $^ .libs/libndb_la-ha_ndbcluster.o -o $@
# Can't depend directly on .libs/*.o, because there is no generated rule for
# that in the Makefile; it is a byproduct of *.lo
probes_libndb.o: probes_mysql.d libndb_la-ha_ndbcluster.lo
$(DTRACE) $(DTRACEFLAGS) -G -s probes_mysql.d .libs/libndb_la-ha_ndbcluster.o -o $@
endif
# Don't update the files from bitkeeper