File: Makefile.dtrace

package info (click to toggle)
bind9 1%3A9.20.15-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,220 kB
  • sloc: ansic: 316,435; sh: 53,541; python: 19,591; perl: 3,951; makefile: 2,251
file content (20 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Hey Emacs, this is -*- makefile-automake -*- file!
# vim: filetype=automake

AM_V_DTRACE = $(AM_V_DTRACE_@AM_V@)
AM_V_DTRACE_ = $(AM_V_DTRACE_@AM_DEFAULT_V@)
AM_V_DTRACE_0 = @echo "  DTRACE   $@";

BUILT_SOURCES += probes.h
CLEANFILES += probes.h probes.o

probes.h: Makefile probes.d
	$(AM_V_DTRACE)$(DTRACE) -s $(srcdir)/probes.d -h -o $@
probes.lo: Makefile probes.d $(DTRACE_DEPS)
	$(AM_V_DTRACE)$(LIBTOOL) --mode=compile --tag=CC $(DTRACE) -s $(srcdir)/probes.d -G -o $@ $(DTRACE_OBJS)

if HAVE_DTRACE
if !HOST_MACOS
DTRACE_LIBADD = probes.lo
endif
endif