Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents / 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-nevents
13 gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
14 gen_ust_nevents_LDADD = -llttng-ust -lurcu-bp
15 endif
This page took 0.028729 seconds and 4 git commands to generate.