Commit | Line | Data |
---|---|---|
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 | ||
27 | include $(top_srcdir)/vars.am | |
28 | ||
29 | noinst_LTLIBRARIES = libtest.la | |
30 | libtest_la_SOURCES = | |
31 | ||
32 | ###-------------------------------------------------------------------------- | |
33 | ### Component files. | |
34 | ||
b64eb60f MW |
35 | ## Benchmarking. |
36 | pkginclude_HEADERS += bench.h | |
37 | libtest_la_SOURCES += bench.c | |
d056fbdf | 38 | LIBMANS += bench.3 |
b64eb60f MW |
39 | |
40 | ## Old `testrig' testing framework. | |
18c831dc MW |
41 | pkginclude_HEADERS += testrig.h |
42 | libtest_la_SOURCES += testrig.c | |
43 | LIBMANS += testrig.3 | |
44 | ||
b64eb60f MW |
45 | ## New `tvec' testing framework. |
46 | pkginclude_HEADERS += tvec.h | |
47 | libtest_la_SOURCES += tvec-core.c | |
48 | libtest_la_SOURCES += tvec-output.c | |
49 | libtest_la_SOURCES += tvec-types.c | |
50 | libtest_la_SOURCES += tvec-main.c | |
d056fbdf MW |
51 | LIBMANS += tvec.3 |
52 | LIBMANS += tvec-types.3 | |
53 | LIBMANS += tvec-adhoc.3 | |
54 | LIBMANS += tvec-main.3 | |
55 | LIBMANS += tvec-env.3 | |
56 | LIBMANS += tvec-tyimpl.3 | |
57 | LIBMANS += tvec-output.3 | |
b64eb60f | 58 | |
c91413e6 | 59 | libtest_la_SOURCES += tvec-bench.c |
d056fbdf MW |
60 | LIBMANS += tvec-bench.3 |
61 | ||
c91413e6 | 62 | libtest_la_SOURCES += tvec-remote.c |
d056fbdf MW |
63 | LIBMANS += tvec-remote.3 |
64 | ||
31d0247c | 65 | libtest_la_SOURCES += tvec-timeout.c |
d056fbdf | 66 | LIBMANS += tvec-timeout.3 |
c91413e6 | 67 | |
b64eb60f MW |
68 | check_PROGRAMS += t/tvec.t |
69 | t_tvec_t_SOURCES = t/tvec-test.c | |
70 | t_tvec_t_CPPFLAGS = $(TEST_CPPFLAGS) | |
71 | t_tvec_t_LDFLAGS = -static | |
72 | ||
18c831dc | 73 | ###----- That's all, folks -------------------------------------------------- |