1 # SPDX-License-Identifier: GPL-2.0-only
3 AM_CPPFLAGS += -I$(srcdir)
5 # Disable some warnings flags to accomodate the tracepoint headers
9 noinst_PROGRAMS = gen-events
10 gen_events_SOURCES = main.c tp.c tp.h
11 gen_events_LDADD = $(UST_LIBS) $(DL_LIBS)
13 noinst_SCRIPTS = test_high_throughput
14 EXTRA_DIST = test_high_throughput
17 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
18 for script in $(EXTRA_DIST); do \
19 cp -f $(srcdir)/$$script $(builddir); \
24 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
25 for script in $(EXTRA_DIST); do \
26 rm -f $(builddir)/$$script; \