@@@ fltfmt mess
[mLib] / test / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for testing
4 ###
5 ### (c) 2009 Straylight/Edgeware
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This file is part of the mLib utilities library.
11 ###
12 ### mLib is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU Library General Public License as
14 ### published by the Free Software Foundation; either version 2 of the
15 ### License, or (at your option) any later version.
16 ###
17 ### mLib is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU Library General Public License for more details.
21 ###
22 ### You should have received a copy of the GNU Library General Public
23 ### License along with mLib; if not, write to the Free
24 ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25 ### MA 02111-1307, USA.
26
27 include $(top_srcdir)/vars.am
28
29 noinst_LTLIBRARIES = libtest.la
30 libtest_la_SOURCES =
31
32 SUBDIRS =
33
34 ###--------------------------------------------------------------------------
35 ### Component files.
36
37 ## Benchmarking.
38 pkginclude_HEADERS += bench.h
39 libtest_la_SOURCES += bench.c
40 EXTRA_DIST += bench.3.in
41 LIBMANS += bench.3
42
43 ## Old `testrig' testing framework.
44 pkginclude_HEADERS += testrig.h
45 libtest_la_SOURCES += testrig.c
46 EXTRA_DIST += testrig.3.in
47 LIBMANS += testrig.3
48
49 ## New `tvec' testing framework.
50 pkginclude_HEADERS += tvec.h
51 pkginclude_HEADERS += tvec-adhoc.h
52 pkginclude_HEADERS += tvec-output.h
53 pkginclude_HEADERS += tvec-types.h
54 libtest_la_SOURCES += tvec-core.c
55 libtest_la_SOURCES += tvec-output.c
56 libtest_la_SOURCES += tvec-types.c
57 libtest_la_SOURCES += tvec-main.c
58 EXTRA_DIST += tvec.3.in
59 EXTRA_DIST += tvec-types.3.in
60 EXTRA_DIST += tvec-adhoc.3.in
61 EXTRA_DIST += tvec-main.3.in
62 EXTRA_DIST += tvec-env.3.in
63 EXTRA_DIST += tvec-tyimpl.3.in
64 EXTRA_DIST += tvec-output.3.in
65 LIBMANS += tvec.3
66 LIBMANS += tvec-adhoc.3
67 LIBMANS += tvec-env.3
68 LIBMANS += tvec-main.3
69 LIBMANS += tvec-output.3
70 LIBMANS += tvec-tyimpl.3
71 LIBMANS += tvec-types.3
72
73 pkginclude_HEADERS += tvec-bench.h
74 libtest_la_SOURCES += tvec-bench.c
75 EXTRA_DIST += tvec-bench.3.in
76 LIBMANS += tvec-bench.3
77
78 pkginclude_HEADERS += tvec-remote.h
79 libtest_la_SOURCES += tvec-remote.c
80 EXTRA_DIST += tvec-remote.3.in
81 LIBMANS += tvec-remote.3
82
83 pkginclude_HEADERS += tvec-timeout.h
84 libtest_la_SOURCES += tvec-timeout.c
85 EXTRA_DIST += tvec-timeout.3.in
86 LIBMANS += tvec-timeout.3
87
88 check_PROGRAMS += t/tvec.t
89 t_tvec_t_SOURCES = t/tvec-test.c
90 t_tvec_t_CPPFLAGS = $(TEST_CPPFLAGS)
91 t_tvec_t_LDFLAGS = -static
92
93 ###----- That's all, folks --------------------------------------------------