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