761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# Copyright (c) 2007 The NetBSD Foundation, Inc.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# All rights reserved.
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Redistribution and use in source and binary forms, with or without
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# modification, are permitted provided that the following conditions
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# are met:
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# 1. Redistributions of source code must retain the above copyright
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# notice, this list of conditions and the following disclaimer.
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# 2. Redistributions in binary form must reproduce the above copyright
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# notice, this list of conditions and the following disclaimer in the
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# documentation and/or other materials provided with the distribution.
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt#
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan HuntATF_CXX_LIBS = libatf-c++.la libatf-c.la
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Huntlib_LTLIBRARIES += libatf-c++.la
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Huntlibatf_c___la_LIBADD = libatf-c.la
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Huntlibatf_c___la_SOURCES = atf-c++/build.cpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/build.hpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/check.cpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/check.hpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/macros.hpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/tests.cpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/tests.hpp \
761d135ed686601f36fe3d0d4aaa6bf41287bb0fEvan Hunt atf-c++/utils.cpp \
atf-c++/utils.hpp
libatf_c___la_LDFLAGS = -version-info 2:0:0
include_HEADERS += atf-c++.hpp
atf_c___HEADERS = atf-c++/build.hpp \
atf-c++/check.hpp \
atf-c++/macros.hpp \
atf-c++/tests.hpp \
atf-c++/utils.hpp
atf_c__dir = $(includedir)/atf-c++
dist_man_MANS += atf-c++/atf-c++.3
atf_aclocal_DATA += atf-c++/atf-c++.m4
EXTRA_DIST += atf-c++/atf-c++.m4
atf_c__dirpkgconfigdir = $(atf_pkgconfigdir)
atf_c__dirpkgconfig_DATA = atf-c++/atf-c++.pc
CLEANFILES += atf-c++/atf-c++.pc
EXTRA_DIST += atf-c++/atf-c++.pc.in
atf-c++/atf-c++.pc: $(srcdir)/atf-c++/atf-c++.pc.in Makefile
$(AM_V_GEN)test -d atf-c++ || mkdir -p atf-c++; \
sed -e 's#__ATF_VERSION__#$(PACKAGE_VERSION)#g' \
-e 's#__CXX__#$(CXX)#g' \
-e 's#__INCLUDEDIR__#$(includedir)#g' \
-e 's#__LIBDIR__#$(libdir)#g' \
<$(srcdir)/atf-c++/atf-c++.pc.in >atf-c++/atf-c++.pc.tmp; \
mv atf-c++/atf-c++.pc.tmp atf-c++/atf-c++.pc
tests_atf_c___DATA = atf-c++/Atffile \
atf-c++/Kyuafile \
atf-c++/macros_hpp_test.cpp \
atf-c++/unused_test.cpp
tests_atf_c__dir = $(pkgtestsdir)/atf-c++
EXTRA_DIST += $(tests_atf_c___DATA)
tests_atf_c___PROGRAMS = atf-c++/atf_c++_test
atf_c___atf_c___test_SOURCES = atf-c++/atf_c++_test.cpp
atf_c___atf_c___test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
tests_atf_c___PROGRAMS += atf-c++/build_test
atf_c___build_test_SOURCES = atf-c++/build_test.cpp atf-c/h_build.h
atf_c___build_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
tests_atf_c___PROGRAMS += atf-c++/check_test
atf_c___check_test_SOURCES = atf-c++/check_test.cpp
atf_c___check_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
tests_atf_c___PROGRAMS += atf-c++/macros_test
atf_c___macros_test_SOURCES = atf-c++/macros_test.cpp
atf_c___macros_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
tests_atf_c___SCRIPTS = atf-c++/pkg_config_test
CLEANFILES += atf-c++/pkg_config_test
EXTRA_DIST += atf-c++/pkg_config_test.sh
atf-c++/pkg_config_test: $(srcdir)/atf-c++/pkg_config_test.sh
$(AM_V_GEN)src="$(srcdir)/atf-c++/pkg_config_test.sh"; \
dst="atf-c++/pkg_config_test"; $(BUILD_SH_TP)
tests_atf_c___PROGRAMS += atf-c++/tests_test
atf_c___tests_test_SOURCES = atf-c++/tests_test.cpp
atf_c___tests_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
tests_atf_c___PROGRAMS += atf-c++/utils_test
atf_c___utils_test_SOURCES = atf-c++/utils_test.cpp
atf_c___utils_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
include atf-c++/detail/Makefile.am.inc
# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8