Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents / Makefile.am
CommitLineData
ffb08a8c
JD
1AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir) -O2 -g
2AM_LDFLAGS =
3
4if LTTNG_TOOLS_BUILD_WITH_LIBDL
d7c54334 5LIBS += -ldl
ffb08a8c
JD
6endif
7if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
d7c54334 8LIBS += -lc
ffb08a8c
JD
9endif
10
11if HAVE_LIBLTTNG_UST_CTL
12noinst_PROGRAMS = gen-ust-nevents
13gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
32f754b3 14gen_ust_nevents_LDADD = -llttng-ust -lurcu-bp
ffb08a8c 15endif
This page took 0.02522 seconds and 4 git commands to generate.