| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ |
| 4 | |
| 5 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la |
| 6 | LIBCOMMON_GPL=$(top_builddir)/src/common/libcommon-gpl.la |
| 7 | |
| 8 | noinst_PROGRAMS = ini_config |
| 9 | EXTRA_DIST = test_ini_config sample.ini |
| 10 | |
| 11 | ini_config_SOURCES = ini_config.cpp |
| 12 | ini_config_LDADD = $(LIBTAP) $(LIBCOMMON_GPL) |
| 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 |