| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | noinst_PROGRAMS = validate_xml extract_xml |
| 4 | validate_xml_SOURCES = validate_xml.c |
| 5 | validate_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS) |
| 6 | validate_xml_LDADD = $(libxml2_LIBS) |
| 7 | |
| 8 | extract_xml_SOURCES = extract_xml.c |
| 9 | extract_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS) |
| 10 | extract_xml_LDADD = $(libxml2_LIBS) |
| 11 | |
| 12 | noinst_SCRIPTS = test_mi |
| 13 | EXTRA_DIST = test_mi |
| 14 | |
| 15 | all-local: |
| 16 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 17 | for script in $(EXTRA_DIST); do \ |
| 18 | cp -f $(srcdir)/$$script $(builddir); \ |
| 19 | done; \ |
| 20 | fi |
| 21 | |
| 22 | clean-local: |
| 23 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 24 | for script in $(EXTRA_DIST); do \ |
| 25 | rm -f $(builddir)/$$script; \ |
| 26 | done; \ |
| 27 | fi |