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