Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
343af227 | 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ |
1501a7f3 JG |
4 | |
5 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la | |
6 | LIBCONFIG=$(top_builddir)/src/common/config/libconfig.la | |
7 | LIBCOMMON=$(top_builddir)/src/common/libcommon.la | |
8 | LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la | |
9 | ||
10 | noinst_PROGRAMS = ini_config | |
90da811b | 11 | EXTRA_DIST = test_ini_config sample.ini |
1501a7f3 JG |
12 | |
13 | ini_config_SOURCES = ini_config.c | |
dcf266c0 JG |
14 | ini_config_LDADD = $(LIBTAP) $(LIBCONFIG) $(LIBCOMMON) $(LIBHASHTABLE) \ |
15 | $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la | |
1501a7f3 JG |
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 |