3 ### Build script for testing
5 ### (c) 2024 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of Xyla, a library of binary trees.
12 ### Xyla is free software: you can redistribute it and/or modify it under
13 ### the terms of the GNU Lesser General Public License as published by the
14 ### Free Software Foundation; either version 3 of the License, or (at your
15 ### option) any later version.
17 ### Xyla is distributed in the hope that it will be useful, but WITHOUT
18 ### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ### FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
20 ### License for more details.
22 ### You should have received a copy of the GNU Lesser General Public
23 ### License along with Xyla. If not, see <https://www.gnu.org/licenses/>.
32 autotest_TESTS += ./tests.at
34 AM_CPPFLAGS = -I$(top_srcdir)
38 EXTRA_DIST += commontest.in
41 check_PROGRAMS += avltest
42 avltest_SOURCES = treetest.c
43 avltest_CFLAGS = $(AM_CFLAGS) -DTREE=AVL
44 EXTRA_DIST += avl-commontest.ref
45 EXTRA_DIST += avltest.in avl-avltest.ref
46 EXTRA_DIST += avlregress.in avl-avlregress.ref
49 check_PROGRAMS += rbtest
50 rbtest_SOURCES = treetest.c
51 rbtest_CFLAGS = $(AM_CFLAGS) -DTREE=RB
52 EXTRA_DIST += rb-commontest.ref
53 EXTRA_DIST += rbtest.in rb-rbtest.ref
54 EXTRA_DIST += rbregress.in rb-rbregress.ref
57 check_PROGRAMS += splaytest
58 splaytest_SOURCES = treetest.c
59 splaytest_CFLAGS = $(AM_CFLAGS) -DTREE=SPLAY
60 EXTRA_DIST += splay-commontest.ref
61 EXTRA_DIST += splaytest.in splay-splaytest.ref
64 check_PROGRAMS += treaptest
65 treaptest_SOURCES = treetest.c
66 treaptest_CFLAGS = $(AM_CFLAGS) -DTREE=TREAP
67 EXTRA_DIST += treap-commontest.ref
68 EXTRA_DIST += treaptest.in treap-treaptest.ref
71 noinst_PROGRAMS += example
72 example_SOURCES = example.c
73 EXTRA_DIST += example.in example.ref
76 ###----- That's all, folks --------------------------------------------------