X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fctf-types%2FMakefile.am;h=8fcb1a2dd7ba99b5a9b83a5e47e4fc5aaa65b57b;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=a9b40b6ac25a8cee36de141c4cf206c423aaac54;hpb=e1c62734a4c511d6ba3b3b240486b5034ba7bd99;p=lttng-ust.git diff --git a/tests/ctf-types/Makefile.am b/tests/ctf-types/Makefile.am index a9b40b6a..8fcb1a2d 100644 --- a/tests/ctf-types/Makefile.am +++ b/tests/ctf-types/Makefile.am @@ -1,13 +1,8 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers +AM_CPPFLAGS += -I$(srcdir) -Wsystem-headers noinst_PROGRAMS = ctf-types ctf_types_SOURCES = ctf-types.c tp.c ust_tests_ctf_types.h -ctf_types_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la +ctf_types_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS) ctf_types_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) -if LTTNG_UST_BUILD_WITH_LIBDL -ctf_types_LDADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -ctf_types_LDADD += -lc -endif +EXTRA_DIST = README