Commit | Line | Data |
---|---|---|
580d134b MD |
1 | AM_CPPFLAGS = -I$(top_srcdir)/include |
2 | ||
4937e69d MD |
3 | # We install the plugins into the /tmp/lttng-ust-divert directory to |
4 | # please libtool, which absolutely needs a target install location. We | |
5 | # don't want to pollute the system with test program plugins. | |
6 | # We use the .so in .libs/ for the tests. | |
7 | noinst_plugins_libdir = "/tmp/lttng-ust-divert" | |
8 | ||
9 | noinst_plugins_lib_LTLIBRARIES = liblttng-ust-provider-ust-tests-demo.la \ | |
deb6e540 MD |
10 | liblttng-ust-provider-ust-tests-demo3.la |
11 | ||
12 | #contains ust_tests_demo.h and ust_tests_demo2.h provider probes | |
13 | liblttng_ust_provider_ust_tests_demo_la_SOURCES = \ | |
14 | tp.c ust_tests_demo.h \ | |
15 | tp2.c ust_tests_demo2.h | |
16 | liblttng_ust_provider_ust_tests_demo_la_LIBADD = \ | |
17 | $(top_builddir)/liblttng-ust/liblttng-ust.la | |
18 | ||
19 | #contains ust_tests_demo3.h provider probes | |
20 | liblttng_ust_provider_ust_tests_demo3_la_SOURCES = \ | |
21 | tp3.c ust_tests_demo3.h | |
22 | liblttng_ust_provider_ust_tests_demo3_la_LIBADD = \ | |
23 | $(top_builddir)/liblttng-ust/liblttng-ust.la | |
24 | ||
580d134b | 25 | noinst_PROGRAMS = demo |
deb6e540 | 26 | demo_SOURCES = demo.c ust_tests_demo.h |
6d638c86 MD |
27 | # The demo program only depends on libdl. |
28 | demo_LIBS = -ldl |