1#
2# Automated Testing Framework (atf)
3#
4# Copyright (c) 2007 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
30libatf_c_la_SOURCES += atf-c/detail/dynstr.c \
31                       atf-c/detail/dynstr.h \
32                       atf-c/detail/env.c \
33                       atf-c/detail/env.h \
34                       atf-c/detail/fs.c \
35                       atf-c/detail/fs.h \
36                       atf-c/detail/list.c \
37                       atf-c/detail/list.h \
38                       atf-c/detail/map.c \
39                       atf-c/detail/map.h \
40                       atf-c/detail/process.c \
41                       atf-c/detail/process.h \
42                       atf-c/detail/sanity.c \
43                       atf-c/detail/sanity.h \
44                       atf-c/detail/text.c \
45                       atf-c/detail/text.h \
46                       atf-c/detail/tp_main.c \
47                       atf-c/detail/user.c \
48                       atf-c/detail/user.h
49
50tests_atf_c_detail_DATA = atf-c/detail/Atffile \
51                          atf-c/detail/Kyuafile
52tests_atf_c_detaildir = $(pkgtestsdir)/atf-c/detail
53EXTRA_DIST += $(tests_atf_c_detail_DATA)
54
55noinst_LTLIBRARIES += atf-c/detail/libtest_helpers.la
56atf_c_detail_libtest_helpers_la_SOURCES = atf-c/detail/test_helpers.c \
57                                          atf-c/detail/test_helpers.h
58atf_c_detail_libtest_helpers_la_CPPFLAGS = -I$(srcdir)/atf-c
59
60tests_atf_c_detail_PROGRAMS = atf-c/detail/dynstr_test
61atf_c_detail_dynstr_test_SOURCES = atf-c/detail/dynstr_test.c
62atf_c_detail_dynstr_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
63
64tests_atf_c_detail_PROGRAMS += atf-c/detail/env_test
65atf_c_detail_env_test_SOURCES = atf-c/detail/env_test.c
66atf_c_detail_env_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
67
68tests_atf_c_detail_PROGRAMS += atf-c/detail/fs_test
69atf_c_detail_fs_test_SOURCES = atf-c/detail/fs_test.c
70atf_c_detail_fs_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
71
72tests_atf_c_detail_PROGRAMS += atf-c/detail/list_test
73atf_c_detail_list_test_SOURCES = atf-c/detail/list_test.c
74atf_c_detail_list_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
75
76tests_atf_c_detail_PROGRAMS += atf-c/detail/map_test
77atf_c_detail_map_test_SOURCES = atf-c/detail/map_test.c
78atf_c_detail_map_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
79
80tests_atf_c_detail_PROGRAMS += atf-c/detail/process_helpers
81atf_c_detail_process_helpers_SOURCES = atf-c/detail/process_helpers.c
82
83tests_atf_c_detail_PROGRAMS += atf-c/detail/process_test
84atf_c_detail_process_test_SOURCES = atf-c/detail/process_test.c
85atf_c_detail_process_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
86
87tests_atf_c_detail_PROGRAMS += atf-c/detail/sanity_test
88atf_c_detail_sanity_test_SOURCES = atf-c/detail/sanity_test.c
89atf_c_detail_sanity_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
90
91tests_atf_c_detail_PROGRAMS += atf-c/detail/text_test
92atf_c_detail_text_test_SOURCES = atf-c/detail/text_test.c
93atf_c_detail_text_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
94
95tests_atf_c_detail_PROGRAMS += atf-c/detail/user_test
96atf_c_detail_user_test_SOURCES = atf-c/detail/user_test.c
97atf_c_detail_user_test_LDADD = atf-c/detail/libtest_helpers.la libatf-c.la
98
99# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8
100