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