Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / utils / testapp / gen-ust-events / Makefile.am
CommitLineData
7e0cc23b
CB
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
7e0cc23b
CB
6endif
7if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
d7c54334 8LIBS += -lc
7e0cc23b
CB
9endif
10
11if HAVE_LIBLTTNG_UST_CTL
12noinst_PROGRAMS = gen-ust-events
13gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
32f754b3 14gen_ust_events_LDADD = -llttng-ust -lurcu-bp
7e0cc23b 15endif
This page took 0.027023 seconds and 4 git commands to generate.