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