X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fust-variant%2FMakefile.am;fp=tests%2Fust-variant%2FMakefile.am;h=3c3d61db97e42ba73a12a0a0e9f637be4111ba85;hb=53569322d40ed45abe0368ddb08eb4a2738afc37;hp=0000000000000000000000000000000000000000;hpb=5cf81d53e305c81517e48e0dc91620a916cdc0cc;p=lttng-ust.git diff --git a/tests/ust-variant/Makefile.am b/tests/ust-variant/Makefile.am new file mode 100644 index 00000000..3c3d61db --- /dev/null +++ b/tests/ust-variant/Makefile.am @@ -0,0 +1,13 @@ +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers + +noinst_PROGRAMS = ust-variant +ust_variant_SOURCES = ust-variant.c +ust_variant_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la +ust_variant_CFLAGS = -Werror=old-style-definition + +if LTTNG_UST_BUILD_WITH_LIBDL +ust_variant_LDADD += -ldl +endif +if LTTNG_UST_BUILD_WITH_LIBC_DL +ust_variant_LDADD += -lc +endif