Commit | Line | Data |
---|---|---|
a9c2df2b FD |
1 | EXTRA_DIST = foobar_provider.d |
2 | BUILT_SOURCES = foobar_provider.h | |
3 | ||
4 | noinst_PROGRAMS = userspace-probe-sdt-binary | |
5 | userspace_probe_sdt_binary_SOURCES = userspace-probe-sdt-binary.c sema.h sema.c | |
b6151646 | 6 | userspace_probe_sdt_binary_LDADD = foobar_provider.o libfoo.la libbar.la $(DL_LIBS) |
a9c2df2b FD |
7 | userspace_probe_sdt_binary_CFLAGS = -I$(abs_builddir) |
8 | nodist_userspace_probe_sdt_binary_SOURCES = $(abs_builddir)/foobar_provider.h | |
9 | ||
10 | noinst_LTLIBRARIES = libfoo.la libbar.la libzzz.la | |
11 | libfoo_la_SOURCES = libfoo.h libfoo.c | |
12 | libfoo_la_LIBADD = foobar_provider.o | |
13 | libfoo_la_CFLAGS = -I$(abs_builddir) | |
14 | libfoo_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/ | |
15 | nodist_libfoo_la_SOURCES = $(abs_builddir)/foobar_provider.h | |
16 | ||
17 | libbar_la_SOURCES = libbar.h libbar.c | |
18 | libbar_la_LIBADD = foobar_provider.o | |
19 | libbar_la_CFLAGS = -I$(abs_builddir) | |
20 | libbar_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/ | |
21 | nodist_libbar_la_SOURCES = $(abs_builddir)/foobar_provider.h | |
22 | ||
23 | libzzz_la_SOURCES = libzzz.h libzzz.c | |
24 | libzzz_la_LIBADD = foobar_provider.o | |
25 | libzzz_la_CFLAGS = -I$(abs_builddir) | |
26 | libzzz_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/ | |
27 | nodist_libzzz_la_SOURCES = $(abs_builddir)/foobar_provider.h | |
28 | ||
1a1986ce MJ |
29 | dtrace_verbose = $(dtrace_verbose_@AM_V@) |
30 | dtrace_verbose_ = $(dtrace_verbose_@AM_DEFAULT_V@) | |
31 | dtrace_verbose_0 = @echo " DTRACE " $@; | |
32 | ||
a9c2df2b | 33 | foobar_provider.h: foobar_provider.d |
1a1986ce | 34 | $(dtrace_verbose)$(DTRACE) -s $< -o $@ -h |
a9c2df2b FD |
35 | |
36 | foobar_provider.o: foobar_provider.d | |
1a1986ce | 37 | $(dtrace_verbose)$(DTRACE) -s $< -o $@ -G |
a9c2df2b FD |
38 | |
39 | CLEANFILES = foobar_provider.h |