1# Hey Emacs, this is -*- makefile-automake -*- file! 2# vim: filetype=automake 3 4AM_V_DTRACE = $(AM_V_DTRACE_@AM_V@) 5AM_V_DTRACE_ = $(AM_V_DTRACE_@AM_DEFAULT_V@) 6AM_V_DTRACE_0 = @echo " DTRACE $@"; 7 8BUILT_SOURCES += probes.h 9CLEANFILES += probes.h probes.o 10 11probes.h: Makefile probes.d 12 $(AM_V_DTRACE)$(DTRACE) -s $(srcdir)/probes.d -h -o $@ 13probes.lo: Makefile probes.d $(DTRACE_DEPS) 14 $(AM_V_DTRACE)$(LIBTOOL) --mode=compile --tag=CC $(DTRACE) -s $(srcdir)/probes.d -G -o $@ $(DTRACE_OBJS) 15 16if HAVE_DTRACE 17if !HOST_MACOS 18DTRACE_LIBADD = probes.lo 19endif 20endif 21