Commit | Line | Data |
---|---|---|
343af227 | 1 | AM_CPPFLAGS += -I$(top_srcdir)/tests -I$(srcdir) |
9fec62f7 | 2 | |
9fec62f7 CB |
3 | if HAVE_LIBLTTNG_UST_CTL |
4 | noinst_PROGRAMS = gen-ust-events | |
5 | gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h | |
20dd2de1 | 6 | gen_ust_events_LDADD = $(UST_LIBS) $(DL_LIBS) |
9fec62f7 CB |
7 | endif |
8 | ||
9d806fbf CB |
9 | noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter |
10 | EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter | |
c83e7ca0 DG |
11 | |
12 | all-local: | |
13 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
14 | for script in $(EXTRA_DIST); do \ | |
15 | cp -f $(srcdir)/$$script $(builddir); \ | |
16 | done; \ | |
17 | fi | |
18 | ||
19 | clean-local: | |
20 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
21 | for script in $(EXTRA_DIST); do \ | |
22 | rm -f $(builddir)/$$script; \ | |
23 | done; \ | |
24 | fi |