tests: compile some tools/tests as C++
[lttng-tools.git] / tests / utils / xml-utils / Makefile.am
CommitLineData
208e4eea
JR
1# SPDX-License-Identifier: GPL-2.0-only
2
bb901ead 3noinst_PROGRAMS = validate_xml extract_xml pretty_xml
729c1fec 4validate_xml_SOURCES = validate_xml.cpp
208e4eea
JR
5validate_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
6validate_xml_LDADD = $(libxml2_LIBS)
7
729c1fec 8extract_xml_SOURCES = extract_xml.cpp
208e4eea
JR
9extract_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
10extract_xml_LDADD = $(libxml2_LIBS)
11
bb901ead
JR
12pretty_xml_SOURCES = pretty_xml.c
13pretty_xml_CPPFLAGS = $(libxml2_CFLAGS) $(AM_CPPFLAGS)
14pretty_xml_LDADD = $(libxml2_LIBS)
15
208e4eea
JR
16all-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
23clean-local:
24 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
25 for script in $(EXTRA_DIST); do \
26 rm -f $(builddir)/$$script; \
27 done; \
28 fi
This page took 0.0233989999999999 seconds and 4 git commands to generate.