1 # SPDX-License-Identifier: GPL-2.0-only
3 AM_CPPFLAGS += -I$(top_srcdir)/tests -I$(srcdir)
5 if HAVE_LIBLTTNG_UST_CTL
6 # Disable some warnings flags to accomodate the tracepoint headers
10 AM_CFLAGS += $(WARN_FLAGS)
11 AM_CXXFLAGS += $(WARN_FLAGS)
13 noinst_PROGRAMS = gen-ust-events
14 gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
15 gen_ust_events_LDADD = $(UST_LIBS) $(DL_LIBS)
18 noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter
19 EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter
22 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
23 for script in $(EXTRA_DIST); do \
24 cp -f $(srcdir)/$$script $(builddir); \
29 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
30 for script in $(EXTRA_DIST); do \
31 rm -f $(builddir)/$$script; \