Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
343af227 | 3 | AM_CPPFLAGS += -I$(srcdir) |
e72d66a6 | 4 | |
19708280 MJ |
5 | # Disable some warnings flags to accomodate the tracepoint headers |
6 | AM_CFLAGS += \ | |
7 | -Wno-redundant-decls | |
8 | ||
e72d66a6 DG |
9 | noinst_PROGRAMS = gen-events |
10 | gen_events_SOURCES = main.c tp.c tp.h | |
20dd2de1 | 11 | gen_events_LDADD = $(UST_LIBS) $(DL_LIBS) |
e72d66a6 | 12 | |
e5be53a0 CB |
13 | noinst_SCRIPTS = test_high_throughput |
14 | EXTRA_DIST = test_high_throughput | |
c83e7ca0 DG |
15 | |
16 | all-local: | |
17 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
18 | for script in $(EXTRA_DIST); do \ | |
19 | cp -f $(srcdir)/$$script $(builddir); \ | |
20 | done; \ | |
21 | fi | |
22 | ||
23 | clean-local: | |
24 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
25 | for script in $(EXTRA_DIST); do \ | |
26 | rm -f $(builddir)/$$script; \ | |
27 | done; \ | |
28 | fi |