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 = type-declarations
10 type_declarations_SOURCES = type-declarations.c ust_tests_td.h
11 type_declarations_LDADD = $(UST_LIBS) $(DL_LIBS)
12 type_declarations_CPPFLAGS = $(UST_CFLAGS) $(DL_CFLAGS) $(AM_CPPFLAGS)
14 noinst_SCRIPTS = test_type_declarations test_type_declarations.py
15 EXTRA_DIST = test_type_declarations test_type_declarations.py
18 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
19 for script in $(EXTRA_DIST); do \
20 cp -f $(srcdir)/$$script $(builddir); \
25 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
26 for script in $(EXTRA_DIST); do \
27 rm -f $(builddir)/$$script; \