@@@ fltfmt mess
[mLib] / test / Makefile.am
CommitLineData
18c831dc
MW
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
27include $(top_srcdir)/vars.am
28
29noinst_LTLIBRARIES = libtest.la
30libtest_la_SOURCES =
31
c4ccbbf9
MW
32SUBDIRS =
33
18c831dc
MW
34###--------------------------------------------------------------------------
35### Component files.
36
b64eb60f
MW
37## Benchmarking.
38pkginclude_HEADERS += bench.h
39libtest_la_SOURCES += bench.c
c4ccbbf9 40EXTRA_DIST += bench.3.in
d056fbdf 41LIBMANS += bench.3
b64eb60f
MW
42
43## Old `testrig' testing framework.
18c831dc
MW
44pkginclude_HEADERS += testrig.h
45libtest_la_SOURCES += testrig.c
c4ccbbf9 46EXTRA_DIST += testrig.3.in
18c831dc
MW
47LIBMANS += testrig.3
48
b64eb60f
MW
49## New `tvec' testing framework.
50pkginclude_HEADERS += tvec.h
b1a20bee
MW
51pkginclude_HEADERS += tvec-adhoc.h
52pkginclude_HEADERS += tvec-output.h
53pkginclude_HEADERS += tvec-types.h
b64eb60f
MW
54libtest_la_SOURCES += tvec-core.c
55libtest_la_SOURCES += tvec-output.c
56libtest_la_SOURCES += tvec-types.c
57libtest_la_SOURCES += tvec-main.c
c4ccbbf9
MW
58EXTRA_DIST += tvec.3.in
59EXTRA_DIST += tvec-types.3.in
60EXTRA_DIST += tvec-adhoc.3.in
61EXTRA_DIST += tvec-main.3.in
62EXTRA_DIST += tvec-env.3.in
63EXTRA_DIST += tvec-tyimpl.3.in
64EXTRA_DIST += tvec-output.3.in
d056fbdf 65LIBMANS += tvec.3
d056fbdf 66LIBMANS += tvec-adhoc.3
d056fbdf 67LIBMANS += tvec-env.3
b1a20bee 68LIBMANS += tvec-main.3
d056fbdf 69LIBMANS += tvec-output.3
b1a20bee
MW
70LIBMANS += tvec-tyimpl.3
71LIBMANS += tvec-types.3
b64eb60f 72
b1a20bee 73pkginclude_HEADERS += tvec-bench.h
c91413e6 74libtest_la_SOURCES += tvec-bench.c
c4ccbbf9 75EXTRA_DIST += tvec-bench.3.in
d056fbdf
MW
76LIBMANS += tvec-bench.3
77
b1a20bee 78pkginclude_HEADERS += tvec-remote.h
c91413e6 79libtest_la_SOURCES += tvec-remote.c
c4ccbbf9 80EXTRA_DIST += tvec-remote.3.in
d056fbdf
MW
81LIBMANS += tvec-remote.3
82
b1a20bee 83pkginclude_HEADERS += tvec-timeout.h
31d0247c 84libtest_la_SOURCES += tvec-timeout.c
c4ccbbf9 85EXTRA_DIST += tvec-timeout.3.in
d056fbdf 86LIBMANS += tvec-timeout.3
c91413e6 87
b64eb60f
MW
88check_PROGRAMS += t/tvec.t
89t_tvec_t_SOURCES = t/tvec-test.c
90t_tvec_t_CPPFLAGS = $(TEST_CPPFLAGS)
91t_tvec_t_LDFLAGS = -static
92
18c831dc 93###----- That's all, folks --------------------------------------------------