Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / utils / testapp / gen-ust-tracef / Makefile.am
1 AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) -O2 -g
2 AM_LDFLAGS =
3
4 if LTTNG_TOOLS_BUILD_WITH_LIBDL
5 LIBS += -ldl
6 endif
7 if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
8 LIBS += -lc
9 endif
10
11 if HAVE_LIBLTTNG_UST_CTL
12 noinst_PROGRAMS = gen-ust-tracef
13 gen_ust_tracef_SOURCES = gen-ust-tracef.c
14 gen_ust_tracef_LDADD = -llttng-ust
15 endif
This page took 0.034861 seconds and 4 git commands to generate.