1 # SPDX-License-Identifier: GPL-2.0-only
3 EXTRA_DIST = common.hpp
5 noinst_PROGRAMS = validate_xml extract_xml pretty_xml
6 validate_xml_SOURCES = validate_xml.cpp
7 validate_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
8 validate_xml_LDADD = $(libxml2_LIBS)
10 extract_xml_SOURCES = extract_xml.cpp
11 extract_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
12 extract_xml_LDADD = $(libxml2_LIBS)
14 pretty_xml_SOURCES = pretty_xml.cpp
15 pretty_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
16 pretty_xml_LDADD = $(libxml2_LIBS)
19 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
20 for script in $(EXTRA_DIST); do \
21 cp -f $(srcdir)/$$script $(builddir); \
26 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
27 for script in $(EXTRA_DIST); do \
28 rm -f $(builddir)/$$script; \