Commit | Line | Data |
---|---|---|
c785c634 MD |
1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers |
2 | ||
3 | noinst_PROGRAMS = ctf-types | |
4 | ctf_types_SOURCES = ctf-types.c tp.c ust_tests_ctf_types.h | |
5 | ctf_types_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la | |
e1c62734 | 6 | ctf_types_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) |
c785c634 MD |
7 | |
8 | if LTTNG_UST_BUILD_WITH_LIBDL | |
9 | ctf_types_LDADD += -ldl | |
10 | endif | |
11 | if LTTNG_UST_BUILD_WITH_LIBC_DL | |
12 | ctf_types_LDADD += -lc | |
13 | endif |