Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / unit / atf-src / atf-c++ / Makefile.am.inc
blob2d968026b391f5734a074634174590e8ad8962e6
2 # Automated Testing Framework (atf)
4 # Copyright (c) 2007 The NetBSD Foundation, Inc.
5 # All rights reserved.
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.
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.
30 ATF_CXX_LIBS = libatf-c++.la libatf-c.la
32 lib_LTLIBRARIES += libatf-c++.la
33 libatf_c___la_LIBADD = libatf-c.la
34 libatf_c___la_SOURCES = atf-c++/build.cpp \
35                         atf-c++/build.hpp \
36                         atf-c++/check.cpp \
37                         atf-c++/check.hpp \
38                         atf-c++/config.cpp \
39                         atf-c++/config.hpp \
40                         atf-c++/macros.hpp \
41                         atf-c++/noncopyable.hpp \
42                         atf-c++/tests.cpp \
43                         atf-c++/tests.hpp \
44                         atf-c++/utils.cpp \
45                         atf-c++/utils.hpp
46 libatf_c___la_LDFLAGS = -version-info 0:0:0
48 include_HEADERS += atf-c++.hpp
49 atf_c___HEADERS = atf-c++/build.hpp \
50                   atf-c++/check.hpp \
51                   atf-c++/config.hpp \
52                   atf-c++/macros.hpp \
53                   atf-c++/noncopyable.hpp \
54                   atf-c++/tests.hpp \
55                   atf-c++/utils.hpp
56 atf_c__dir = $(includedir)/atf-c++
58 dist_man_MANS += atf-c++/atf-c++-api.3
60 atf_aclocal_DATA += atf-c++/atf-c++.m4
61 EXTRA_DIST += atf-c++/atf-c++.m4
63 atf_c__dirpkgconfigdir = $(atf_pkgconfigdir)
64 atf_c__dirpkgconfig_DATA = atf-c++/atf-c++.pc
65 CLEANFILES += atf-c++/atf-c++.pc
66 EXTRA_DIST += atf-c++/atf-c++.pc.in
67 atf-c++/atf-c++.pc: $(srcdir)/atf-c++/atf-c++.pc.in Makefile
68         test -d atf-c++ || mkdir -p atf-c++
69         sed -e 's#__ATF_VERSION__#$(PACKAGE_VERSION)#g' \
70             -e 's#__CXX__#$(CXX)#g' \
71             -e 's#__INCLUDEDIR__#$(includedir)#g' \
72             -e 's#__LIBDIR__#$(libdir)#g' \
73             <$(srcdir)/atf-c++/atf-c++.pc.in >atf-c++/atf-c++.pc.tmp
74         mv atf-c++/atf-c++.pc.tmp atf-c++/atf-c++.pc
76 tests_atf_c___DATA = atf-c++/Atffile \
77                      atf-c++/Kyuafile \
78                      atf-c++/macros_hpp_test.cpp \
79                      atf-c++/unused_test.cpp
80 tests_atf_c__dir = $(pkgtestsdir)/atf-c++
81 EXTRA_DIST += $(tests_atf_c___DATA)
83 tests_atf_c___PROGRAMS = atf-c++/atf_c++_test
84 atf_c___atf_c___test_SOURCES = atf-c++/atf_c++_test.cpp
85 atf_c___atf_c___test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
86 tests_atf_c___PROGRAMS += atf-c++/build_test
87 atf_c___build_test_SOURCES = atf-c++/build_test.cpp atf-c/h_build.h
88 atf_c___build_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
89 tests_atf_c___PROGRAMS += atf-c++/check_test
90 atf_c___check_test_SOURCES = atf-c++/check_test.cpp
91 atf_c___check_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
92 tests_atf_c___PROGRAMS += atf-c++/config_test
93 atf_c___config_test_SOURCES = atf-c++/config_test.cpp
94 atf_c___config_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
95 tests_atf_c___PROGRAMS += atf-c++/macros_test
96 atf_c___macros_test_SOURCES = atf-c++/macros_test.cpp
97 atf_c___macros_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
98 tests_atf_c___SCRIPTS = atf-c++/pkg_config_test
99 CLEANFILES += atf-c++/pkg_config_test
100 EXTRA_DIST += atf-c++/pkg_config_test.sh
101 atf-c++/pkg_config_test: $(srcdir)/atf-c++/pkg_config_test.sh
102         test -d atf-c++ || mkdir -p atf-c++
103         @src="$(srcdir)/atf-c++/pkg_config_test.sh"; \
104         dst="atf-c++/pkg_config_test"; $(BUILD_SH_TP)
106 tests_atf_c___PROGRAMS += atf-c++/tests_test
107 atf_c___tests_test_SOURCES = atf-c++/tests_test.cpp
108 atf_c___tests_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
109 tests_atf_c___PROGRAMS += atf-c++/utils_test
110 atf_c___utils_test_SOURCES = atf-c++/utils_test.cpp
111 atf_c___utils_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS)
112 include atf-c++/detail/Makefile.am.inc
114 # vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8