1 # SPDX-License-Identifier: GPL-2.0-only
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)
8 extract_xml_SOURCES = extract_xml.cpp
9 extract_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
10 extract_xml_LDADD = $(libxml2_LIBS)
12 pretty_xml_SOURCES = pretty_xml.c
13 pretty_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
14 pretty_xml_LDADD = $(libxml2_LIBS)
17 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
18 for script in $(EXTRA_DIST); do \
19 cp -f $(srcdir)/$$script $(builddir); \
24 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
25 for script in $(EXTRA_DIST); do \
26 rm -f $(builddir)/$$script; \