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