Implement userspace-probe regression tests
[lttng-tools.git] / tests / utils / testapp / userspace-probe-sdt-binary / Makefile.am
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
6 userspace_probe_sdt_binary_LDADD = foobar_provider.o libfoo.la libbar.la -ldl
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
29 foobar_provider.h: foobar_provider.d
30 dtrace -s $< -o $@ -h
31
32 foobar_provider.o: foobar_provider.d
33 dtrace -s $< -o $@ -G
34
35 CLEANFILES = foobar_provider.h
This page took 0.039237 seconds and 4 git commands to generate.