Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / tests / utils / xml-utils / Makefile.am
CommitLineData
208e4eea
JR
1# SPDX-License-Identifier: GPL-2.0-only
2
051356a8
SM
3EXTRA_DIST = common.hpp
4
bb901ead 5noinst_PROGRAMS = validate_xml extract_xml pretty_xml
729c1fec 6validate_xml_SOURCES = validate_xml.cpp
208e4eea
JR
7validate_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
8validate_xml_LDADD = $(libxml2_LIBS)
9
729c1fec 10extract_xml_SOURCES = extract_xml.cpp
208e4eea
JR
11extract_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
12extract_xml_LDADD = $(libxml2_LIBS)
13
9617033a 14pretty_xml_SOURCES = pretty_xml.cpp
bb901ead
JR
15pretty_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
16pretty_xml_LDADD = $(libxml2_LIBS)
17
208e4eea
JR
18all-local:
19 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
20 for script in $(EXTRA_DIST); do \
21 cp -f $(srcdir)/$$script $(builddir); \
22 done; \
23 fi
24
25clean-local:
26 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
27 for script in $(EXTRA_DIST); do \
28 rm -f $(builddir)/$$script; \
29 done; \
30 fi
This page took 0.042218 seconds and 5 git commands to generate.