1# Copyright (c) 2007 The NetBSD Foundation, Inc.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions
6# are met:
7# 1. Redistributions of source code must retain the above copyright
8#    notice, this list of conditions and the following disclaimer.
9# 2. Redistributions in binary form must reproduce the above copyright
10#    notice, this list of conditions and the following disclaimer in the
11#    documentation and/or other materials provided with the distribution.
12#
13# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
14# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
15# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
16# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
18# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
20# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
22# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
24# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
26libatf_c_la_SOURCES += atf-c/detail/dynstr.c \
27                       atf-c/detail/dynstr.h \
28                       atf-c/detail/env.c \
29                       atf-c/detail/env.h \
30                       atf-c/detail/fs.c \
31                       atf-c/detail/fs.h \
32                       atf-c/detail/list.c \
33                       atf-c/detail/list.h \
34                       atf-c/detail/map.c \
35                       atf-c/detail/map.h \
36                       atf-c/detail/process.c \
37                       atf-c/detail/process.h \
38                       atf-c/detail/sanity.c \
39                       atf-c/detail/sanity.h \
40                       atf-c/detail/text.c \
41                       atf-c/detail/text.h \
42                       atf-c/detail/tp_main.c \
43                       atf-c/detail/user.c \
44                       atf-c/detail/user.h
45
46tests_atf_c_detail_DATA = atf-c/detail/Kyuafile
47tests_atf_c_detaildir = $(pkgtestsdir)/atf-c/detail
48EXTRA_DIST += $(tests_atf_c_detail_DATA)
49
50noinst_LTLIBRARIES += atf-c/detail/libtest_helpers.la
51atf_c_detail_libtest_helpers_la_SOURCES = atf-c/detail/test_helpers.c \
52                                          atf-c/detail/test_helpers.h
53atf_c_detail_libtest_helpers_la_CPPFLAGS = -I$(srcdir)/atf-c \
54                                           -DATF_INCLUDEDIR=\"$(includedir)\"
55
56tests_atf_c_detail_PROGRAMS = atf-c/detail/dynstr_test
57atf_c_detail_dynstr_test_SOURCES = atf-c/detail/dynstr_test.c
58atf_c_detail_dynstr_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
59
60tests_atf_c_detail_PROGRAMS += atf-c/detail/env_test
61atf_c_detail_env_test_SOURCES = atf-c/detail/env_test.c
62atf_c_detail_env_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
63
64tests_atf_c_detail_PROGRAMS += atf-c/detail/fs_test
65atf_c_detail_fs_test_SOURCES = atf-c/detail/fs_test.c
66atf_c_detail_fs_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
67
68tests_atf_c_detail_PROGRAMS += atf-c/detail/list_test
69atf_c_detail_list_test_SOURCES = atf-c/detail/list_test.c
70atf_c_detail_list_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
71
72tests_atf_c_detail_PROGRAMS += atf-c/detail/map_test
73atf_c_detail_map_test_SOURCES = atf-c/detail/map_test.c
74atf_c_detail_map_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
75
76tests_atf_c_detail_PROGRAMS += atf-c/detail/process_helpers
77atf_c_detail_process_helpers_SOURCES = atf-c/detail/process_helpers.c
78
79tests_atf_c_detail_PROGRAMS += atf-c/detail/process_test
80atf_c_detail_process_test_SOURCES = atf-c/detail/process_test.c
81atf_c_detail_process_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
82
83tests_atf_c_detail_PROGRAMS += atf-c/detail/sanity_test
84atf_c_detail_sanity_test_SOURCES = atf-c/detail/sanity_test.c
85atf_c_detail_sanity_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
86
87tests_atf_c_detail_PROGRAMS += atf-c/detail/text_test
88atf_c_detail_text_test_SOURCES = atf-c/detail/text_test.c
89atf_c_detail_text_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
90
91tests_atf_c_detail_PROGRAMS += atf-c/detail/user_test
92atf_c_detail_user_test_SOURCES = atf-c/detail/user_test.c
93atf_c_detail_user_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
94
95tests_atf_c_detail_PROGRAMS += atf-c/detail/version_helper
96atf_c_detail_version_helper_SOURCES = atf-c/detail/version_helper.c
97
98# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8
99