| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -Wsystem-headers |
| 2 | |
| 3 | noinst_LTLIBRARIES = liblttng-ust-provider-ust-test-hello.la |
| 4 | liblttng_ust_provider_ust_test_hello_la_SOURCES = \ |
| 5 | tp.c ust_tests_hello.h |
| 6 | liblttng_ust_provider_ust_test_hello_la_LIBADD = \ |
| 7 | $(top_builddir)/liblttng-ust/liblttng-ust.la |
| 8 | |
| 9 | noinst_PROGRAMS = hello |
| 10 | hello_SOURCES = hello.c |
| 11 | hello_LDADD = liblttng-ust-provider-ust-test-hello.la |
| 12 | |
| 13 | if LTTNG_UST_BUILD_WITH_LIBDL |
| 14 | hello_LDADD += -ldl |
| 15 | endif |
| 16 | if LTTNG_UST_BUILD_WITH_LIBC_DL |
| 17 | hello_LDADD += -lc |
| 18 | endif |
| 19 | |
| 20 | noinst_SCRIPTS = run |
| 21 | EXTRA_DIST = run |