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 | |
6a5596ac | 6 | LIBCOMMON_GPL=$(top_builddir)/src/common/libcommon-gpl.la |
1501a7f3 JG |
7 | |
8 | noinst_PROGRAMS = ini_config | |
90da811b | 9 | EXTRA_DIST = test_ini_config sample.ini |
1501a7f3 | 10 | |
740da7d5 | 11 | ini_config_SOURCES = ini_config.cpp |
93903fd5 | 12 | ini_config_LDADD = $(LIBTAP) $(LIBCOMMON_GPL) |
1501a7f3 JG |
13 | |
14 | all-local: | |
15 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
16 | for script in $(EXTRA_DIST); do \ | |
17 | cp -f $(srcdir)/$$script $(builddir); \ | |
18 | done; \ | |
19 | fi | |
20 | ||
21 | clean-local: | |
22 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
23 | for script in $(EXTRA_DIST); do \ | |
24 | rm -f $(builddir)/$$script; \ | |
25 | done; \ | |
26 | fi |