1# 2# Automated Testing Framework (atf) 3# 4# Copyright (c) 2007, 2008, 2009, 2010 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions 9# are met: 10# 1. Redistributions of source code must retain the above copyright 11# notice, this list of conditions and the following disclaimer. 12# 2. Redistributions in binary form must reproduce the above copyright 13# notice, this list of conditions and the following disclaimer in the 14# documentation and/or other materials provided with the distribution. 15# 16# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND 17# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 18# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY 21# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 23# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28# 29 30lib_LTLIBRARIES += libatf-c++.la 31libatf_c___la_LIBADD = libatf-c.la 32libatf_c___la_SOURCES = atf-c++/build.cpp \ 33 atf-c++/build.hpp \ 34 atf-c++/check.cpp \ 35 atf-c++/check.hpp \ 36 atf-c++/config.cpp \ 37 atf-c++/config.hpp \ 38 atf-c++/macros.hpp \ 39 atf-c++/tests.cpp \ 40 atf-c++/tests.hpp \ 41 atf-c++/utils.hpp 42 43include_HEADERS += atf-c++.hpp 44atf_c___HEADERS = atf-c++/build.hpp \ 45 atf-c++/check.hpp \ 46 atf-c++/config.hpp \ 47 atf-c++/macros.hpp \ 48 atf-c++/tests.hpp \ 49 atf-c++/utils.hpp 50atf_c__dir = $(includedir)/atf-c++ 51 52dist_man_MANS += atf-c++/atf-c++-api.3 53 54atf_c__dirpkgconfigdir = $(atf_pkgconfigdir) 55atf_c__dirpkgconfig_DATA = atf-c++/atf-c++.pc 56CLEANFILES += atf-c++/atf-c++.pc 57EXTRA_DIST += atf-c++/atf-c++.pc.in 58atf-c++/atf-c++.pc: $(srcdir)/atf-c++/atf-c++.pc.in 59 test -d atf-c++ || mkdir -p atf-c++ 60 sed -e 's,__ATF_VERSION__,@PACKAGE_VERSION@,g' \ 61 -e 's,__CXX__,$(CXX),g' \ 62 -e 's,__INCLUDEDIR__,$(includedir),g' \ 63 -e 's,__LIBDIR__,$(libdir),g' \ 64 <$(srcdir)/atf-c++/atf-c++.pc.in >atf-c++/atf-c++.pc.tmp 65 mv atf-c++/atf-c++.pc.tmp atf-c++/atf-c++.pc 66 67tests_atf_c___DATA = atf-c++/Atffile \ 68 atf-c++/macros_hpp_test.cpp 69tests_atf_c__dir = $(pkgtestsdir)/atf-c++ 70EXTRA_DIST += $(tests_atf_c___DATA) 71 72tests_atf_c___PROGRAMS = atf-c++/atf_c++_test 73atf_c___atf_c___test_SOURCES = atf-c++/atf_c++_test.cpp 74atf_c___atf_c___test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 75 76tests_atf_c___PROGRAMS += atf-c++/build_test 77atf_c___build_test_SOURCES = atf-c++/build_test.cpp atf-c/h_build.h 78atf_c___build_test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 79 80tests_atf_c___PROGRAMS += atf-c++/check_test 81atf_c___check_test_SOURCES = atf-c++/check_test.cpp 82atf_c___check_test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 83 84tests_atf_c___PROGRAMS += atf-c++/config_test 85atf_c___config_test_SOURCES = atf-c++/config_test.cpp 86atf_c___config_test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 87 88tests_atf_c___PROGRAMS += atf-c++/macros_test 89atf_c___macros_test_SOURCES = atf-c++/macros_test.cpp 90atf_c___macros_test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 91 92tests_atf_c___SCRIPTS = atf-c++/pkg_config_test 93CLEANFILES += atf-c++/pkg_config_test 94EXTRA_DIST += atf-c++/pkg_config_test.sh 95atf-c++/pkg_config_test: $(srcdir)/atf-c++/pkg_config_test.sh 96 test -d atf-c++ || mkdir -p atf-c++ 97 @src="$(srcdir)/atf-c++/pkg_config_test.sh"; \ 98 dst="atf-c++/pkg_config_test"; $(BUILD_SH_TP) 99 100tests_atf_c___PROGRAMS += atf-c++/tests_test 101atf_c___tests_test_SOURCES = atf-c++/tests_test.cpp 102atf_c___tests_test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 103 104tests_atf_c___PROGRAMS += atf-c++/utils_test 105atf_c___utils_test_SOURCES = atf-c++/utils_test.cpp 106atf_c___utils_test_LDADD = atf-c++/detail/libtest_helpers.la libatf-c++.la 107 108include atf-c++/detail/Makefile.am.inc 109 110# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8 111