4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# Automated Testing Framework (atf)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# Copyright (c) 2007 The NetBSD Foundation, Inc.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# All rights reserved.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# Redistribution and use in source and binary forms, with or without
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# modification, are permitted provided that the following conditions
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# are met:
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# 1. Redistributions of source code must retain the above copyright
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# notice, this list of conditions and the following disclaimer.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# 2. Redistributions in binary form must reproduce the above copyright
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# notice, this list of conditions and the following disclaimer in the
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# documentation and/or other materials provided with the distribution.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsTOOLS_CPPFLAGS = -I$(top_srcdir)/tools -I$(top_builddir)/tools
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsTOOLS_LDADD = tools/libtools.a
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsnoinst_LIBRARIES = tools/libtools.a
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_libtools_a_SOURCES = tools/application.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/application.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/atffile.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/atffile.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/auto_array.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/config.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/config.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/config_file.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/config_file.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/env.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/env.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/exceptions.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/exceptions.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/expand.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/expand.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/fs.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/fs.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/io.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/io.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/parser.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/parser.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/process.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/process.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/reader.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/reader.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/requirements.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/requirements.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/signals.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/signals.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/test-program.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/test-program.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/test_helpers.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/text.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/text.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/timers.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/timers.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/ui.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/ui.hpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/user.cpp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews tools/user.hpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsnodist_tools_libtools_a_SOURCES = tools/defs.hpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_libtools_a_CPPFLAGS = "-DATF_ARCH=\"$(atf_arch)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_BUILD_CC=\"$(ATF_BUILD_CC)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_BUILD_CFLAGS=\"$(ATF_BUILD_CFLAGS)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_BUILD_CPP=\"$(ATF_BUILD_CPP)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_BUILD_CPPFLAGS=\"$(ATF_BUILD_CPPFLAGS)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_BUILD_CXX=\"$(ATF_BUILD_CXX)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_BUILD_CXXFLAGS=\"$(ATF_BUILD_CXXFLAGS)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_CONFDIR=\"$(atf_confdir)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_INCLUDEDIR=\"$(includedir)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_LIBDIR=\"$(libdir)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_LIBEXECDIR=\"$(libexecdir)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_MACHINE=\"$(atf_machine)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_PKGDATADIR=\"$(pkgdatadir)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_SHELL=\"$(ATF_SHELL)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews "-DATF_WORKDIR=\"$(ATF_WORKDIR)\"" \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# XXX For some reason, the nodist line above does not work as expected.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# Work this problem around.
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsDIST_HOOKS += kill-defs-hpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewskill-defs-hpp:
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews rm -f $(distdir)/tools/defs.hpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsbin_PROGRAMS += tools/atf-config
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_config_SOURCES = tools/atf-config.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_config_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_config_LDADD = $(TOOLS_LDADD)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdist_man_MANS += tools/atf-config.1
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsbin_PROGRAMS += tools/atf-report
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_report_SOURCES = tools/atf-report.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_report_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_report_LDADD = $(TOOLS_LDADD)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdist_man_MANS += tools/atf-report.1
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsbin_PROGRAMS += tools/atf-run
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_run_CPPFLAGS = $(TOOLS_CPPFLAGS) "-DGDB=\"$(GDB)\""
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_run_SOURCES = tools/atf-run.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_run_LDADD = $(TOOLS_LDADD)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdist_man_MANS += tools/atf-run.1
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsbin_PROGRAMS += tools/atf-version
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_version_SOURCES = tools/atf-version.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsnodist_tools_atf_version_SOURCES = tools/revision.h
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_version_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atf_version_LDADD = $(TOOLS_LDADD)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdist_man_MANS += tools/atf-version.1
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += tools/generate-revision.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsBUILT_SOURCES += tools/revision.h
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsCLEANFILES += tools/revision.h
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools/revision.h: tools/revision.h.stamp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @test -d tools || mkdir -p tools
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @cmp -s tools/revision.h tools/revision.h.stamp || \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews cp -p tools/revision.h.stamp tools/revision.h
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsCLEANFILES += tools/revision.h.stamp
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsPHONY_TARGETS += tools/revision.h.stamp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools/revision.h.stamp:
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @test -d tools || mkdir -p tools
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @$(top_srcdir)/tools/generate-revision.sh \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews -g "$(GIT)" -r $(top_srcdir) -o tools/revision.h.stamp \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews -v $(PACKAGE_VERSION)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#man_MANS += tools/atf.7
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#CLEANFILES += tools/atf.7
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews#EXTRA_DIST += tools/atf.7.in
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdist_man_MANS += tools/atf-formats.5
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools/atf.7: $(srcdir)/tools/atf.7.in
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews test -d tools || mkdir -p tools
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews sed -e 's#__DOCDIR__#$(docdir)#g' \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews -e 's#__TESTSDIR__#$(testsdir)#g' \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews <$(srcdir)/tools/atf.7.in >tools/atf.7.tmp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews mv tools/atf.7.tmp tools/atf.7
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewscssdir = $(atf_cssdir)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewscss_DATA = tools/tests-results.css
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += $(css_DATA)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdtddir = $(atf_dtddir)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdtd_DATA = tools/tests-results.dtd
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += $(dtd_DATA)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsegdir = $(atf_egdir)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewseg_DATA = tools/sample/atf-run.hooks
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewseg_DATA += tools/sample/common.conf
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += $(eg_DATA)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewshooksdir = $(pkgdatadir)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewshooks_DATA = tools/share/atf-run.hooks
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += $(hooks_DATA)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsxsldir = $(atf_xsldir)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsxsl_DATA = tools/tests-results.xsl
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += $(xsl_DATA)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_DATA = tools/Atffile tools/Kyuafile
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_toolsdir = $(pkgtestsdir)/tools
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += $(tests_tools_DATA)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_SCRIPTS = tools/atf-config_test
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsCLEANFILES += tools/atf-config_test
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += tools/atf-config_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools/atf-config_test: $(srcdir)/tools/atf-config_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @test -d tools || mkdir -p tools
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @src="$(srcdir)/tools/atf-config_test.sh"; \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews dst="tools/atf-config_test"; $(BUILD_SH_TP)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_SCRIPTS += tools/atf-report_test
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsCLEANFILES += tools/atf-report_test
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += tools/atf-report_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools/atf-report_test: $(srcdir)/tools/atf-report_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @test -d tools || mkdir -p tools
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @src="$(srcdir)/tools/atf-report_test.sh"; \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews dst="tools/atf-report_test"; $(BUILD_SH_TP)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_SCRIPTS += tools/atf-run_test
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsCLEANFILES += tools/atf-run_test
4a53e3c2b83c476a93148eaee0272649beb221caMark AndrewsEXTRA_DIST += tools/atf-run_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools/atf-run_test: $(srcdir)/tools/atf-run_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @test -d tools || mkdir -p tools
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews @src="$(srcdir)/tools/atf-run_test.sh"; \
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews dst="tools/atf-run_test"; $(BUILD_SH_TP)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS = tools/application_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_application_test_SOURCES = tools/application_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_application_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_application_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/atffile_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atffile_test_SOURCES = tools/atffile_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atffile_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_atffile_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/auto_array_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_auto_array_test_SOURCES = tools/auto_array_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_auto_array_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_auto_array_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/bad_metadata_helper
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_bad_metadata_helper_SOURCES = tools/bad_metadata_helper.c
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_bad_metadata_helper_LDADD = libatf-c.la
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/config_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_config_test_SOURCES = tools/config_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_config_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_config_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/config_file_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_config_file_test_SOURCES = tools/config_file_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_config_file_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_config_file_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/env_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_env_test_SOURCES = tools/env_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_env_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_env_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/expand_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_expand_test_SOURCES = tools/expand_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_expand_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_expand_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/expect_helpers
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_expect_helpers_SOURCES = tools/expect_helpers.c
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_expect_helpers_LDADD = libatf-c.la
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/fail_helper
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_fail_helper_SOURCES = tools/fail_helper.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_fail_helper_LDADD = $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/fs_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_fs_test_SOURCES = tools/fs_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_fs_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_fs_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/io_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_io_test_SOURCES = tools/io_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_io_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_io_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/misc_helpers
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_misc_helpers_SOURCES = tools/misc_helpers.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_misc_helpers_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_misc_helpers_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/parser_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_parser_test_SOURCES = tools/parser_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_parser_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_parser_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/process_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_process_test_SOURCES = tools/process_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_process_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_process_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/pass_helper
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_pass_helper_SOURCES = tools/pass_helper.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_pass_helper_LDADD = $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/process_helpers
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_process_helpers_SOURCES = tools/process_helpers.c
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/reader_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_reader_test_SOURCES = tools/reader_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_reader_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_reader_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/requirements_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_requirements_test_SOURCES = tools/requirements_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_requirements_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_requirements_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/several_tcs_helper
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_several_tcs_helper_SOURCES = tools/several_tcs_helper.c
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_several_tcs_helper_LDADD = libatf-c.la
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/signals_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_signals_test_SOURCES = tools/signals_test.cpp tools/signals.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_signals_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_signals_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/test_program_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_test_program_test_SOURCES = tools/test_program_test.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_test_program_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_test_program_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/text_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_text_test_SOURCES = tools/text_test.cpp tools/text.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_text_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_text_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/ui_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_ui_test_SOURCES = tools/ui_test.cpp tools/ui.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_ui_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_ui_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/user_test
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_user_test_SOURCES = tools/user_test.cpp tools/user.cpp
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_user_test_CPPFLAGS = $(TOOLS_CPPFLAGS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_user_test_LDADD = $(TOOLS_LDADD) $(ATF_CXX_LIBS)
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstests_tools_PROGRAMS += tools/zero_tcs_helper
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_zero_tcs_helper_SOURCES = tools/zero_tcs_helper.c
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewstools_zero_tcs_helper_LDADD = libatf-c.la
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8