| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | AM_CFLAGS += -I$(srcdir) |
| 4 | |
| 5 | noinst_PROGRAMS = gen-nevents |
| 6 | gen_nevents_SOURCES = gen-nevents.c tp.c ust_gen_nevents.h |
| 7 | gen_nevents_LDADD = $(UST_LIBS) $(URCU_BP_LIBS) $(DL_LIBS) |
| 8 | |
| 9 | noinst_SCRIPTS = test_multi_session |
| 10 | EXTRA_DIST = test_multi_session |
| 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 |