Commit | Line | Data |
---|---|---|
53569322 MD |
1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers |
2 | ||
3 | noinst_PROGRAMS = hello | |
4 | hello_SOURCES = hello.c tp.c ust_tests_hello.h | |
5 | hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la | |
6 | hello_CFLAGS = -Werror=old-style-definition | |
7 | ||
8 | if LTTNG_UST_BUILD_WITH_LIBDL | |
9 | hello_LDADD += -ldl | |
10 | endif | |
11 | if LTTNG_UST_BUILD_WITH_LIBC_DL | |
12 | hello_LDADD += -lc | |
13 | endif |