Fix: support VPATH build for tests
[lttng-tools.git] / tests / regression / tools / filtering / Makefile.am
CommitLineData
9fec62f7
CB
1AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -I$(srcdir) -O2 -g
2AM_LDFLAGS =
3
4if LTTNG_TOOLS_BUILD_WITH_LIBDL
5AM_LDFLAGS += -ldl
6endif
7if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
8AM_LDFLAGS += -lc
9endif
10
11if HAVE_LIBLTTNG_UST_CTL
12noinst_PROGRAMS = gen-ust-events
13gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
14gen_ust_events_LDADD = -llttng-ust
15endif
16
9d806fbf
CB
17noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter
18EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter
c83e7ca0
DG
19
20all-local:
21 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
22 for script in $(EXTRA_DIST); do \
23 cp -f $(srcdir)/$$script $(builddir); \
24 done; \
25 fi
26
27clean-local:
28 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
29 for script in $(EXTRA_DIST); do \
30 rm -f $(builddir)/$$script; \
31 done; \
32 fi
This page took 0.025271 seconds and 4 git commands to generate.