Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
[lttng-tools.git] / tests / regression / ust / low-throughput / Makefile.am
1 AM_CFLAGS = -I$(srcdir) -O2
2 AM_LDFLAGS = -llttng-ust
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 noinst_PROGRAMS = gen-events
12 gen_events_SOURCES = main.c tp.c tp.h
13 gen_events_LDADD = -llttng-ust -lurcu
14
15 noinst_SCRIPTS = test_low_throughput
16 EXTRA_DIST = test_low_throughput
17
18 all-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
25 clean-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.045079 seconds and 4 git commands to generate.