Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / regression / ust / multi-session / Makefile.am
CommitLineData
74130cb7 1AM_CFLAGS = -I$(srcdir) -O2
b19155c0
DG
2AM_LDFLAGS = -llttng-ust
3
4if LTTNG_TOOLS_BUILD_WITH_LIBDL
d7c54334 5LIBS += -ldl
b19155c0
DG
6endif
7if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
d7c54334 8LIBS += -lc
b19155c0
DG
9endif
10
11noinst_PROGRAMS = gen-nevents
12gen_nevents_SOURCES = gen-nevents.c tp.c ust_gen_nevents.h
32f754b3 13gen_nevents_LDADD = -llttng-ust -lurcu-bp
b19155c0 14
e5be53a0
CB
15noinst_SCRIPTS = test_multi_session
16EXTRA_DIST = test_multi_session
c83e7ca0
DG
17
18all-local:
19 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
20 for script in $(EXTRA_DIST); do \
21 cp -f $(srcdir)/$$script $(builddir); \
22 done; \
23 fi
24
25clean-local:
26 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
27 for script in $(EXTRA_DIST); do \
28 rm -f $(builddir)/$$script; \
29 done; \
30 fi
This page took 0.031088 seconds and 4 git commands to generate.